Shortcut `Ctrl+Mousewheel` for Zooming in/out not working on linux
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 8.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Preflight Checklist
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
Describe the bug
The Ctrl/Alt+ Mousewheel shortcut for zooming in/out is not working on Linux. The canvas just scrolls as if the modifier key is never pressed.
To Reproduce
Steps to reproduce the behavior:
- open draw.io editor
- create an empty file
- press down and hold
Ctrl - scroll the mouse wheel
- the canvas scrolls up and down, instead of zoom in or out
Expected behavior
The canvas zooms in or out
Screenshots
/
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version v29.0.3
Desktop (please complete the following information):
- Manjaro Linux x86_64
- Kernel: 6.18.4-1
- DE: Plasma 6.5.4 X11
Additional context
- Clicking the zoom button works.
- Keyboard shortcut
Ctrl + +/-also works. - Both shortcuts "Ctrl+mousewheel" and "Alt+mousewheel" are not working.
- Both Keys
Left_Ctrl/AltandRight_Ctrl/Altare not working. - The issue exists for both Web and Desktop version of draw.io on Linux, including the AppImage version and the version from package manager.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Ctrl/Alt-plus-mousewheel behavior in the Linux web or desktop editor, then trace the canvas mousewheel and modifier-key handling. Done means the canvas zooms in or out with either modifier and does not scroll instead; verify both left and right modifier keys and the listed Linux environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100