GNOME Bugzilla – Bug 677015
CTRL+mousewheel only zooms OUT
Last modified: 2012-10-08 12:14:18 UTC
I'm using bluefish version 2.2.2 on Debian wheezy. I can no longer increase font size with CTRL+mousewheel. Font size only decreases! CTRL+ and CTRL- are not working either.
there are no problems on other platforms, and the code handling this has not changed. So possibly your window manager is catching this mouse+ctrl combination? CTRL+ and CTRL- have been added in subversion and will be part of 2.2.3.
Thanks for reply. I'm using KDE 4.74. I will try to fix this from window manager configuration. Thank you for providing this great editor.
This now has been also reported by an Ubuntu 12.04 user. Therefor re-opening.
The user reports, that independent of the spin direction, it zooms out. Sounds not like something else is catching the event.
@slona: what kind of mouse are you using, is it a standard mouse with two buttons and a mousewheel that also acts as third button, or do you use a different type of mouse?
@Olivier: In my case I can tell you, that neither doc_font_size() nor doc_scroll_event_lcb() are called. I can tell, that it works in firefox and that GNOME should not catch it directly (ctrl+mousewheel to zoom in/out in an application is requested as part of the GNOME HIG).
@Daniel: then perhaps we should move away from the scroll event, and just catch the button press events for buttons 4 (wheel one click up) and 5 (wheel one click down)
ok, I tried to catch the button press event, but it is not called for button 4 and 5. The scoll event as we do right now is the proper way to do this. I checked the gedit code and it works exactly like our code. So I really don't understand why this does not work...
fixed in revision 7668 will be part of 2.2.4
*** Bug 685681 has been marked as a duplicate of this bug. ***