linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.51k stars 733 forks source link

Scroll, then press ctrl = zoom #10587

Closed BraveSentry closed 2 years ago

BraveSentry commented 2 years ago
 * Cinnamon version 5.0.7
 * Mint 20.2

Whenever I scroll up in any window and then press ctrl, I zoom in. The contrary happens when I scroll down and then hit ctrl: I zoom out.

This can be annoying when I want to scroll up and then open a new window with ctrl+n, or in fact do anything involving ctrl after scrolling.

I'm sorry if this is not cinnamon's fault. It it is not, please tell me where to go with this problem.

madprops commented 2 years ago

Can't confirm this on a Mint with the same Cinnamon I'm running in Virtualbox.

But I tried with left Ctrl since right Ctrl is a vb special key.

BraveSentry commented 2 years ago

I used left ctrl too. To give some examples of where I found this: Firefox (across several versions), Nemo, Thunderbird (when viewing a mail). It does not happen on chrome - but chrome does not zoom with ctrl+scrolling anyway. I tried some things now (sorry, should have thought about it earlier) and found out that it happens only with 2-finger-scrolling on my trackpad, not with a mouse wheel, arrow keys or page up/down.

madprops commented 2 years ago

Ah yeah, I tried in Firefox with a mouse, don't have a trackpad.

mtwebster commented 2 years ago

Do you have Desktop Zoom enabled in accessibility settings?

Perhaps you set its modifier to ctrl (it's usually alt to avoid interfering with zoomable apps that use ctrl). image

BraveSentry commented 2 years ago

Do you have Desktop Zoom enabled in accessibility settings?

Nope. I switched it on out of curiosity, the modifier was alt. Now I switched it back off.

SparkyBluefang commented 2 years ago

If this is trackpad specific, you are probably using the synaptics xinput driver, which has scroll "Coasting" enabled by default.

If you want to disable this, set CoastingSpeed to 0 using synclient or in your xorg configuration file for the synaptics configuration. https://wiki.archlinux.org/title/Touchpad_Synaptics (file paths, package manager, etc, will depend on which distro you're using)

BraveSentry commented 2 years ago

Thanks a lot. This was it. It's a trade off though: Do I live with this minor bug to have dynamic scrolling, or do I want the bug gone but have to scroll without coasting. Anyway, thanks nonetheless!