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
Hyperlink will be broken after renaming an image
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
User Profile Reset: No
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
Created attachment 130257 [details]
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
(In reply to V Stuart Foote from comment #2)
> Should the user be warned? Maybe... but how much nagging is appropriate?
If we nag, please only if there are links to the objects in use. And that will prolly disqualify this as an easy hack.
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.
Will put this onto the agenda for the next design meeting.
So much time without any discussion neither a decision. So let's just introduce another state for hyperlinks when the target is not reachable (likely restricted to internal objects). It's known from Wikipedia as red link https://en.wikipedia.org/wiki/Help:Link_color
Jim, something for you?
(In reply to Heiko Tietze from comment #6)
> So much time without any discussion neither a decision. So let's just
> introduce another state for hyperlinks when the target is not reachable
> (likely restricted to internal objects). It's known from Wikipedia as red
> link https://en.wikipedia.org/wiki/Help:Link_color
> Jim, something for you?
Looking around in the area of the code that does the 'Internet Link' and 'Visited Internet Link' character style assignment, this doesn't look like an easy hack to add a 'Broken Internet Link' state. Adding a character style for this doesn't look difficult. Keeping track of if the link is good or broke is the challenge.