Bug 513126 - Space between screens when connecting a previously plugged screen: can't move mouse to the other monitor
Summary: Space between screens when connecting a previously plugged screen: can't move...
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (other bugs)
Version First Reported In: 6.5.3
Platform: NixOS Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2025-12-09 15:39 UTC by Tobias Bora
Modified: 2025-12-26 19:08 UTC (History)
2 users (show)

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


Attachments
attachment-813629-0.html (168 bytes, text/html)
2025-12-25 13:16 UTC, Tobias Bora
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Bora 2025-12-09 15:39:51 UTC
SUMMARY

When I plug on my laptop a screen that I already plugged in the past (like right now I plugged my screen, I unplug it, went away (sleep mode), woke up and plugged again), there is sometimes a gap between the two screens in geometry (the coordinates of one screen do not start where the coordinates of the previous screen end). This is really annoying since the mouse cannot move between the two screens, except if I move it really quickly (I guess if the speed is high enough, the coordinate after the next refresh is on the next screen instead of between the two screens). If I go to the screen settings, I've an error message saying that it is not allowed to have space between the two screens, and I can manually edit that… but it is really annoying since often the mouse is trapped on a screen with no access to the configuration, and changing the config with the keyboard is close to impossible! Also, I don't understand why it does not just pick the same position as before…

STEPS TO REPRODUCE

This is not 100% reproducible, but here is what I basically do when this happens:

1. Plug a screen to a laptop. Configure it so that the screen is, e.g., left to internal screen.
2. Unplug it, go to sleep mode (not sure if needed), and plug again.


OBSERVED RESULT

See that sometimes you get an extra space between the two monitors that forbid the mouse from traveling between screens.

EXPECTED RESULT

No space, mouse should just move freely between screens.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: NixOS 25.11
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-12-09 20:27:43 UTC
Did you by any chance adjust any of the screens scale factors? If so, this could be Bug 479952.
Comment 2 Nate Graham 2025-12-09 21:00:36 UTC
Or it could be 507702.

So additionally, can you paste the output of running `kscreen-doctor -o` when this happens?
Comment 3 Tobias Bora 2025-12-09 21:28:40 UTC
Thanks. No, I never played with scale factor. Will try your command when it occurs again.
Comment 4 Bug Janitor Service 2025-12-24 03:46:36 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Tobias Bora 2025-12-25 13:16:06 UTC
Created attachment 187966 [details]
attachment-813629-0.html

I got this issue again but I was in rush so I couldn't run the command- but still interested to fix this