xournalpp icon indicating copy to clipboard operation
xournalpp copied to clipboard

Mouse wheel not scrolling

Open l33tuser007 opened this issue 3 years ago • 15 comments

Hi, I use Xournalpp 1.1.2 on MacOs Catalina Mouse wheel doesn't scroll on the document. Mouse wheel only scrolls when mouse in on the scroll bar on the right of the window. What I expect: scroll up and down when I use mouse wheel in the document. Bug or bad configuration?

Affects versions : 1.1.2 Mac

To Reproduce Open Xournal++ and scroll on a PDF. It doesn't scroll unless the cursor is on the bar. Expected behavior Open Xournal++ and scroll on a PDF. It should scroll all the time when the cursor is on the page.

l33tuser007 avatar Nov 20 '22 21:11 l33tuser007

I can confirm this on Monterey as well, not sure what causes this. There is only one input device reported ("Quartz device"), which was set to Pen by default for me. Changing the device type to mouse does not fix the issue.

Technius avatar Nov 20 '22 21:11 Technius

Just here to confirm that this is still a bug in Ventura. Scrolling does nothing

TheMathGuyd avatar Dec 25 '22 22:12 TheMathGuyd

Has this been resolved? This is quite the problem.

MahdeenSky avatar Mar 08 '23 02:03 MahdeenSky

Confirm the same on Ventura.

hnykda avatar Mar 09 '23 10:03 hnykda

I can confirm the same issue on Monterey. I'm on the Mar 19 nightly build.

I'm using a Wacom Intuos S tablet, which shows up as "Quartz Pen" and "Quartz Eraser" in the input devices settings.

The trackpad doesn't work for scrolling, neither does attaching an external mouse with a scroll wheel help. I scoured the preferences to see if I was missing anything; I haven't seen any relevant settings, however. I could be entirely wrong.

The only way to scroll is either to use the arrow keys, or to manually click and drag the scroll bar. After doing the latter and attempting to write, the first few strokes are still registered as moving the scroll bar, which causes the page to jump erratically.

As someone who uses the trackpad extensively to zoom in and position my cursor while writing, this issue is rendering the program basically unusable. I would greatly appreciate it if this issue could be fixed or if a change to the default preferences is suggested. Thanks.

advaypakhale avatar Mar 29 '23 18:03 advaypakhale

this happens on M1, M1max, M2 as well... I can copy the same configuration from windows to these macos machines, and the Windows 10 PC works beautifully, but the Macs NO SCROLL WHEEL.

lcalder avatar Apr 14 '23 07:04 lcalder

Is everyone affected using Apple Silicon? The nightly build is compiled an on x86 machine and therefore is run using Rosetta 2. Scrolling does not work with the nightly build. However, when I manually compiled Xournal++ on my Mac M1 device, scrolling does work.

Technius avatar Apr 16 '23 22:04 Technius

Yeah, I'm on an M1, could you provide the manually compiled Xournal? My cmake fails while doing so.

MahdeenSky avatar Apr 16 '23 22:04 MahdeenSky

image

I'm on an Intel Mac, and scrolling doesn't seem to work either.

advaypakhale avatar Apr 17 '23 08:04 advaypakhale

I can confirm this was an issue for macOS Catalina, and when I updated macOS Ventura, it is still a problem too. I'm using an old Mid-2012 MacBook Pro in combination with a XP-Pen Deco Fun L tablet. I also only have the Quartz Pen & Quartz Eraser options show up in the Xournal input devices settings.

I have reason to believe this is more of an issue with GTK's handling of input devices on macOS than a Xournal specific issue, at least after a quick look at the code of the Quartz backend of GTK. The backend registers input devices as they are used, and default mouse and keyboard handling seems to look off...

CodeforEvolution avatar Apr 29 '23 19:04 CodeforEvolution

I can also confirm this issue on Intel silicon Macs. I am using xournal++ without a stylus or touch input device and I do not see any input devices in the preferences (not even a Quartz device). One detail to add here: the Ctrl+Scrollwheel does zoom correctly and the click of the wheel correctly acts as Button 3 for selecting the configured 3rd button tool. The only input not working is the scrolling of the wheel without Ctrl.

DFranzen avatar May 08 '23 12:05 DFranzen

Mouse Scroll still doesn't work, but I was able to get Command+MouseScrollWheel to Zoom Xournal. It didn't work before because the OS already had Cmd+MouseWheel assigned to zoom my entire screen at the OS level, so it was not available for Xournal. Just go into System Settings->Accessibility->Zoom and change the modifier key from Command to Option and Xournal will be able to zoom using the Cmd+Mouse Wheel. SCR-20230508-tybk

lcalder avatar May 09 '23 06:05 lcalder

I found a cheap workaround for the scrolling issue. I usually use the trackpad extensively while writing to zoom in and pan around while writing (handwriting looks better that way).

If you go into Preferences > Mouse > Right Mouse Button and change it to the hand tool, you can now regain some scrolling functionality. The only downside is that you have to hold right-click (two fingers on most Macs), but I got used to it fairly quickly. After releasing the right click, the previously selected tool gets auto-selected, so you can go right back to writing/whatever. It isn't the most smooth experience, but at least it has made the program usable for my use case.

The only issue I have yet to fix is the really jarring and jumpy pinch-and-zoom experience. If anyone has any ideas regarding how to make the pinch-zoom more smooth, that would be much appreciated. Hope this helped.

EDIT: I changed the second button on my Wacom stylus in system settings (not xournal settings) to be right-click, and now panning can be done with my stylus. This is basically a complete workaround for me, hope it helps others as well.

advaypakhale avatar Jul 10 '23 12:07 advaypakhale

Can confirm the issue on Sonoma with an apple silicon mac and xournal++ version 1.2.1

Doublonmousse avatar Oct 12 '23 14:10 Doublonmousse

Works fine now with version 1.2.3 (on mac mini m2)

Doublonmousse avatar Mar 13 '24 16:03 Doublonmousse