Bug 485932 - Panel is gone when monitor turns on after being turned off by energy saver
Summary: Panel is gone when monitor turns on after being turned off by energy saver
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (other bugs)
Version First Reported In: 6.0.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-22 01:42 UTC by george fb
Modified: 2025-10-02 19:45 UTC (History)
5 users (show)

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


Attachments
output of sudo journalctl -xe (218.95 KB, text/plain)
2024-04-22 01:42 UTC, george fb
Details
backtrace (14.77 KB, text/plain)
2024-08-12 20:01 UTC, george fb
Details
coredumpctl info 119153 (30.49 KB, text/plain)
2024-08-17 09:25 UTC, george fb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description george fb 2024-04-22 01:42:35 UTC
Created attachment 168777 [details]
output of sudo journalctl -xe

SUMMARY
When monitor turns on after being turned off by energy saver the panel is gone as well as the wallpaper.

STEPS TO REPRODUCE
1. Let monitor be turned off by energy saver
2. Move mouse to turn monitor on 

OBSERVED RESULT
Panel is gone and there's no wallpaper nor desktop icons

EXPECTED RESULT
Panel, wallpaper and icons are still there

ADDITIONAL INFORMATION
Screen locking is disabled.
Suspend session is set to "Do nothing".

Regarding the log:
At "04:18:03" I stopped touching the pc and 1 minute later the screen turns off. I let it sit for a few seconds then moved the mouse to turn it on.
At "04:19:44" I run the "sudo journalctl -xe" command.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240419
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X470 AORUS ULTRA GAMING
Comment 1 TraceyC 2024-08-06 19:13:24 UTC
Searchable relevant log lines

apr 22 04:19:21 localhost.localdomain NetworkManager[1155]: <info>  [1713748761.2442] policy: set-hostname: set hostname to 'localhost.localdomain' (no hostname found)
apr 22 04:19:21 localhost.localdomain dns-dnsmasq.sh[2795]: <debug> NETWORKMANAGER_DNS_FORWARDER is not set to "dnsmasq" in /etc/sysconfig/network/config -> exit
apr 22 04:19:23 localhost.localdomain polkit-kde-authentication-agent-1[2167]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain kactivitymanagerd[2165]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain kded6[2019]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain kwalletd6[1809]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain DiscoverNotifier[2317]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain xdg-desktop-portal-kde[2169]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain plasmashell[2121]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain org_kde_powerdevil[2168]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain wireplumber[1932]: [string "alsa.lua"]:178: table index is nil
                                                         stack traceback:
                                                                 [string "alsa.lua"]:178: in function <[string "alsa.lua"]:172>
apr 22 04:19:23 localhost.localdomain wireplumber[1932]: [string "alsa.lua"]:178: table index is nil
                                                         stack traceback:
                                                                 [string "alsa.lua"]:178: in function <[string "alsa.lua"]:172>
apr 22 04:19:23 localhost.localdomain wireplumber[1932]: [string "alsa.lua"]:178: table index is nil
                                                         stack traceback:
                                                                 [string "alsa.lua"]:178: in function <[string "alsa.lua"]:172>
apr 22 04:19:23 localhost.localdomain wireplumber[1932]: [string "alsa.lua"]:178: table index is nil
                                                         stack traceback:
                                                                 [string "alsa.lua"]:178: in function <[string "alsa.lua"]:172>
apr 22 04:19:23 localhost.localdomain wireplumber[1932]: [string "alsa.lua"]:178: table index is nil
                                                         stack traceback:
                                                                 [string "alsa.lua"]:178: in function <[string "alsa.lua"]:172>
apr 22 04:19:23 localhost.localdomain plasmashell[2121]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
apr 22 04:19:23 localhost.localdomain plasmashell[2121]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
apr 22 04:19:23 localhost.localdomain plasmashell[2121]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
apr 22 04:19:23 localhost.localdomain plasmashell[2121]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
apr 22 04:19:23 localhost.localdomain xdg-desktop-portal-kde[2169]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain kwalletd6[1809]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain kactivitymanagerd[2165]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain kded6[2019]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain DiscoverNotifier[2317]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain polkit-kde-authentication-agent-1[2167]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain org_kde_powerdevil[2168]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
apr 22 04:19:23 localhost.localdomain wireplumber[1932]: [string "alsa.lua"]:178: table index is nil
                                                         stack traceback:
                                                                 [string "alsa.lua"]:178: in function <[string "alsa.lua"]:172>
