Created attachment 166343 [details]
Steps to reproduce:
1. Open attached document
2. Right click on the link
3. Edit Hyperlink
-> Nothing happens
Build ID: a9976a958b2857e308c6598532151878615bfd9f
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Build ID: fc1b213d157afa57704cec5a0fb65ae8c11d7822
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3;
Locale: en-US (en_US.UTF-8); UI-Language: en-US
@Caolán, I thought you might be interested in this issue
It seems there's a two step attempt to see if a hyperlink field is being acted on when the "open hyperlink" is dispatched from the menu.
If you right click on the left side the hyperlink is considered selected, if you right click on the right side it isn't.
In the case of originally clicking on the right side, then at the dispatch time it checks if the mouse is over a hyperlink as a fallback In both gtk and gen this is not actually true, because the mouse is now elsewhere, but the last seen mouse position under gen is the one it saw back on the original right click and it "works"
It more common on gtk3 than gen, but it can happen there too. I have something which seems reliable to solve this
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":
Resolves: tdf#137445 use the DisableEditHyperlink state as of menu launch time
It will be available in 7.1.0.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.