Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zoom center is not correct when it is not on the active page #5269

Open
tmoerschell opened this issue Oct 21, 2023 · 0 comments · May be fixed by #5295
Open

Zoom center is not correct when it is not on the active page #5269

tmoerschell opened this issue Oct 21, 2023 · 0 comments · May be fixed by #5295
Labels

Comments

@tmoerschell
Copy link
Contributor

tmoerschell commented Oct 21, 2023

Operating System

Linux

(Linux only) Distribution

openSUSE Tumbleweed

(Linux only) Desktop Environment

KDE Plasma

(Linux Only) Display Server

Wayland

Installation Method

Build from source

Xournal++ Version

1.2.1+dev (889aefd3)

libgtk Version

3.24.38

Bug Description

When zooming to a point that is not on the currently active page (the one with a red border), the center will slightly shift and not stay in place.

Expected Behaviour

The zoom center should stay at the same position.

Steps to Reproduce

  1. Create multiple pages and zoom out so you see a few
  2. Zoom in or out to a position not on the currently active page (easiest with ctrl+scroll)
  3. Mouse pointer position will shift slightly

Additional Context

I have already fixed the issue and will propose a PR shortly. This issue was mentioned at the end of the discussion in #5108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant