Bug 368226

Summary: KRunner and the application launcher show on the secondary screen
Product: [Plasma] plasmashell Reporter: Dan Dascalescu <ddascalescu+kde>
Component: generic-multiscreenAssignee: Aleix Pol <aleixpol>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ddascalescu+kde, germano.massullo, plasma-bugs, vnik0
Priority: NOR    
Version: 5.6.5   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Application Launcher appears on the secondary monitor
Krunner appears on the secondary screen
wrong Application Launcher position
fine Application Launcher position on other monitor
my monitor settings

Description Dan Dascalescu 2016-09-04 03:23:41 UTC
When I press Alt+Space, I expect Krunner to display on my primary monitor; especially if that screen has received user input. Same for pressing the Super key (I've installed ksuperkey) - I expect the launcher to appear on the primary monitor.

Reproducible: Always

Steps to Reproduce:
1. Connect laptop to external monitor.
2. In Display Configuration, ensure that HDMI1 is the primary display
3. Disconnect the laptop and go work at a coffee shop for a while.
4. Connect the laptop again to the same monitor.
5. Press Alt+Space and type something
6. Press the Super key

Actual Results:  
Krunner's input box appears at (0, 0) on the secondary monitor, and the Application Launcher appears at (MAX_X, 0) on the secondary monitor.

Expected Results:  
Krunner should appear in the top center of the primary display, and the launcher in the bottom left.
Comment 1 Dan Dascalescu 2016-09-04 03:28:32 UTC
Created attachment 100920 [details]
Application Launcher appears on the secondary monitor
Comment 2 Dan Dascalescu 2016-09-04 03:29:07 UTC
Created attachment 100921 [details]
Krunner appears on the secondary screen
Comment 3 vnik0 2016-10-12 07:12:30 UTC
I have almost the same behavior:
1) KRunner only appears (but on proper place) if it's run from main monitor (laptop's), it doesn't appear if currently active is the external monitor
2) Application Launcher shows up in the middle of the screen instead of being next to the button. This time on external monitor it appears properly
Comment 4 vnik0 2016-10-12 07:25:05 UTC
Created attachment 101530 [details]
wrong Application Launcher position
Comment 5 vnik0 2016-10-12 07:27:00 UTC
Created attachment 101531 [details]
fine Application Launcher position on other monitor
Comment 6 vnik0 2016-10-12 07:28:33 UTC
Created attachment 101532 [details]
my monitor settings
Comment 7 vnik0 2016-10-12 07:30:55 UTC
what is interesting, is that selecting the other monitor as main solves makes them behave vice versa.    I don't know how, but after playing with it many times, it is possible to put things right.
But this problem preserves after each reboot.
Comment 8 Dan Dascalescu 2016-10-13 09:23:21 UTC
@vnik0: do things work well if your primary monitor is on the left in the display settings?

Ubuntu/Unity has the same bug - if the primary monitor is to the right of the secondary monitor, windows are mis-placed - they open on the wrong screen.
Comment 9 vnik0 2016-10-14 16:12:32 UTC
(In reply to Dan Dascalescu from comment #8)
> @vnik0: do things work well if your primary monitor is on the left in the
> display settings?
> 
> Ubuntu/Unity has the same bug - if the primary monitor is to the right of
> the secondary monitor, windows are mis-placed - they open on the wrong
> screen.

yes, it is on the left indeed. Which windows are mis-placed exactly? Cuz App Launcher was broken even if I tried primary monitor on the right.
Comment 10 Germano Massullo 2019-10-04 20:30:02 UTC
Is this bug still happening on newer Plasma versions?
Comment 11 Bug Janitor Service 2019-10-19 04:33:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 12 Bug Janitor Service 2019-11-03 04:33:12 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!