Comments (4)
It looks like this is caused by some kind of a race condition when mouse cursor is crossing a boundary between two viewport windows. moving_toward_child_menu
gets sometimes (but not always!) set to false
. As a temporary solution, moving tb
and tc
points (here) into submenu a little fixes this behavior.
from imgui.
Hello, thanks for posting.
so when i trying move cursor to select item, sometimes, it closes instantly because losing the hovering of menu.
This is an XY Problem question. We should absolutely focus on this. If you have viewports enabled, menus can appear on the right. Should focus on why it closes instantly. Can you make a video of it ?
Can you recreate the issue when using unmodified example_win32_dx9 example ?
from imgui.
GIF of this issue in example_win32_dx9:
from imgui.
We pushed b3ea01d and 03fc9a0, the combination of those should fix this bug.
We basically always (and still have) a couple of subtle issue with using BeginMenu() from a regular window that isn't a menu or a popup. Some are tricky to fix some not. Working on this I fixed another, it wasn't possible to open such menu with the Right Arrow (9445776). And it is still not possible to close them via Left Arrow.
Thanks for reporting.
Please let us know if for some reason things aren't fixed for you.
from imgui.
Related Issues (20)
- Small window flickering when move out the edge of main window. HOT 5
- Can't select only 1 input when inputs are slightly close to each other HOT 12
- Unresolved external symbol, all ImGui CPP Files are included HOT 3
- Jumping the user to a different part of the GUI HOT 3
- Mouse resize child window HOT 1
- Changing hIcon and hIconSm are not changing to custom icon HOT 1
- io.WantCaptureMouse doesn't work for scrollwheel HOT 3
- How to use ImGui rounding style for ImGui::MenuItems? HOT 2
- Scale to window maintaining aspect ratio, but Viewport won't center HOT 2
- Please help me to clarify the concepts of some specific terms HOT 2
- WebGPU ImGui::Image not accepts different texture formats HOT 3
- InputText CTRL+V paste fails if text is too long HOT 4
- for some reason when i try to change the color of my text and try to do pop style color it crashed? HOT 3
- Why does ImGui tables insert extra ID into the id path of the child widgets? HOT 1
- Emscripten build runtime error: Unable to preventDefault inside passive event listener HOT 6
- getting tightest possible horizontal spacing HOT 7
- Fonts become white rectangles after upgrading to most recent ImGui/SDL3/Vulkan versions HOT 15
- Color too dark custom checkbox color fill HOT 3
- No horizontal scrollbar in a window when calling SetNextWindowContentSize with size larger than the screen HOT 6
- Plugin architecture in imgui(C++)? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imgui.