qwindowkit icon indicating copy to clipboard operation
qwindowkit copied to clipboard

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

Open thegoodtgg opened this issue 1 year ago • 5 comments

Using Qt Version: 5.15.2 Windows Version: Windows 11

thegoodtgg avatar Nov 19 '24 10:11 thegoodtgg

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 avatar Nov 19 '24 11:11 thegoodtgg

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

thegoodtgg avatar Nov 19 '24 11:11 thegoodtgg

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

SineStriker avatar Nov 19 '24 12:11 SineStriker

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?

thegoodtgg avatar Nov 21 '24 10:11 thegoodtgg

Sorry, we are not familiar with QtWebEngine stuff.

wangwenx190 avatar Nov 22 '24 04:11 wangwenx190