Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Zoom shortcut not working with the mouse #1189
The control+drag shortcut for zooming does not appear to be working for me.
Holding control and dragging with the left mouse button freezes the canvas cursor at point where the dragging started, and the canvas does not resize. The canvas cursor does not update until the first movement after release. Control+dragging with a tablet works correctly.
Holding control and dragging with the mouse should zoom the canvas in or out.
Steps to reproduce
I'm assuming this is macOS only since @Jose-Moreno has been using this with the latest nightlies. After a little bit of testing, I have determined that ScribbleArea::mouseMoveEvent and ScribbleArea::mouseReleaseEvent are not getting called at all when the control button is held. ScribbleArea::mousePressEvent is called as expected. This could be because control+click has a default behavior on mac of opening the context menu.
The shortcut works with the v0.6.2 build, however it does not work when I build that tag manually, which suggests that this is almost certainly a Qt 5.12 issue.
If you have quick-sizing enabled Ctrl+LMB will forcefully try to change the feathering of any given tool. If it's disabled, it shouldn't work either or at least It never has for me; only MMB / RMB. Since I come from Blender land we use MMB for everything so I'm used to that; I never thought about what should be the correct key combination to use to be honest
After a good nights sleep, I've tested it again. It's Ubuntu 18.04, Qt Creator 4.8.2, based on Qt 5.12.1.
I'm having the same issues for MMB on Windows 7 Ultimate as David describes. MMB is consistently broken when using the navigation modifiers on drawing tools. The best way to quickly test it is by pressing CTRL + H, pressing MMB and move it slightly. The reproduction behavior is similar to the other bug report that was closed at #1169 but only with MMB.
Edit: Also tested with the Hand tool, it has similar issues, only with MMB.