Skip to content

Conversation

@tanoxyz
Copy link
Contributor

@tanoxyz tanoxyz commented Apr 18, 2025

I've noticed that in the Docking branch, when you open a Combo/Popup the titlebar on the current dockable window loses focus:

20250418_122403.mp4

I'm not sure if this is intended, at least it doesn't seem right for combo-boxes (which are Popups under the hood).

This change seems to work, IsDockNodeTitleBarHighlighted was already checking the case in which the window was a child menu, I've added the check for Popups except when it is a modal.

20250418_123729.mp4

@tanoxyz tanoxyz changed the title Do not lose focus on the dock window when a PopUp opens Do not lose focus on the dock window when a Popup opens Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants