mb1986 / rm-hacks

Small improvements and tweaks for rM devices, covering both rM1 and rM2.
Other
442 stars 9 forks source link

Reset Viewport not working in landscape mode #266

Open ingatellent opened 4 months ago

ingatellent commented 4 months ago

When I open a document with the rm1 in landscape mode it correctly opens with page-width zoom aligned at the top. If I then scroll down with three fingers it scrolls down such that I can see roughly 1/3 of the screen outside the document.

This used to work, the gesture would reset the viewport to page-width zoom aligned at the top, so I suspect it is an error introduced in 10 v2-4 or gestures-actions-maping

RM1 gestures-actions-maping Screenshot 2024-02-26 08_07_01 - page 1

atngames commented 4 months ago

I can not replicate this on my rm2 with 0.0.10 alpha4 Could you try to uninstall and test it again ?

bash -c "$(wget https://raw.githubusercontent.com/mb1986/rm-hacks/main/install.sh -O-)" _ uninstall
ingatellent commented 4 months ago

I can confirm, that it indeed works on 0.0.10-alpha.4, but not on the patch gestures-actions-maping on my RM1.

mb1986 commented 4 months ago

Could you please verify again after reinstalling again on 3.9.5.2026:

bash -c "$(wget https://raw.githubusercontent.com/mb1986/rm-hacks/main/install.sh -O-)" _ uninstall
bash -c "$(wget https://raw.githubusercontent.com/mb1986/rm-hacks/main/install.sh -O-)" _ patch gestures-actions-mapping
ingatellent commented 4 months ago

Unfortunately I get the same result on 3.9.5.2026 with the gestures-actions-mapping (which identifies itself as rM Hacks v0.0.10 in General Settings > Software)

Invoking the three finger swipe down, which is mapped to reset viewport resets the zoom level to 1.0 but also scrolls down, such that there is empty space above the document.

ingatellent commented 4 months ago

Reset viewport works fine in 0.0.10-alpha.5 on the same device.