(ui): notifications not transparent with NVidia prime
Description
I don't really understand why, but notification dialogs are not transparent when running an app with NVidia Prime.
Steps to reproduce
- Run ExNotifications on a laptop with a discrete NVidia GPU (which means you need an IGP as well
😉 ) :
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
- Trigger a notification
- Observe the fade in/out effect use a black background and rounding corners background is black as well
Functional specifications
Transparency should work whether or not NVidia Prime is used.
Technical specifications
Do not use Qt::Tool
flag. There is no good reason we need a separate QWindow for this, now that the compositing of 3D scenes is done with Qt.
Test plan
Same than reproducing steps.