Bug Hunting Session
Bug 105187 - warn user that renaming an object (e.g. a linked image) will break the hyperlink
Summary: warn user that renaming an object (e.g. a linked image) will break the hyperlink
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2017-01-08 14:03 UTC by Telesto
Modified: 2017-01-15 11:01 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (10.86 KB, application/vnd.oasis.opendocument.text)
2017-01-08 14:04 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2017-01-08 14:03:34 UTC
Description:
Insert hyperlinks tend to break, if the image gets renamed



Steps to Reproduce:
1.Open attached file
2.Go to sidebar -> Navigator 
3. Expand images -> Right Click -> Click Rename
4. Rename it to something different
5.Try to use the link

Actual Results:  
Hyperlink will be broken after renaming an image

Expected Results:
Quite hard to tell. Multi options:
1. Most ideal a dynamic update of all hyperlinks (seems quite complex)
2. Hyperlinks which aren't depending on image naming
3. A warning before renaming a linked object



Reproducible: Always

User Profile Reset: No

Additional Info:
Version: 5.4.0.0.alpha0+
Build ID: 92a1ad1f36b6d3cc13135a8c0805508933011577
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-01-06_23:42:59
Locale: nl-NL (nl_NL); Calc: CL


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Comment 1 Telesto 2017-01-08 14:04:43 UTC
Created attachment 130257 [details]
Example file
Comment 2 V Stuart Foote 2017-01-08 15:51:09 UTC
Sorry, but this seems correct. 

If you rename the image object--the link still points to the old name.

And note that the actual link object can also be edited, both its Text--but also its target.

The pair of target and link have to be adjusted together--again that seems correct.

Should the user be warned? Maybe... but how much nagging is appropriate?

Otherwise this is not a bug -> Enhancement
Comment 3 Cor Nouws 2017-01-08 20:46:15 UTC
(In reply to V Stuart Foote from comment #2)

> Should the user be warned? Maybe... but how much nagging is appropriate?

Yeah.. :)
If we nag, please only if there are links to the objects in use. And that will prolly disqualify this as an easy hack.
Comment 4 Heiko Tietze 2017-01-08 21:14:15 UTC
The confirmation dialog interrupts the workflow, so would an infobar be too much? I think so. The message has to progressively disappear, at best in a callout.
Comment 5 Heiko Tietze 2017-01-15 11:01:24 UTC Comment hidden (no-value)