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

Middle-Click or Right Click panning with the pen tablet breaks stuff. #1813

Open
AnnanDistance opened this issue Mar 4, 2024 · 1 comment

Comments

@AnnanDistance
Copy link

Issue Summary

Panning with the pen tablet's middle click or right click breaks stuff. Left clicking with mouse in the canvas unbreaks stuff.
Middle click or right-click panning with the mouse is fine.
Panning with the pen tablet while holding space and click-dragging is also fine.

Actual Results

Once I pan with the middle click or right-click on the pen-tablet, the following stuff goes wrong.

  1. Select tool will not finish selecting with Pen-Tablet click, only with mouse click.
  2. Tool hotkeys stop working. Meaning I can't switch to pen or eraser with keyboard shortcuts. Other keyboard shortcuts like undo-redo work fine.
    Left clicking with the mouse inside the canvas immediately after middle click or right-click panning with the pen tablet will prevent the above from happening.

Expected Results

Middle-Click or right-click panning with the tablet's pen will have no effect on the select tool's operation or the ability to switch tools with hotkeys.

Video or Image Reference

n-a

Steps to reproduce

Pan the canvas while holding down the middle-click or right-click on the pen-tablet>Try using the select tool or switching tools with hotkeys.

System Information

  • Pencil2D Version:
    Nightly Build Feb 25 2024

  • Operating System:
    Win7, Win10

  • RAM Size:
    2GB(Win7), 8GB(Win10)

  • Graphics Tablet:
    Huion Inspiroy H950P (Win7) , XP Pen Artist 13.3 Pro (Win10)

  • Windows Ink
    Enabling or Disabling Windows Ink had no effect on this issue in my Win 7 + Huion setup. Disabling Windows Ink on my Win 10 + XP Pen system totally messed up tablet and mouse operation even outside of pencil 2D so the result is not known.

@J5lx
Copy link
Member

J5lx commented Mar 20, 2024

Introduced in 21f8600, seems to be Windows-specific – at least I don’t see this behaviour on Linux.

Thanks for the detailed report and sorry for taking so long to confirm it.

@J5lx J5lx added this to the v0.6.7 milestone Mar 20, 2024
@MrStevns MrStevns self-assigned this Apr 13, 2024
@J5lx J5lx mentioned this issue Apr 26, 2024
34 tasks
@MrStevns MrStevns removed their assignment Apr 26, 2024
@chchwy chchwy self-assigned this May 19, 2024
@chchwy chchwy modified the milestones: 0.7.0, 0.8.0 Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Medium priority
Development

No branches or pull requests

4 participants