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

Drop-down menus detect click release as a click #80572

Open
alexander213213 opened this issue Aug 12, 2023 · 3 comments
Open

Drop-down menus detect click release as a click #80572

alexander213213 opened this issue Aug 12, 2023 · 3 comments

Comments

@alexander213213
Copy link

alexander213213 commented Aug 12, 2023

Godot version

4.1.1

System information

OS: Ubuntu 22.04 jammy, Kernel: x86_64 Linux 6.2.0-26-generic

Issue description

Some drop-down menu treats click release as a click which makes it hard to use a touchpad. The easiest to find is when I click the language menu in the Project Manager.

Steps to reproduce

Click the language drop-down menu in the Project Manager window

Minimal reproduction project

N/A

@lostptr
Copy link
Contributor

lostptr commented Aug 15, 2023

Hey I managed to reproduce that with a few menus. I think all of them are like that, I couldnt find one that did not have this behavior. Just to be clear, you were hoping that the click event would be button_down rather than button_up?

@alexander213213
Copy link
Author

Yes, the button_up makes it very difficult to work with a touchpad since upon clicking, people always do a button_up to move the mouse again

@Calinou
Copy link
Member

Calinou commented Aug 22, 2023

Are you on a X11 or Wayland session? Use echo $XDG_SESSION_TYPE in a terminal to know. If on Wayland, try switching to a X11 session and see if you can reproduce this.

Also, try to reproduce this after enabling Single Window Mode in the Editor Settings then restarting the editor.

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

No branches or pull requests

4 participants