Version/Branch of Dear ImGui:
Version 1.90.5, Branch: docking
Back-ends:
Tested with win32_opengl3 and custom
Compiler, OS:
MSVC 2022
Full config/build information:
No response
Details:
Related to #3154 , however in my case, I would like it not just for IsWindowHovered calls (where it can be done with a flag) but as a default behavior for all (or most) widgets.
Current behavior:
When a non-modal popup is open, clicking out of that popup closes it.
While the popup is open, the windows behind it do not receive hover 'events', e.g. buttons do not get highlighted on mouse over.
This is to be expected and in fact the same behavior as in most applications I have tested (Visual Studio, Chrome).
Expected/Wanted behavior:
The difference to other applications is, that despite the hover effect not showing, the click will still close the popup AND trigger the widget that is below the mouse cursor. For example, in Chrome if I open a context menu via right click on a web page and then click on a different tab, that single click will close the context menu and switch to that tab.
Is there already some configuration flag or similar that would replicate this behavior?
As far as I can tell, the fact that the background widgets can not go into the hovered state causes them to also not go into the active state on click. So this might be a problem because they can not be in a state where they are hovered but do not look like they are. Is that a correct assumption?
At first I did not think, this behavior would cause any problems but I have now repeatedly encountered "less experienced" users of our software, that do not realize that a click did not work because there was still a popup on screen that got closed first.
Ok, so this is just a bit of a bad user experience ("why did that click not work? Weird, guess I'll click again"). But in a recent extreme case, a user was trying to switch to another tab, whose content looked quite similar to the one that was currently open. That tab switch did not work because of an open popup and the user did not notice that and continued to erroneously work in the same tab he was already in.
The active tab is distinctly colored different to the other tabs (light blue vs. dark gray/black) and I also made the popup background color brighter than other windows but some users are just resistant to visual cues.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
Version/Branch of Dear ImGui:
Version 1.90.5, Branch: docking
Back-ends:
Tested with win32_opengl3 and custom
Compiler, OS:
MSVC 2022
Full config/build information:
No response
Details:
Related to #3154 , however in my case, I would like it not just for
IsWindowHoveredcalls (where it can be done with a flag) but as a default behavior for all (or most) widgets.Current behavior:
When a non-modal popup is open, clicking out of that popup closes it.
While the popup is open, the windows behind it do not receive hover 'events', e.g. buttons do not get highlighted on mouse over.
This is to be expected and in fact the same behavior as in most applications I have tested (Visual Studio, Chrome).
Expected/Wanted behavior:
The difference to other applications is, that despite the hover effect not showing, the click will still close the popup AND trigger the widget that is below the mouse cursor. For example, in Chrome if I open a context menu via right click on a web page and then click on a different tab, that single click will close the context menu and switch to that tab.
Is there already some configuration flag or similar that would replicate this behavior?
As far as I can tell, the fact that the background widgets can not go into the hovered state causes them to also not go into the active state on click. So this might be a problem because they can not be in a state where they are hovered but do not look like they are. Is that a correct assumption?
At first I did not think, this behavior would cause any problems but I have now repeatedly encountered "less experienced" users of our software, that do not realize that a click did not work because there was still a popup on screen that got closed first.
Ok, so this is just a bit of a bad user experience ("why did that click not work? Weird, guess I'll click again"). But in a recent extreme case, a user was trying to switch to another tab, whose content looked quite similar to the one that was currently open. That tab switch did not work because of an open popup and the user did not notice that and continued to erroneously work in the same tab he was already in.
The active tab is distinctly colored different to the other tabs (light blue vs. dark gray/black) and I also made the popup background color brighter than other windows but some users are just resistant to visual cues.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response