Bug 456670 - Both my desktops configurations are appearing on the same monitor
Summary: Both my desktops configurations are appearing on the same monitor
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.24.5
Platform: Kubuntu Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-13 11:02 UTC by Miguel Guthridge
Modified: 2023-05-11 03:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Guthridge 2022-07-13 11:02:51 UTC
SUMMARY
This bug seems to be some unholy combination of #362058, #353975, #427861 and #436648. I'm creating a new report since I'm unsure which one it applies to the most. I've marked it as major due to data loss (panels getting deleted), but feel free to edit as required.

My setup:
* When I'm working I need to move around a lot, so I use my laptop's 1920x1200 display.
* When I'm at home I use 2x 1920x1080 displays connected through a USB-C dock (using Displaylink drivers). I keep my laptop's display disabled when I'm home.
* Generally, I boot up disconnected from the dock then connect it after I log in. This is because due to another bug, my internet will break for that session if I log in while docked.

Here's the symptoms:
* My icons only task managers and global menus are set up to only display icons from their current screen, but they both only displays icons from the left-hand screen.
* My global menus both follow the left-hand screen's active window, even though they are on different screens
* KRunner always opens on the left-hand screen, even if my mouse is on the right-hand screen
* The left-hand screen has no wallpaper, and when I right click, I get no context menu to set one
* When I right click and choose to set my wallpaper on the right-hand screen, I get two wallpaper pickers, both of which control the wallpaper of the right-hand screen
* When I disconnect and reconnect my monitors, my panels on my right screen are occasionally moved to my left screen and I have to move them back. Other times, they vanish entirely, never to be seen again
* When I enter edit mode on a panel, the box that has options for adding widgets, choosing themes and setting wallpapers always appears on the right-hand screen, regardless of which panel I'm editing. Sometimes, it appears underneath the right-hand panel (in terms of depth) instead of being positioned below the panel (in terms of height)

I have checked in my desktop settings and verified that the screens are indeed positioned independently of each other and have no overlapping space.

STEPS TO REPRODUCE
1. Connect external displays
2. Observe that all the panels were moved to the left-hand monitor
3. Move the duplicate panels back to their correct location
4. Observe that the panels on the right-hand screen are still following the left-hand screen
5. Reboot and hope for the best
6. Log in and observe that the right-hand panels were deleted entirely
7. Recreate them and observe that they follow the left-hand screen still


EXPECTED RESULT
* Panels shouldn't randomly jump around
* Panels should follow the correct screen
* Panels shouldn't randomly vanish
* Tools such as KRunner should appear on the display that contains the mouse cursor if configured to do so
* The left-hand desktop should be right-clickable
* Editing the wallpaper of the right-hand desktop should only pull up one configuration window


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
I have uploaded a video where I recreate the majority of the issues:
https://youtu.be/mal2Ad0KNTI
Comment 1 Nate Graham 2022-07-13 20:51:15 UTC
Oh my goodness.

Any chance you could upgrade to Plasma 5.25 where we think we fixed a lot of the bizarritude that would cause this kind of thing, and see if it's fixed there?
Comment 2 Miguel Guthridge 2022-07-14 01:26:55 UTC
(In reply to Nate Graham from comment #1)
> Oh my goodness.
> 
> Any chance you could upgrade to Plasma 5.25 where we think we fixed a lot of
> the bizarritude that would cause this kind of thing, and see if it's fixed
> there?

I'm using the Kubuntu backports PPA, but it looks like there isn't any availability of Plasma 5.25 yet, even in the beta PPAs (which seem to be using 5.24.90). I want to help troubleshoot the issue as much as I can, but due to work and uni commitments I'm unwilling to spend time installing an entirely different distro to test if it is fixed, since installing all the tools I need to work is extremely time consuming.
Comment 3 Nate Graham 2023-04-11 14:59:45 UTC
if you run `kscreen-doctor -o` in a terminal window, does it report that the screens are overlapping--even by one pixel? You'll need to compare their "geometry" values.
Comment 4 Bug Janitor Service 2023-04-26 03:46:09 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 5 Bug Janitor Service 2023-05-11 03:46:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!