Bug 476791 - Qt apps running as root are transparent (and so Installation window is transparent)
Summary: Qt apps running as root are transparent (and so Installation window is transp...
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Live/Install images (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-11-10 11:19 UTC by Martin Riethmayer
Modified: 2023-12-22 05:28 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Riethmayer 2023-11-10 11:19:50 UTC
SUMMARY
***
neon-unstable-20231109-1616

The installation window is transparent
***


STEPS TO REPRODUCE
1. Boot up live image
2. Search for "Install system" script in Application Launcher and start it


OBSERVED RESULT
Shadow of the window and window controls are drawn, but no content (window is transparent)

EXPECTED RESULT
Window should show content


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon Unstable Edition (2023-11-09)
(available in About System)
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0

ADDITIONAL INFORMATION
Had to set VirtualBox to enable 3D-Accelaration, otherwise neon won't boot up (see #476629)

Other windows (e.g. Dolphin, Systemsettings, InfoCenter) show up fine
Comment 1 Rune 2023-11-12 21:41:01 UTC
I can reproduce this. The problem with the transparent windows occurs for any software that you try to start with superuser rights. Calamares can be started without issue if it is not started as a superuser, but then it obviously does not work to install the system.
Comment 2 Rune 2023-11-12 21:48:17 UTC
I found a workaround: this issue does not occur in the X11 session. To get to the X11 session, you need to disable automatic login, log out, and then log in to Plasma (X11) using a blank password.
Comment 3 Jakub 2023-11-20 19:16:48 UTC
Can confirm on VirtualBox with 3D acceleration enabled. Also, this occurs to Qt6 apps running as root (for example Okular) on Wayland. Calamares running as normal user is not transparent (but it's no longer possible to install).
Comment 4 Carlos De Maine 2023-11-22 10:31:25 UTC
i just ran up a new virt-manager instance on the latest unstable iso. calamares was indeed not happy but an apt update && apt dist-upgrade later and now happy days. calamares is installing a new virtual machine. that's using qemu as the backend so maybe it's a virtualbox thing.
Comment 5 Carlos De Maine 2023-11-22 10:31:50 UTC
i just ran up a new virt-manager instance on the latest unstable iso. calamares was indeed not happy but an apt update && apt dist-upgrade later and now happy days. calamares is installing a new virtual machine. that's using qemu as the backend so maybe it's a virtualbox thing.
Comment 6 Martin Riethmayer 2023-11-22 13:57:54 UTC
It still does not work with the newest unstable image (2023-11-19) and after running sudo apt update && sudo pkcon update

Tested in VirtualBox 6.1 and 7.0 on Ubuntu 22.04 as host. 

This might be a problem only within VirtualBox (or even with certain graphics settings), I've not yet tested it on real hardware
Comment 7 Bug Janitor Service 2023-12-07 03:45:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Jakub 2023-12-07 12:13:28 UTC
I was not able to reproduce it on non-Virtualbox setup, so it might be a Virtualbox thing.
Comment 9 Bug Janitor Service 2023-12-22 03:46:04 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Carlos De Maine 2023-12-22 05:28:43 UTC
Fixed in latest unstable ISO.  Needed to backports a newer version of xwayland.