Bug 349946 - panel doesn't resize to smaller size after switching to smaller monitor
Summary: panel doesn't resize to smaller size after switching to smaller monitor
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.3.1
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-06 05:12 UTC by Sandro Mathys
Modified: 2022-07-25 04:36 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
~/.config/plasma-org.kde.plasma.desktop-appletsrc (3.66 KB, text/plain)
2015-07-06 06:14 UTC, Sandro Mathys
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Mathys 2015-07-06 05:12:59 UTC
On a laptop, I configured KDE so that when I plug in an external monitor, it would turn off the internal monitor and turn on the external monitor instead. So I always have a single monitor active.

Now, when I boot up / log in with only my internal monitor, I get the panel with all the icons/widgets in place as expected. But if I then plug in an external monitor (over mini DP), my panel is missing a few icons/widgets. Missing are e.g. the digital clock, the NM widget, the usb/external devices widget. Still there are e.g. the battery, ibus, notifications.

But they're not removed from the panel - when I remove the external monitor again (and thereby switch to the internal one), they're all back as before. So my guess would be, that some icons/widgets are never told about the new display - or they look at a different variable.

While writing this report, I actually tried switching back and forth a few times. Funnily, it eventually reversed - now I have the full panel on the external monitor, but not on the internal one. Might be connected to me playing with the "primary output" setting in the system settings.


Reproducible: Always

Steps to Reproduce:
1. Configure KDE to switch off internal monitor of laptop when an external monitor is connected (and to turn that on instead)
2. (Re-)Boot laptop with no external monitor connected
3. Log into KDE with no external monitor connected
4. Connect external monitor

Actual Results:  
Panel missing icons/widgets

Expected Results:  
Panel looking the same as before

I did not yet investigate the behavior if I start with the external monitor connected (during boot / login already), and remove it afterwards.

Running Fedora 22 on x86_64. Both displays are set to a 1920x1080 resolution.

I'll try updating to 5.3.2 later on since it's now available in Fedora 22.
Comment 1 David Edmundson 2015-07-06 05:42:28 UTC
>Might be connected to me playing with the "primary output" setting in the system settings.

Yes probably.

If you have a panel on your primary monitor, when you unplug the primary monitor it will move to the new primary monitor.

If you have a panel on a non-primary monitor, when you unplug that screen, the panel will get 'removed', until you plug a second screen in again.

---

As for the bug it sounds like you have two panels; can you post your ~/.config/plasma-org.kde.plasma.desktop-appletsrc
Comment 2 Sandro Mathys 2015-07-06 06:14:03 UTC
Created attachment 93489 [details]
~/.config/plasma-org.kde.plasma.desktop-appletsrc
Comment 3 David Edmundson 2015-07-06 06:21:52 UTC
Thanks
Comment 4 Sandro Mathys 2015-07-06 06:33:33 UTC
Two panels? I don't think so. I tried enabling both screens at the same time, and moving the panel I'm seeing to the right/left side (it's usually centered), but no second panel became visible. (However, KDE completely crashed after a short while the first time I tried activating both - separate bug I guess).
Comment 5 Sandro Mathys 2015-07-17 05:15:02 UTC
Okay, this whole bug report is basically bogus. The bug I'm experiencing is a different one, and based on past experiences I should have noticed so earlier. Apologies for the inconvenience!

---

Actual Setting:
My (only) panel is centered and set to be auto shrinking/enlarging based on its contents. As the minimum width, I defined a fairly small range and as the maximum width, the largest possible range (as wide as the screen is).

Actual bug:
When switching screen, the minimum width is used, instead of the actually required width (which is much lower than the maximum width). Therefore, parts of the panel content are hidden.

---

Should I rename this bug or open a new one?
Comment 6 David Edmundson 2015-07-20 23:45:22 UTC
rename is fine.
Comment 7 Alexander Mentyu 2018-03-05 15:05:26 UTC
Is it actual yet?
Comment 8 Nate Graham 2022-06-25 17:22:59 UTC
A lot has changed since this bug was filed. Is it still reproducible for you in Plasma 5.25? We did a lot of multimonitor improvement in that version
Comment 9 Bug Janitor Service 2022-07-10 04:36:41 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 10 Bug Janitor Service 2022-07-25 04:36:20 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!