101
submitted 1 year ago* (last edited 1 year ago) by moonpiedumplings@programming.dev to c/linux@programming.dev

I find this hilarious. Is this an easter egg? When shaking my mouse cursor, I can get it to take up the whole screens height.

This is KDE Plasma 6.

you are viewing a single comment's thread
view the rest of the comments
[-] Rhaedas@fedia.io 5 points 1 year ago

Can't tell if lazy programming or just figuring it will fix itself. In theory there would be a point of overflow maybe? Well, I guess that also fixes itself.

[-] TimeWalker@lemmy.foxden.party 13 points 1 year ago

It's by design as mentioned in this bug report.

There is a hidden config to cap the over magnification on shake

[Effect-shakecursor]
OverMagnification=0

I assume the KDE implementation resizes to default when you stop shaking it.

I could totally see someone coding a function that increases the mouse pointer by x% every y mouse shakes, and then neglecting to put in a size cap.

[-] moonpiedumplings@programming.dev 4 points 1 year ago* (last edited 1 year ago)

I could totally see someone coding a function that increases the mouse pointer by x% every y mouse shakes, and then neglecting to put in a size cap.

This feature used to be in KDE 5 as well though, but with a size cap. I suspect the removal of the size cap is intentional rather than a bug.

[-] yonder@sh.itjust.works 2 points 1 year ago

Having a size cap does not make much sense since the increased pointer size is triggered intentionally, meaning if someone keeps shaking the pointer, they must want it bigger (whether for amusement or because they're hella blind).

[-] Rhaedas@fedia.io 1 points 1 year ago

Yes, it resets once motion is stopped. It's one of those things where without comments in the code or something you could also assume forgetting to check one of the bounds just happened to work fine.

this post was submitted on 21 Nov 2024
101 points (98.1% liked)

Linux

10322 readers
787 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS