Bug 356720 - Panel displayed on wrong monitor on login
Summary: Panel displayed on wrong monitor on login
Status: RESOLVED DUPLICATE of bug 356225
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.5.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-15 08:27 UTC by linuxaudio
Modified: 2016-02-03 19:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Showing moving panel to correct screen (3.75 MB, image/png)
2016-02-02 23:49 UTC, jamese
Details
Panel appearing on incorrect screen, under/above that screen's panel (3.79 MB, image/png)
2016-02-02 23:53 UTC, jamese
Details

Note You need to log in before you can comment on or make changes to this bug.
Description linuxaudio 2015-12-15 08:27:53 UTC
I'm running KDE 5.5.0 on Fedora 23/x86_64 with a dual monitor setup. Each time I login the panel is placed on a seemingly randomly chosen monitor. Mostly the wrong one.
Trying to make it move to the right one again involves a random number of trials of changing the primary monitor or unifying both monitors until at some point in time the panel is displayed on the correct monitor.

This might be related to https://bugs.kde.org/show_bug.cgi?id=354386. I decided to file a new issue as in my case both monitors are always connected.

This is a huge inconvenience as it takes several minutes to get back to the wanted configuration after each login. And it is frustrating. It started some months ago in previous versions of plasma. I don't remember exactly when.

One more note: In my setup the primary monitor is placed on the right of the secondary one. 

Reproducible: Always

Steps to Reproduce:
1. Use a dual monitor setup.
2. Make the right (as in location)  monitor the primary display.
3. Put a panel o nthe primary monitor, no panel on the secondary.
4. Logout.
5. Login.

Actual Results:  
Panel displayed on the left (secondary) monitor _most of the times_.

Expected Results:  
Panel displayed on the right (primary) monitor _all of the times_.
Comment 1 Michał 2016-01-09 21:56:01 UTC
I have exactly same problem. xrandr says that my internal display (of a notebook) is set as primary, which agrees with what's set in Plasma settings. But at the moment I connect external monitor through DisplayPort, my only panel moves to the external monitor.

It's worse when I disconnect external monitor, because sometimes the panel seems to remain on nonexistent screen. I have to either plugin the monitor back, unlock widgets, move panel, lock widgets or `killall -9 plasmashell; plasmashell&`.
Comment 2 jamese 2016-01-28 00:09:25 UTC
I get a similar thing, quite often if I have a panel on my laptop screen and one on the external monitor,  the laptop panel will migrate to the external screen and sit over the external monitor panel.
If I remove the extra panel and subsequently use my laptop without external screens, the laptop display has no panel any more and I have to add a new Default Panel.

External screen is connected via Displayport as well -  I don't know if KDE doesn't like Displayport connections, include MST, but my setup has regular, daily issues with multiscreen support especially when switching  between external + laptop -> laptop only -> external + laptop  (i.e desktop -> mobile -> desktop usage pattern).

Using Kubuntu 15.10 + Plasma 5.5 backports
Comment 3 jamese 2016-02-02 23:49:21 UTC
Created attachment 96990 [details]
Showing moving panel to correct screen

Here's an example of a panel appearing on the wrong screen. It appeared on the screen in the top right, when it should be in the bottom screen. I have panels anchored to the top screen edge.

This occurs after changing the Primary Display. Shouldn't widgets be allocated to a display  and remain on that display?
Comment 4 jamese 2016-02-02 23:53:26 UTC
Created attachment 96991 [details]
Panel appearing on incorrect screen, under/above that screen's panel

And here's an example of logging in this morning and finding after the usual jiggery-pokery with kscreen display setup that the panel from DP1-1 is now on DP1-2. If you look closely you'll see one panel above the other on DP1-2. It should be on DP1-1.

Again, this happens after  changing the Primary Display.
Comment 5 thomi_ch 2016-02-03 06:47:53 UTC
have a similar problem

have a fresh install of 15.10 with nouveau graphic driver... have a asus laptop with Intel 3rd Gen Core processor Graphics Controller and Nvidia GK107M [GeForce GT 650M], so far so good...

i also use kubuntu backport to get latest updates... so i'm on plasmashell 5.5.3 in the moment.

if i plugin the second monitor (VGA), the main panel switches to VGA display... and trying to move it back to laptop (primary) will disapear the main panel... to get main panel back, i need to logout/login with connected VGA... then main panel comes back to VGA display...

with testing around in display management to move position of VGA display to top, right, left and so on.. sometimes, main panel goes back to primary laptop display.. sometiems i neet to unify the displays and unplug VGA to get main panel back to laptop display...

way tricky.. hope this problem can be found and fixed..

thanks
Comment 6 Martin Klapetek 2016-02-03 19:25:22 UTC
Thanks for the reports

We are aware of a problem regarding panels and multiscreen setup.

I'll be closing this as a duplicate of bug 356225 to ease tracking. All these
bugs are related and/or have the same cause.

*** This bug has been marked as a duplicate of bug 356225 ***