Bug 484875 - On X11, after locking screen and turning off monitor, panels are occasionally placed in the wrong position
Summary: On X11, after locking screen and turning off monitor, panels are occasionally...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.0.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-01 15:51 UTC by Synthetic451
Modified: 2024-04-28 09:43 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Panel in wrong position after logging back in (3.48 MB, image/png)
2024-04-01 15:54 UTC, Synthetic451
Details
How it should be normally (3.47 MB, image/png)
2024-04-01 15:55 UTC, Synthetic451
Details
journalctl -r from turning monitor off and on again (44.44 KB, text/x-log)
2024-04-18 00:42 UTC, Aranjedeath
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Synthetic451 2024-04-01 15:51:59 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Sometimes I'll lock my screen and turn off my monitor (LG C2). Later, if I come back to my computer, turn on my monitor, and unlock my computer, I'll notice that the panels are placed in the wrong positions. Sometimes you need to cause the panel to go from "unfloat" to "float" state before the bug is triggered. Notifications are also placed in the center of my screen.

This happens most frequently when the lock screen does this weird behavior where after typing in my password, there's an extra "Unlock" button that appears and I have to press enter again to get past it. Not sure what that bug is, but it usually preceeds this bug.

STEPS TO REPRODUCE
1. Lock computer, turn off monitor.
2. Step away for a few minutes
3. Log back in

OBSERVED RESULT
Panel is in the wrong position. For me, its in the top left (See screenshot)

EXPECTED RESULT
Panel stays in the configured position

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.8.2-arch2-1 (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2
Product Name: X570 Taichi
Comment 1 Synthetic451 2024-04-01 15:54:56 UTC
Created attachment 168024 [details]
Panel in wrong position after logging back in
Comment 2 Synthetic451 2024-04-01 15:55:29 UTC
Created attachment 168025 [details]
How it should be normally
Comment 3 Sebastian Kenn 2024-04-07 09:37:00 UTC
I have a similar problem with KDE neon, Plasma 6.0.3:

The panel jumps to the top of the screen for no particular reason. It happens when I start a program and the new window opens. However, it does not happen every time I start a program. I do not use the screen lock. It can also be a trigger, but is not absolutely necessary.

I help myself by manually putting the panel back in the right position with the panel-settings. I notice this: When I select "position", three arrows appear - top, left, right - although the panel is already at the top. I have to move it to one of the three positions first. Then, in the second step, I am also offered a down arrow. The operating system seems to "believe" that the panel is still at the bottom edge.

SOFTWARE/OS VERSIONS
Operating System: KDE neon
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.5.0-26 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-4460 CPU @ 3.20GHz
Memory: 15,6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 750 Ti/PCIe/SSE
Product Name: MS-781
Comment 4 Aranjedeath 2024-04-08 04:19:34 UTC
I also have this issue. A relevant thread reporting this on the KDE Forums:
https://discuss.kde.org/t/plasma-tray-bar-relocates-itself-to-top-of-screen/12744

A possibly-same bug report from another user: 
https://discuss.kde.org/t/after-standby-the-taskbar-is-moved-from-the-bottom-to-the-top-position/13633

I am a NEON user, not Arch. 

Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.5.0-26-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon RX 5700 XT
Comment 5 Stagger Lee 2024-04-09 10:54:05 UTC
I can confirm it.

- Using latest Archlinux packages
- Laptop with NVIDIA graphic card does not have ths problem
- PC with AMD Radeon graphic card (AMD Radeon RX 580 Series) has this problem.
- Using Samsung Smart TV via HDMI.

Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.8.4-arch1-1 (64-bit)
Graphics Platform: X11

It is constant after screen lock, sleep, persistent.
Comment 6 Stagger Lee 2024-04-09 10:58:42 UTC
"It is constant after screen lock, sleep, persistent."

Sorry, I mean problem comes each time after resuming work. I meant not that I cannot move panel to the bottm manually.
I move it, and it is OK until PC goes to sleep next time.
Comment 7 Stagger Lee 2024-04-09 11:17:32 UTC
Sorry, first time here. I do not know if I can edit old comments, or how.

If it can help you with troubleshooting, but it is already mentioned here:

- I also have new "Unlock" button, do not know if it is feature or what..
- My notifications (not all) are also centered in the middle of the screen (No playing with settings helps)
- And when I login after sleep panel is correctly placed, at the bottom. What triggers it to jump to the top is clicking on some of the windows in panel (For instance to maximise Vivaldi browser, or Dolphin.)
Comment 8 Synthetic451 2024-04-09 18:02:57 UTC
@Stagger Lee

Yes, I definitely see this more often whenever I turn off my monitor or when I resume from sleep. I can also "workaround" this issue by changing my desktop resolution to something else and then reverting back. Doing so seems to reset everything back to normal. The fact that this works indicates some sort of monitor configuration bug?

Because so many users are experiencing this issue, I am setting this to confirmed.
Comment 9 Aranjedeath 2024-04-18 00:42:26 UTC
Created attachment 168633 [details]
journalctl -r from turning monitor off and on again

I don't know if this will be helpful, but this is journalctl -r for the time period immediately preceding turning my monitor off and back on again. I can reproduce it just by doing this, and then clicking any app in the "icons only" taskbar. I have only deleted the akonadi entries, as I know they are not relevant.
Comment 10 Aranjedeath 2024-04-18 00:43:28 UTC
Oh, I can't edit comments on this bug tracker. OK. Anyway. Immediately preceding to "after". It covers the time period.
Comment 11 Adrien Beau 2024-04-22 08:45:09 UTC
I have also experienced this issue, starting with Plasma 6.0.0.

- OS: KDE neon
- Display Server: X11 (X.Org)
- GPU: NVIDIA GeForce RTX 3060
  (sole GPU in the machine, the CPU has no integrated GPU)
- GPU Driver: NVIDIA v535.x
  (mainline version provided by Ubuntu, no tweaks or bizarre settings)

In my case, this is a rare issue, it has triggered 2 or 3 times over
50-days of daily usage. I switch between machines frequently, so the
screen locks and the monitor turns off several times per day. So, this
triggers in less than 1 % of cases.

The first time this happened, very soon after upgrading to Plasma 6.0.0,
I removed the panel at the top, and reconfigured a new one at the
bottom.

The last time this happened, I kept using the OS with the panel at the
top. After a short while, if I recall correctly after at least another
screen-locking / monitor-off event, the panel returned to the bottom.