apr 22 04:19:23 localhost.localdomain wireplumber[1932]: [string "alsa.lua"]:178: table index is nil
                                                         stack traceback:
                                                                 [string "alsa.lua"]:178: in function <[string "alsa.lua"]:172>
apr 22 04:19:23 localhost.localdomain wireplumber[1932]: [string "alsa.lua"]:178: table index is nil
                                                         stack traceback:
                                                                 [string "alsa.lua"]:178: in function <[string "alsa.lua"]:172>
apr 22 04:19:23 localhost.localdomain wireplumber[1932]: [string "alsa.lua"]:178: table index is nil
                                                         stack traceback:
                                                                 [string "alsa.lua"]:178: in function <[string "alsa.lua"]:172>
apr 22 04:19:23 localhost.localdomain wireplumber[1932]: [string "alsa.lua"]:178: table index is nil
                                                         stack traceback:
                                                                 [string "alsa.lua"]:178: in function <[string "alsa.lua"]:172>
apr 22 04:19:29 localhost.localdomain plasmashell[2121]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
apr 22 04:19:29 localhost.localdomain plasmashell[2121]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
apr 22 04:19:30 localhost.localdomain NetworkManager[1155]: <info>  [1713748770.1860] policy: set-hostname: set hostname to 'localhost.localdomain' (no hostname found)
apr 22 04:19:30 localhost.localdomain dns-dnsmasq.sh[2832]: <debug> NETWORKMANAGER_DNS_FORWARDER is not set to "dnsmasq" in /etc/sysconfig/network/config -> exit
apr 22 04:19:30 localhost.localdomain plasmashell[2121]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
apr 22 04:19:30 localhost.localdomain dbus-daemon[1830]: [session uid=1000 pid=1830] Activating via systemd: service name='org.kde.runners.baloo' unit='plasma-baloorunner.service' requested by ':1.25' (uid=1000 pid=2121 comm="/usr/bin/plasmashell --no-respawn")
apr 22 04:19:30 localhost.localdomain systemd[1795]: Starting KRunner provider for baloo file indexer...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has begun execution.
░░ 
░░ The job identifier is 276.
apr 22 04:19:30 localhost.localdomain dbus-daemon[1830]: [session uid=1000 pid=1830] Successfully activated service 'org.kde.runners.baloo'
apr 22 04:19:30 localhost.localdomain systemd[1795]: Started KRunner provider for baloo file indexer.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished successfully.
░░ 
░░ The job identifier is 276.
apr 22 04:19:31 localhost.localdomain systemd[1795]: Started Konsole - Terminal.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished successfully.
░░ 
░░ The job identifier is 292.
apr 22 04:19:31 localhost.localdomain konsole[2882]: kf.config.core: Watching absolute paths is not supported "/usr/share/color-schemes/BreezeDark.colors"
apr 22 04:19:31 localhost.localdomain kwin_wayland[1859]: kf.config.core: Watching absolute paths is not supported "/usr/share/color-schemes/BreezeDark.colors"
apr 22 04:19:34 localhost.localdomain plasmashell[2121]: qt.core.qobject.connect: QObject::disconnect: Unexpected nullptr parameter
apr 22 04:19:34 localhost.localdomain plasmashell[2121]: QObject::killTimer: Timers cannot be stopped from another thread
apr 22 04:19:34 localhost.localdomain plasmashell[2121]: QObject::~QObject: Timers cannot be stopped from another thread
apr 22 04:19:34 localhost.localdomain plasmashell[2121]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:136: TypeError: Cannot read property 'screenGeometry' of null
apr 22 04:19:34 localhost.localdomain plasmashell[2121]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:250: TypeError: Cannot read property 'plasmoid' of undefined
apr 22 04:19:34 localhost.localdomain systemd[1795]: plasma-plasmashell.service: Consumed 4.519s CPU time.
░░ Subject: Resources consumed by unit runtime
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit UNIT completed and consumed the indicated resources.
apr 22 04:19:35 localhost.localdomain dbus-daemon[1830]: [session uid=1000 pid=1830] Activating service name='org.kde.KSplash' requested by ':1.53' (uid=1000 pid=3001 comm="plasmashell --replace")
apr 22 04:19:37 localhost.localdomain NetworkManager[1155]: <info>  [1713748777.5797] policy: set-hostname: set hostname to 'localhost.localdomain' (no hostname found)
apr 22 04:19:37 localhost.localdomain dns-dnsmasq.sh[3118]: <debug> NETWORKMANAGER_DNS_FORWARDER is not set to "dnsmasq" in /etc/sysconfig/network/config -> exit
apr 22 04:19:42 localhost.localdomain sudo[3202]: pam_kwallet5(sudo:auth): pam_kwallet5: pam_sm_authenticate
apr 22 04:19:42 localhost.localdomain sudo[3202]: pam_kwallet5(sudo:auth): pam_kwallet5: Refusing to do anything for the root user
apr 22 04:19:44 localhost.localdomain sudo[3202]:   george : TTY=pts/2 ; PWD=/home/george ; USER=root ; COMMAND=/usr/bin/journalctl -xe
apr 22 04:19:44 localhost.localdomain sudo[3202]: pam_kwallet5(sudo:setcred): pam_kwallet5: pam_sm_setcred
apr 22 04:19:44 localhost.localdomain sudo[3202]: pam_unix(sudo:session): session opened for user root(uid=0) by george(uid=1000)
apr 22 04:19:44 localhost.localdomain sudo[3202]: pam_kwallet5(sudo:session): pam_kwallet5: pam_sm_open_session
apr 22 04:19:44 localhost.localdomain sudo[3202]: pam_kwallet5(sudo:session): pam_kwallet5: we were already executed
apr 22 04:19:45 localhost.localdomain NetworkManager[1155]: <info>  [1713748785.0917] policy: set-hostname: set hostname to 'localhost.localdomain' (no hostname found)
apr 22 04:19:45 localhost.localdomain dns-dnsmasq.sh[3214]: <debug> NETWORKMANAGER_DNS_FORWARDER is not set to "dnsmasq" in /etc/sysconfig/network/config -> exit
Comment 2 TraceyC 2024-08-06 19:16:58 UTC
It sounds like the monitor is the only display for this system, which looks to be a desktop. It looks like Plasma may have crashed.

If this is still a problem, we will need a crash report to be able to investigate the problem.  Could you please install debug symbols, reproduce the crash, and attach a  symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Thanks!
Comment 3 george fb 2024-08-12 20:01:44 UTC
Created attachment 172565 [details]
backtrace
Comment 4 TraceyC 2024-08-14 15:52:02 UTC
Searchable backtrace


Thread 1 "plasmashell" received signal SIGINT, Interrupt.
0x00007f7543105aff in poll () from /lib64/libc.so.6
Missing separate debuginfos, use: zypper install libKExiv2Qt6-0-debuginfo-24.05.2-1.1.x86_64 libKF6BookmarksWidgets6-debuginfo-6.5.0-1.1.x86_64 libKF6IdleTime6-debuginfo-6.5.0-1.1.x86_64 libKF6ItemModels6
...


(gdb) backtrace
#0  0x00007f7543105aff in poll () at /lib64/libc.so.6
#1  0x00007f754260134f in g_main_context_poll_unlocked
    (priority=<optimized out>, n_fds=10, fds=0x5571de344b90, timeout=<optimized out>, context=0x7f7538000f00) at ../glib/gmain.c:4521
#2  g_main_context_iterate_unlocked (context=context@entry=0x7f7538000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/gmain.c:4212
#3  0x00007f7542601a5c in g_main_context_iteration (context=0x7f7538000f00, may_block=1) at ../glib/gmain.c:4282
#4  0x00007f7543bc1adc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#5  0x00007f75439993db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#6  0x00007f7543992bb6 in QCoreApplication::exec() () at /lib64/libQt6Core.so.6
#7  0x00005571a842db8f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-6.1.4/shell/main.cpp:188
(gdb) exit
Comment 5 TraceyC 2024-08-14 16:00:57 UTC
Hi,

Thanks for attaching the gdb output. Unfortunately, this doesn't show us anything about the crash, it was a log of a SIGINT, which indicates plasmashell was manually stopped.

Please read through https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports again. The attached file does show a number of debugging packages that it is recommended to install (and helpfully shows you the command to do so).

We need to get information from gdb when the crash is reproduced. Thank you for your understanding, and for helping to make KDE better!
Comment 6 TraceyC 2024-08-14 16:01:53 UTC
Possibly related to  bug 487230 but need a backtrace of the crash to be sure
Comment 7 george fb 2024-08-14 20:19:58 UTC
(In reply to TraceyC from comment #5)
> it was a log of a SIGINT, which indicates plasmashell was manually stopped.

I had to manually stop it (after waiting for 10 minutes) since nothing was happening whuile the panel and background were gone.
Comment 8 TraceyC 2024-08-15 17:16:01 UTC
Thanks for the update. Can you paste the output of this command:
coredumpctl list plasmashell

If there is a list returned, can you use the PID of the latest entry in this (where PID is that pid id):
coredumpctl info PID

and then paste the output here? This will help us narrow down what's happening. Thanks!
Comment 9 george fb 2024-08-17 09:25:53 UTC
Created attachment 172686 [details]
coredumpctl info 119153

There are 4 results from 2024-08-10, but I don't know if it's the same issue as I get other crashes/freezes.
I triggered the bug a few times but the results didn't change.

`coredumpctl list plasmashell`

TIME                                                 PID     UID  GID   SIG       COREFILE   EXE                               SIZE
Sat 2024-08-10 06:37:35 EEST   6265    1000 1000 SIGABRT present  /usr/bin/plasmashell 47.1M
Sat 2024-08-10 06:38:32 EEST 118447 1000 1000 SIGABRT present  /usr/bin/plasmashell   26M
Sat 2024-08-10 06:39:26 EEST 118897 1000 1000 SIGABRT present  /usr/bin/plasmashell   29M
Sat 2024-08-10 06:40:18 EEST 119153 1000 1000 SIGABRT present  /usr/bin/plasmashell 21.6M
Comment 10 george fb 2024-08-17 10:15:13 UTC
I narrowed down the isssue.
I have a secondary monitor which is mostly turned off and disabled in system settings. 
If I unplug or enable it the issue goes away.
Comment 11 TraceyC 2024-08-19 16:54:39 UTC
Thanks for the additional backtrace information. This is not the same as Bug 487230 based on that backtrace.

I found another report of the same behavior, with similar errors in journalctl, in particular

`apr 22 04:19:23 localhost.localdomain plasmashell[2121]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.`
I'm going to mark this report as a duplicate of the other, since one of the developers is communicating in it. If you'd like to follow the progress of this issue, please follow the other report.

Thanks for helping make KDE better for everyone.
Comment 12 TraceyC 2024-08-19 16:54:54 UTC

*** This bug has been marked as a duplicate of bug 491399 ***
Comment 13 george fb 2024-10-14 23:08:35 UTC
Still happening on 6.2
Comment 14 Nate Graham 2025-08-26 23:21:43 UTC
Is this still happening in Plasma 6.4 or later?
Comment 15 george fb 2025-08-27 22:24:37 UTC
Yes.

Operating System: openSUSE Tumbleweed 20250826
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.3-1-default (64-bit)
Graphics Platform: Wayland
Comment 16 Joelf 2025-09-18 00:17:45 UTC
I can just press the monitor power button to trigger it.
If I get it back using konsole by `plasmashell --replace -n -d` I get the following output:

```
kf.plasma.quick: Applet preload policy set to 1
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qrc:/qt/qml/org/kde/kirigami/dialogs/PromptDialog.qml:138: TypeError: Cannot read property 'Success' of undefined
qrc:/qt/qml/org/kde/kirigami/dialogs/PromptDialog.qml:100: TypeError: Cannot read property 'None' of undefined
<power off here> 
qt.qpa.wayland: There are no outputs - creating placeholder screen
kde.plasmashell: requesting unexisting screen available rect -1
kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
<power on here>
```

Terminal lose focus so I used a timed echo for placing the "power on" indication.