Skip to content
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

Subwindow issues on Windows #1626

Open
arthmis opened this issue Feb 27, 2021 · 0 comments
Open

Subwindow issues on Windows #1626

arthmis opened this issue Feb 27, 2021 · 0 comments
Labels
shell/win concerns the Windows backend

Comments

@arthmis
Copy link
Collaborator

arthmis commented Feb 27, 2021

This issue will have to wait on a few enhancements to druid.

One issue is that WindowLevel is not implemented for Windows 10. Creating subwindows on Windows 10 uses the platform::WindowBuilder::build function that is used to create app level windows. The issue is that this function treats all windows as overlapped windows. As a result dropdowns and other subwindows show up on the taskbar.

For modals, tooltips, and dropdowns they should be pop up windows I believe.

The last issue is creating a subwindow takes focus away the parent window which is fine depending on the type of subwindow. For something like a tooltip though, it shouldn't take away focus.

A small fix to make the popup windows not show up in the taskbar is to set their extended style to WS_EX_TOOLWINDOW. The other fix would be to wait on the work being done to embed child windows within an App window. On Windows 10, setting the parent handle for a popup window prevents the popup window from showing up on the taskbar.

@cmyr cmyr added the shell/win concerns the Windows backend label Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
shell/win concerns the Windows backend
Projects
None yet
Development

No branches or pull requests

2 participants