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

When using native title bar on Windows 11, title bar could not work as default Windows title bar. #150

Open
thegoodtgg opened this issue Nov 19, 2024 · 5 comments
Labels
wontfix This will not be worked on

Comments

@thegoodtgg
Copy link

Using Qt Version: 5.15.2
Windows Version: Windows 11

@thegoodtgg
Copy link
Author

I have tried to use setAttribute(Qt::WA_DontCreateNativeAncestors), however, I can't make the title bar not native. Is there any method to work around? Hook "WindowProc" of the title bar?

@thegoodtgg
Copy link
Author

I think that maybe we could forward WM_NCHITTEST message from child to top level window.

@SineStriker
Copy link
Contributor

Sorry, any widget in non-client area is prohibited to have a native window handle.

@thegoodtgg
Copy link
Author

Since there is no easy way to access HTML Element directly from Qt Web-Engine, You guys have any plan to exposing the API to Qt Web-Engine? If I want to do this on my self, is there any suggestion?

@wangwenx190
Copy link
Collaborator

Sorry, we are not familiar with QtWebEngine stuff.

@SineStriker SineStriker added the wontfix This will not be worked on label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants