After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763942 - Let Control+scroll change the zoom level
Let Control+scroll change the zoom level
Status: RESOLVED FIXED
Product: devhelp
Classification: Applications
Component: General
3.18.x
Other Linux
: Normal enhancement
: ---
Assigned To: devhelp-maint
devhelp-maint
Depends on:
Blocks:
 
 
Reported: 2016-03-20 16:15 UTC by Mohammed Sadiq
Modified: 2016-08-15 08:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
window: implement scroll zoom (5.42 KB, patch)
2016-05-08 16:28 UTC, Ernestas Kulik
none Details | Review
window: implement scroll zoom (5.69 KB, patch)
2016-05-08 16:29 UTC, Ernestas Kulik
none Details | Review

Description Mohammed Sadiq 2016-03-20 16:15:59 UTC
As it usual to change zoom level using control+scroll, it would be nice for this to be in DevHelp too.
Comment 1 Ernestas Kulik 2016-05-08 16:28:12 UTC
Created attachment 327473 [details] [review]
window: implement scroll zoom

This patch enables to change the zoom level by scrolling and holding the
ctrl modifier.

zoom_in_cb() and zoom_out_cb() used largely the same code for changing
the zoom level. It has been moved out to a separate function
(bump_zoom_level()), which takes the amount by which to "bump" the zoom
level.
Comment 2 Ernestas Kulik 2016-05-08 16:29:17 UTC
Created attachment 327474 [details] [review]
window: implement scroll zoom

This patch enables to change the zoom level by scrolling and holding the
ctrl modifier.

zoom_in_cb() and zoom_out_cb() used largely the same code for changing
the zoom level. It has been moved out to a separate function
(bump_zoom_level()), which takes the amount by which to "bump" the zoom
level.
Comment 3 Frederic Peters 2016-08-15 08:52:44 UTC
Thanks.

Attachment 327474 [details] pushed as 0bc96b6 - window: implement scroll zoom