Bug 86873 - Edit hyperlink by selecting it from right to left causes text to be blank in dialog
Summary: Edit hyperlink by selecting it from right to left causes text to be blank in ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-30 12:08 UTC by pal1000
Modified: 2015-01-22 08:11 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Screenshot of issue in action (69.03 KB, text/plain)
2014-11-30 12:08 UTC, pal1000
Details
Sample document to easy reproduce the issue (8.92 KB, application/vnd.oasis.opendocument.text)
2014-11-30 12:09 UTC, pal1000
Details

Description pal1000 2014-11-30 12:08:28 UTC
Created attachment 110262 [details]
Screenshot of issue in action

If you create a hyperlink with a single character label, if you select text from right to left it will cause text field to be empty in Edit Hyperlink interface. It works as expected if selected from left to right.
After editing the link if you don't manually restore the text, hyperlink editor will automatically replace the text / label of hyperlink with the link itself. Exactly what happens when no text/label is supplied to a freshly created hyperlink.
Attached a screenshot of issue and a sample document.
Comment 1 pal1000 2014-11-30 12:09:37 UTC
Created attachment 110263 [details]
Sample document to easy reproduce the issue
Comment 2 Jay Philips 2014-11-30 15:06:55 UTC
Hello Alex,

Thank you for submitting the bug. I can confirm that the bug is available in 3.3.0 and master on Linux.

I can confirm that this happens with a single character or multiple characters in the text of the hyperlink. The main issue is that right to left selection to the beginning of the text is causing the problem.

Version: 4.5.0.0.alpha0+
Build ID: 8bc56801af0540c0496c1f8ddd335578a8791017
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-11-28_23:01:06
Comment 3 zwerk 2015-01-22 08:11:43 UTC
I have basically the same problem when selecting a hyperlink from right to left, although it occurs only when you start dragging in a very pixel-precise small area exactly on the right.

But in my case the problem is more destructive: if you only want to select a hyperlink (for copying) and this problem occurs, the link and its text completely disappear from the document.
It can be undone with an Undo, which suggests that under the hood a different or an extra command is executed other than simply selecting.

Windows 7 64-bit
LibreOffice (Writer) 4.3.5.2


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.