Xournalpp: Selection may scroll (instantly) to first page when dragged selection hits top toolbar

Created on 6 Dec 2020  路  4Comments  路  Source: xournalpp/xournalpp

Affects versions :

  • OS: Manjaro KDE
  • (Linux only) Desktop environment: X11
  • Which version of libgtk do you use
    libgtk: 3.24.23
  • Version of Xournal++: fad337b3
  • Installation method: AUR

    • New input method is activated (I think I used the mouse for dragging, though)

Describe the bug
Sometimes it happens that the selected content jumps to the top of the first page when one starts dragging it.

To Reproduce
Steps to reproduce the behavior:

  1. Add several pages
  2. Write something on all pages
  3. On the last page select part of the content
  4. Start dragging it slowly

Expected behavior
The selection follows the mouse

Screenshots of Problem
I can try to do a screen recording later (gif).

bug confirmed easy

Most helpful comment

I've been also annoyed with this feature. Not jumps but very rapid scrolls, I think.
If you try this on documents over 100 pages, you'll feel like you're on a fighter jet.

All 4 comments

Here's an animation showing the issue. If I drag it a little bit to the top, it immediately rushes to the first page, which make it hard to place:

resized

I've been also annoyed with this feature. Not jumps but very rapid scrolls, I think.
If you try this on documents over 100 pages, you'll feel like you're on a fighter jet.

Not jumps but very rapid scrolls, I think.

You are right, I wasn't very precise. The title should now reflect the issue better.

I always wanted to say this: "This is a feature not a bug"

BUT: In the feature is a bug^^ It should scroll slowly once the selection hits the border of the view. This is to allow for moving selections to parts currently not visible. The speed seems to be a bit fast though...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luyatshimbalanga picture luyatshimbalanga  路  5Comments

Krzmbrzl picture Krzmbrzl  路  4Comments

andrewchenshx picture andrewchenshx  路  5Comments

VickySteeves picture VickySteeves  路  3Comments

coldspark29 picture coldspark29  路  3Comments