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

Cursor state is messed up after transferring focus on TWM #1154

Open
4194304 opened this issue Dec 17, 2024 · 0 comments
Open

Cursor state is messed up after transferring focus on TWM #1154

4194304 opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@4194304
Copy link

4194304 commented Dec 17, 2024

Pixelorama version:
1.0.5-stable (Linux)

Where did you download Pixelorama from?
AUR (pixelorama-bin)

OS/device including version:

Linux 6.12.4-arch

Issue description:
On TWM (yes the 1980s one), it uses a menu clicking model where you hold left click, then release to let go. Librewolf and other applications also tend to follow this. However with Pixelorama, while it doesn't follow this model, transferring focus to another application then to Pixelorama leads to the following:

  1. If the cursor goes into the Pixelorama window before left clicking the titlebar to raise it:

It will act as if you're holding the left mouse button (so if you're on the pencil tool it will draw for instance) until you click the left mouse button again.

  1. If the cursor raises the window by hovering over the titlebar, then right clicks:

You will not be able to draw until you let go of the mouse and then try drawing again.

  1. Move the mouse to another window without clicking, then move it back:

Pixelorama will act as if you are holding the middle mouse button. The only way to get it to stop with it is by either left clicking (selection only), moving the mouse outside the window, raising it, then back in (which will trigger either variant #1 or #2 depending on how you did it), or possibly clicking the middle button.

Steps to reproduce:

  1. Install TWM
  2. Launch Pixelorama
  3. Switch the cursor focus to another application (click the window)
  4. Do one of the following ways to trigger it as mentioned earlier in the report (issue description)

Revision 1:

Updated the issue with information on how to trigger the 3rd variant of this bug and more detailed info on it.

@4194304 4194304 added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant