Bug 2131638 - The sddm background was white after logging out of Plasma in a Fedora Rawhide KDE Plasma live image
Summary: The sddm background was white after logging out of Plasma in a Fedora Rawhide...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: desktop-backgrounds
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Bříza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-03 03:08 UTC by Matt Fagnani
Modified: 2022-10-08 00:34 UTC (History)
18 users (show)

Fixed In Version: 37.0.0-4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-08 00:05:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matt Fagnani 2022-10-03 03:08:03 UTC
Description of problem:

I booted a Fedora Rawhide KDE Plasma live image Fedora-KDE-Live-x86_64-Rawhide-20221001.n.1.iso https://koji.fedoraproject.org/koji/buildinfo?buildID=2069494 I disabled autologin as the liveuser from sddm on Wayland in System Settings. I logged out of Plasma 5.25.90 from the Application Launcher menu. The sddm background was white after logging out of Plasma. Only the user icon and the password box and button could be seen. Most of the text wasn't visible because it was in white by default in the Breeze Fedora theme.

This problem might be related to the f37-backgrounds-37.0.1-1.fc38 change from png to webp format backgrounds https://koji.fedoraproject.org/koji/buildinfo?buildID=2067636
The png background sddm was using no longer existed. Selecting a webp background in System Settings by Startup and Shutdown > Login Screen (SDDM) > Change Background icon for the Breeze Fedora theme > Load From file > select /usr/share/backgrounds/default.webp
made the default background appear in sddm after logging out.

Version-Release number of selected component (if applicable):
sddm-0.19.0^git20220921.21e965a-1.fc38
f37-backgrounds-37.0.2-1.fc38
kwin-5.25.90-1.fc38
qt5-qtbase-5.15.6-1.fc38

How reproducible:
This problem happened each of a few times I tried it in a VM or on bare metal.

Steps to Reproduce:
1. Boot a Fedora 37 KDE Plasma installation. 
2. Log in to Plasma on Wayland
3. Download Fedora-KDE-Live-x86_64-Rawhide-20221001.n.1.iso https://koji.fedoraproject.org/koji/buildinfo?buildID=2069494
4. Boot Fedora-KDE-Live-x86_64-Rawhide-20221001.n.1.iso in a GNOME Boxes QEMU/KVM VM with 3 GiB RAM and EFI enabled or on bare metal from a USB flash drive written with Fedora Media Writer 
5. Start System Settings
6. Disable autologin from sddm as the liveuser by Startup and Shutdown > Login Screen (SDDM) > Behavior > Remove the check mark for Automatically log in as user liveuser
7. Select Apply
8. Close System Settings
9. Select the Application Launcher menu from the bottom left of the screen
10. Log out of Plasma by Leave > Log out from the Application Launcher menu 

Actual results:
The sddm background was white after logging out of Plasma in a Fedora Rawhide KDE Plasma live image

Expected results:
The sddm background would be the default background after logging out of Plasma in a Fedora Rawhide KDE Plasma live image

Additional info:

Logging out of Plasma to sddm on Wayland sometimes ended up at a text console on a VT instead of sddm due to https://bugzilla.redhat.com/show_bug.cgi?id=2073725 When that problem happened, I needed to reboot and try again.

Comment 1 Matt Fagnani 2022-10-04 02:30:55 UTC
A journal error showed that the png default background /usr/share/backgrounds/default.png couldn't be opened when the sddm white background problem happened.
sddm-greeter[2556]:file:///usr/share/sddm/themes/01-breeze-fedora/Background.qml:21:5: QML Image: Cannot open file:///usr/share/backgrounds/default.png

/usr/share/backgrounds/default.png didn't exist on the live image Fedora-KDE-Live-x86_64-Rawhide-20221001.n.1.iso

The openqa test fedora-Rawhide-KDE-live-iso-x86_64-BuildFedora-Rawhide-20221003.n.0-desktop_login@64bit showed the sddm white background at
https://openqa.fedoraproject.org/tests/1485849#step/_graphical_wait_login/3

This problem might happen in F37 as well if the default F37 background is used for sddm.

Comment 2 Matt Fagnani 2022-10-07 18:23:23 UTC
I think I also saw this problem in a Fedora 37 KDE Plasma installation after an update including desktop-backgrounds-compat-37.0.0-2.fc37.noarch and f37-backgrounds-base-37.0.2-1.fc37.noarch on 2022-10-28. I set the SDDM background in System Settings > Startup and Shutdown > Login Screen (SDDM) > Change Background icon > Load from file and selected a background from /usr/share/wallpapers/F37/contents/images/ with the resolution of my screen. The F37 background showed up in sddm again. 

/usr/share/backgrounds/default.png and /usr/share/backgrounds/images/default.png were broken symlinks in desktop-backgrounds-compat-37.0.0-3.fc37.noarch according to https://bodhi.fedoraproject.org/updates/FEDORA-2022-a5622b766b#comment-2738612 The desktop-backgrounds-37.0.0-4.fc37 update addressed those broken symlinks https://koji.fedoraproject.org/koji/buildinfo?buildID=2072244 I updated to desktop-backgrounds-compat-37.0.0-4.fc37.noarch. I set the sddm background to /usr/share/backgrounds/default.png and rebooted. The default background appeared normally in sddm.

Comment 3 Luya Tshimbalanga 2022-10-08 00:05:14 UTC
Closing this report as the fix is available on https://bodhi.fedoraproject.org/updates/FEDORA-2022-a5622b766b

Comment 4 Matt Fagnani 2022-10-08 00:34:35 UTC
Thanks. I'm clearing the needinfo since no question was asked.


Note You need to log in before you can comment on or make changes to this bug.