You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clicking the native OSX window title bar to drag the window causes the internal focused window to be cleared. This causes the user to have to click back into the window to set the focus before triggering any shortcuts.
Screenshots/Video:
Tests tab has focus.
After clicking on the title bar you can see it has lost focus.
Callstack.
Code that clears the focus.
Commenting that line out fixes the issue. That isn't the right solution but shows there needs to be more logic around that call.
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered:
Hello Joe,
Could you open Debug Log->IO and report mouse events passed to the app and imgui ?
This would happen if clicking the osx title bar would report a mouse click to the event, but afaik standard backends shouldn’t do that.
Hi Omar! You are right, if the app is focused we always pass mouse movement changes to the application and if you click the title bar we do pass the click event to Imgui. I'll look into our backend and see why we're doing that.
Version/Branch of Dear ImGui:
v1.91.9 WIP Docking
Back-ends:
Custom
Compiler, OS:
Clang 16
Full config/build information:
Details:
Clicking the native OSX window title bar to drag the window causes the internal focused window to be cleared. This causes the user to have to click back into the window to set the focus before triggering any shortcuts.
Screenshots/Video:
Tests tab has focus.

After clicking on the title bar you can see it has lost focus.

Callstack.

Code that clears the focus.

Commenting that line out fixes the issue. That isn't the right solution but shows there needs to be more logic around that call.
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: