Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
All the desktop environments.
Description
It is official now: every desktop needs to have a glass background!
Windows started this already with Aero.
macOS Big Sur will expect native apps to have a glass background
KDE apps are started to support a blurred background as well
Please note that this is different from a transparent or translucent background. Transparent just means you can see through the window, glass background will actually blur the contents behind the window. This is normally done via the Window Compositor but it needs to be enabled in order to get this effect.
For Qt on Windows, you can use the QtWin module to make a glass frame.
For KDE, there is no way to do this via Qt so you have to write a crazy xprop hack to enable the _KDE_NET_WM_BLUR_BEHIND_REGION flag.
As for macOS, you will have to write some Cocoa code to get that working.
Rather than write a hack for each platform, Qt should provide a simple Window flag like "WA_GlassBackground" to make this effect cross platform.
This is important because end users expect their desktop apps to look and feel like a native app rather than something foreign. Having this flag would make cross platform development much easier.
Attachments
Issue Links
- is duplicated by
-
QTBUG-95315 Investigate QWindow API for blurred windows
- Closed
-
QTBUG-104321 Support blur behind background of QWindow
- Closed
-
QTBUG-86233 Qt needs to support glass style backgrounds and shadows
- Closed