Bug 194922 - Zoom in-out when CTRL-Mousewheel
Summary: Zoom in-out when CTRL-Mousewheel
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 263951 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-01 22:24 UTC by Pascal d'Hermilly
Modified: 2016-02-22 08:04 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal d'Hermilly 2009-06-01 22:24:01 UTC
Version:            (using KDE 4.2.3)
Installed from:    Ubuntu Packages

It would be very nice if Kate would zoom in and out when holding ctrl and scrolling with mouse wheel.
This seems the be the expected feature for this key combination since it is used in many other applications such as browsers, office programs and image editing programs.
Comment 1 Pascal d'Hermilly 2009-06-01 22:24:57 UTC
What I mean with zoom is of course make the text larger or smaller :-)
Comment 2 Romain 2010-09-17 13:40:36 UTC
Probably should be merged with https://bugs.kde.org/show_bug.cgi?id=196573
Comment 3 Dominik Haumann 2011-09-11 10:02:59 UTC
*** Bug 263951 has been marked as a duplicate of this bug. ***
Comment 4 Dominik Haumann 2011-09-11 10:14:43 UTC
Fixed with commit http://commits.kde.org/kate/0664398bfe276e6a721a66ef83e43ed31c92884b
Comment 5 Jonas 2014-12-14 12:42:01 UTC
Is there a way to disable this? It can be disturbing when triggered inadvertently with the touchpad on a laptop. (I'm using kile)
Comment 6 Draciron 2015-10-22 07:17:11 UTC
How do you turn zoom with mouse wheel off? I RARELY need to zoom text, but scroll with the mouse wheel all the time. It's driving me nuts that Kate now zooms with mouse middle button instead of scrolling.
Comment 7 Pascal d'Hermilly 2015-10-22 10:42:04 UTC
@Draciron why do you hold down the CTRL key when you scroll?
You will get the same behaviour in almost all other programs, such as a browser, dolphin, libreoffice.
When you are holding down the Control key you can expect to get a different behaviour.
Comment 8 Dave Andrews 2016-02-20 06:40:48 UTC
@Pascal
(In reply to Pascal d'Hermilly from comment #7)
> @Draciron why do you hold down the CTRL key when you scroll?
> You will get the same behaviour in almost all other programs, such as a
> browser, dolphin, libreoffice.
> When you are holding down the Control key you can expect to get a different
> behaviour.

The issue is that mouse interactions are often unreliable on touch-input devices -- especially in more complicated KDE apps that are based on Kate.

Right now I just pulled the latest version of KDevelop, which makes heavy use of the Ctrl+ modifier during mouse operations (particularly when ctrl+clicking on variables to follow them!)

On touch-input devices, when trying to do precision touch events -- scrolling is often applied incorrectly when:

 -Performing precision single-finger gestures.
 -Moving into the edge regions of touchpads.
 -Dirty, Abused, or Disfunctional touchpads.
 -Owning a larger touch pad (i.e. gaming laptops / touch devices)

The problem is compounded with synthetic touchpad driver events (someone trying to workaround this here -> https://git.reviewboard.kde.org/r/120319/), which give the gesture acceleration + deceleration long after the user tries to stop the incorrect input.  This leads to having your Kate/KDevelop document look like anything from the size of a breadcrumb -- to the size of Texas! =)

You're right that this deserves a central way of controlling this for editor zooming, but in the absence of that, I'm going to have to patch this out of my machine's kate binaries while using an otherwise perfect editor -- because it's incredibly hard to use on touch devices without this!
Comment 9 Pascal d'Hermilly 2016-02-22 08:04:21 UTC
> Right now I just pulled the latest version of KDevelop, which makes heavy
> use of the Ctrl+ modifier during mouse operations (particularly when
> ctrl+clicking on variables to follow them!)

I don't see that Kate-part has to have the same key bindings as Kate, thus if the KDevelop developers think there is a problem and they want Kate-part to stop zooming with ctrl + scroll, I'm sure that they can find a solution together with the kate developers.
Since there hasn't been an uprising perhaps some of the kdevelop developers like the zoom function.