Trackpad scrolling with `button: scroll_up/down` on OS X
Summary
Trackpad scrolling, by setting button: scroll_up/down in a .sublime-mousemap file, doesn't seem to work on OS X.
Reference: TerminalView discussion.
Expected behavior
Duh.
Actual behavior
Nothing happens, no errors on the console.
Steps to reproduce
Different modifiers don't work but I found it's somehow an OS X limitation.
I unzipped ST's Default.sublime-package and found the following:
Default (Linux).sublime-mousemap
...
// Change font size with ctrl+scroll wheel
{ "button": "scroll_down", "modifiers": ["ctrl"], "command": "decrease_font_size" },
{ "button": "scroll_up", "modifiers": ["ctrl"], "command": "increase_font_size" },
...
Default (Windows).sublime-mousemap
...
// Switch files by holding down button 2, and using the scroll wheel
{ "button": "scroll_down", "modifiers": ["button2"], "command": "next_view" },
{ "button": "scroll_up", "modifiers": ["button2"], "command": "prev_view" },
// Change font size with ctrl+scroll wheel
{ "button": "scroll_down", "modifiers": ["ctrl"], "command": "decrease_font_size" },
{ "button": "scroll_up", "modifiers": ["ctrl"], "command": "increase_font_size" },
...
For some reason, Default (OSX).sublime-mousemap doesn't contain the scroll_up or scroll_down keys.
Also tried
[
{ "button": "scroll_up", "modifiers": ["alt"], "command": "increase_font_size" },
{ "button": "scroll_down", "modifiers": ["alt"], "command": "decrease_font_size" }
]
and confirmed that it doesn't work for changing font size either, so my guess is that this is an issue with ST and not TerminalView.
UPDATE: Some guys confirm it doesn't work with a trackpad on the ST Forum.
Environment
- Operating system and version:
- Mac OS 10.11
- Sublime Text:
- Build 3 dev 3141
- 64 bit
Any update here?
Ping https://github.com/Wramberg/TerminalView/issues/92#issuecomment-404846926 Any chance this could get fixed anytime soon?
Ping
Still an issue. I see nothing when I enable command logging in the console. Would be nice to have this. I use this all the time on my windows machine at work.