Skip to content

Do not lose focus on the dock window when a Popup opens #8578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: docking
Choose a base branch
from

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