Bug 491351 - Auto-completion position in multi-screen is broken
Summary: Auto-completion position in multi-screen is broken
Status: REPORTED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.115.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-06 13:29 UTC by Jonathan Poelen
Modified: 2024-08-21 15:49 UTC (History)
1 user (show)

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


Attachments
auto-completion is on the right screen rather than under the cursor (left) (5.67 KB, image/png)
2024-08-06 13:29 UTC, Jonathan Poelen
Details
auto-completion is outside the app (starts on a third screen) (28.36 KB, image/png)
2024-08-06 13:31 UTC, Jonathan Poelen
Details
video with 2 screens (259.95 KB, video/mp4)
2024-08-21 15:49 UTC, Jonathan Poelen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Poelen 2024-08-06 13:29:40 UTC
Created attachment 172341 [details]
auto-completion is on the right screen rather than under the cursor (left)

SUMMARY

When the application (eg: kate or kdevelop) is opened on several screens, the auto-completion may be displayed on the wrong screen. Command auto-completion (F7) goes to a 3rd unused screen (and in my case below, because it is lower)

STEPS TO REPRODUCE
1. Open application on several screen
2. split view, 1 per screen
3. start auto-completion (ctrl+space) for each view

OBSERVED RESULT

The auto-completion list is always displayed on the same screen.

EXPECTED RESULT

The auto-completion list displayed below the cursor.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kunbuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION

Screen with Kate Version 23.08.5 (same with kdevelop)
Comment 1 Jonathan Poelen 2024-08-06 13:31:38 UTC
Created attachment 172342 [details]
auto-completion is outside the app (starts on a third screen)
Comment 2 Waqar Ahmed 2024-08-12 18:18:11 UTC
I have 1 external screen attached to my laptop. Since the steps to reproduce are a bit confusing I tried a couple of ways. Wasn't able to reproduce this by:

- Having 2 windows (of the same kate instance open)
- Stretching one window across 2 screens.

Maybe need more screens to reproduce this.
Comment 3 Jonathan Poelen 2024-08-21 15:49:12 UTC
Created attachment 172821 [details]
video with 2 screens