Bug 448658 - Cannot move mouse into semantic analysis popup at end-of-line when the window is too small
Summary: Cannot move mouse into semantic analysis popup at end-of-line when the window...
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 5.6.2
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-17 15:39 UTC by Brendon Higgins
Modified: 2022-01-17 15:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
buggy (35.35 KB, image/png)
2022-01-17 15:39 UTC, Brendon Higgins
Details
fine1 - popup naturally to left of window edge (47.08 KB, image/png)
2022-01-17 15:41 UTC, Brendon Higgins
Details
fine2 - popup over text before end-of-line, but shifted to stay within window (49.90 KB, image/png)
2022-01-17 15:41 UTC, Brendon Higgins
Details
fine3 - popup over past-end-of-line but window wide enough for natural position (28.61 KB, image/png)
2022-01-17 15:42 UTC, Brendon Higgins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brendon Higgins 2022-01-17 15:39:35 UTC
Created attachment 145586 [details]
buggy

SUMMARY
Sometimes a semantic analysis note/action/highlight will appear at the end of a line of code. For example, edit a function declaration and an "Adapt Signature" highlight will appear at the end of the line. If you hover over the line, a popup will appear - in this example, it will have a clickable link to apply the action. I'm finding that if you hover over the highlighted part that starts at the text's end-of-line, and the KDevelop window is small enough that the popup has to shift to the left, then moving the mouse immediately resets the popup - making it impossible to click anything in the popup.

This only seems to happen for the past-end-of-line highlight part and only when the popup has to shift to stay within the KDevelop window bound - all other cases (hover over the text, or window is wider) seem to keep the popup open when the mouse is moved, allowing the user to click any links therein.

I attach some images that hopefully illustrate the issue. In particular, compare fine3 (wider window) with buggy (narrower window). In the former the popup stays with ample time to move the mouse into it for clicking any links, while in the latter, the popup disappears as soon as the mouse moves.

Peace,
Brendon
Comment 1 Brendon Higgins 2022-01-17 15:41:06 UTC
Created attachment 145587 [details]
fine1 - popup naturally to left of window edge
Comment 2 Brendon Higgins 2022-01-17 15:41:59 UTC
Created attachment 145588 [details]
fine2 - popup over text before end-of-line, but shifted to stay within window
Comment 3 Brendon Higgins 2022-01-17 15:42:47 UTC
Created attachment 145589 [details]
fine3 - popup over past-end-of-line but window wide enough for natural position