Bug 501089

Summary: Cursor is not in the exact center of the screen after automatic login
Product: [Plasma] kwin Reporter: pallaswept <pallaswept>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: hein, ilikefoss, kde, nate
Priority: VLO    
Version First Reported In: 6.3.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://discuss.kde.org/t/cursor-not-centred-at-login-since-6-3/
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description pallaswept 2025-03-05 08:42:26 UTC
SUMMARY

When I log into my PC, normally, the cursor is sitting at the centre of the primary display. Since 6.3, I noiced that the cursor is slightly off centre to the right.

I posted about this on the discuss forum, and another user had noticed the same, but offset to the left.

It seems the initial position of the cursor is offset in the direction of the second display?

STEPS TO REPRODUCE
1. Have two displays
2. Login
3. Observe cursor position before touching the mouse

OBSERVED RESULT
Cursor is off-centre in the direction of the secondary display

EXPECTED RESULT
Cursor is centred

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Operating System: openSUSE Tumbleweed 20250303
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Graphics Platform: Wayland
Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2

ADDITIONAL INFORMATION

This seems to just be cosmetic but I don't know the inner workings so perhaps it's important, so just letting you know.
Wasn't sure which component this should be filed against, either, feel free to move as appropriate.
Comment 1 John 2025-03-05 08:53:23 UTC
I haven't looked as use automatic login by default, but my preference would be that the the mouse cursor is by default on the button that you need to press to verify // accept the password entered (in case you didn't know or wanted to just press Enter after inserting the password.
But I guess being at the center at the screen to be more visible would be ok too.
I can move it myself over that button if I needed, even though it will take a bit of my time.
Comment 2 pallaswept 2025-03-05 08:55:44 UTC
(In reply to John from comment #1)
> I haven't looked as use automatic login by default

Sorry, that's probably an important detail I have left out, I also use automatic login. I actually don't know how this behaves with manual login.

So basically, if I reboot right now and then take my hands off, I'm going to be looking at my desktop in 30 seconds, and the cursor won't be in the middle like normal.
Comment 3 Xerusion 2025-03-07 10:43:08 UTC
(In reply to pallaswept from comment #2)
> (In reply to John from comment #1)
> > I haven't looked as use automatic login by default
> 
> Sorry, that's probably an important detail I have left out, I also use
> automatic login. I actually don't know how this behaves with manual login.
> 
> So basically, if I reboot right now and then take my hands off, I'm going to
> be looking at my desktop in 30 seconds, and the cursor won't be in the
> middle like normal.

I don't use automatic login and it also happens, I'm also on tumbleweed