Giter Site home page Giter Site logo

Comments (11)

akien-mga avatar akien-mga commented on July 19, 2024 1

I can't reproduce the issue on 4.3.beta1 on Fedora 40 with KDE Plasma on Wayland (using X11 / Xwayland display driver).

I see you're also using KDE, are you on Wayland or X11 as session type, and are you using Godot's Wayland or X11 display driver?

from godot.

RadiantUwU avatar RadiantUwU commented on July 19, 2024 1

Godot 4.3-dev3:
image
Godot 4.3-beta1:
image
This still selects the button even though it's not in the box, which seems to be the primary issue.

from godot.

RadiantUwU avatar RadiantUwU commented on July 19, 2024 1

Regressed to 7884d63

from godot.

RadiantUwU avatar RadiantUwU commented on July 19, 2024 1

Unsure how to be honest, but i went through every modification of the PopupMenu till i reached that, and that's when it started failing.
Reverting it seemed to fix the issue.

from godot.

RadiantUwU avatar RadiantUwU commented on July 19, 2024

Using Plasma X11 here, depends on how long you have it held, since it takes a while for it to pop up, and once it pops up, if you still have the button held it will just select anything under the cursor.

from godot.

RadiantUwU avatar RadiantUwU commented on July 19, 2024

This could also be fixed by slightly offsetting the popup to the right

from godot.

inhalt120g avatar inhalt120g commented on July 19, 2024

I'm getting a similar behavior on MacOS, only in my case it's happening even on left button click: #92948

from godot.

RadiantUwU avatar RadiantUwU commented on July 19, 2024

I think this bug occurs somewhere around here
https://github.com/godotengine/godot/blame/df78c0636d79c9545a283e0e2a926d623998cc27/scene/gui/popup_menu.cpp#L620

from godot.

KoBeWi avatar KoBeWi commented on July 19, 2024

How exactly #87462 caused the issue? Menus appearing right under cursor were already a thing, you can easily encounter them at the edges of the screen. The problem is that when you right-click something and it opens a menu, the menu should not be activated even if there is something under the cursor; there should be a timeout to prevent that.

Related #86952. Interestingly, the feature seems broken again on Windows .-.

from godot.

akien-mga avatar akien-mga commented on July 19, 2024

CC @bruvzg

from godot.

Quincy9000 avatar Quincy9000 commented on July 19, 2024

Happens in 4.3 beta 2 as well.

from godot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.