Bug 248186 - Panel auto resize not working correctly.
Summary: Panel auto resize not working correctly.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Plasma
Component: panel (show other bugs)
Version: 4.11.4
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 237753 247304 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-17 23:08 UTC by Fest
Modified: 2018-06-08 18:48 UTC (History)
27 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Picture showing the panel that has not resized itself. (47.69 KB, image/jpeg)
2010-12-03 08:18 UTC, Henrikki Almusa
Details
Panel size bug (61.78 KB, image/png)
2011-01-03 20:15 UTC, Todd
Details
Forcibly resized panel (56.91 KB, image/png)
2011-01-03 20:16 UTC, Todd
Details
Bug with plasma locked (23.57 KB, image/png)
2011-01-03 20:18 UTC, Todd
Details
panel locked, panel b0rked (7.66 KB, image/jpeg)
2011-10-29 15:28 UTC, Andreas Sturmlechner
Details
b0rked locked panel without systray, just widgets (12.40 KB, image/jpeg)
2011-12-11 10:44 UTC, Andreas Sturmlechner
Details
Panel should resize, not the icons. (152.69 KB, image/png)
2012-11-06 22:47 UTC, edgar.sanders
Details
bug demonstration (128.04 KB, image/png)
2012-12-11 23:30 UTC, Fest
Details
panel settings (462.40 KB, image/png)
2012-12-11 23:34 UTC, Fest
Details
Panel with non working auto resize (17.19 KB, image/png)
2013-03-18 22:05 UTC, christian tacke
Details
yet another clipped panel screenshot (10.04 KB, image/png)
2013-04-13 13:09 UTC, Andreas Sturmlechner
Details
two systrays, both clipped, one of them massively (223.84 KB, image/jpeg)
2013-06-05 10:01 UTC, Andreas Sturmlechner
Details
Screen shot for problem in 4.10.4 (227.82 KB, image/png)
2013-06-16 22:43 UTC, Alex
Details
screencast.avi (522.38 KB, application/octet-stream)
2013-06-30 17:26 UTC, Andreas Sturmlechner
Details
clipped-panel no-taskbar refreshing-bug separate-systray (1.37 MB, image/png)
2013-07-06 17:49 UTC, Andreas Sturmlechner
Details
excess-fat-panel no-taskbar refreshing-bug separate-systray (502.50 KB, image/jpeg)
2013-07-06 18:02 UTC, Andreas Sturmlechner
Details
screen shots demonstrating panel clipping (40.85 KB, application/pdf)
2014-04-24 09:00 UTC, icon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fest 2010-08-17 23:08:17 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

I have panel in upper right corner aligned left with notification/tray/clock/lancelot plasmoids on it. Panel size set to be from minimum 335px to maximum of 797px (via plasma-desktop-appletsrc). But when in tray appears more programs icons than usual, panel instead of resizing right - moves lancelot plasmoid left (out of screen).


Reproducible: Always

Steps to Reproduce:
1. Create panel.
2. Align it left.
3. Define minimum and maximum size.
4. Fill panel with plasmoids to exactly fit the minimum width (with tray plasmoid).
5. Run additional programs to add more unhidden icons to tray.

Actual Results:  
Panel moving plasmoids left, instead of resizing itself right.

Expected Results:  
Panel resizing itself right.
Comment 1 Henrikki Almusa 2010-12-03 08:16:39 UTC
I also have this bug.

I have my panel in lower right corner. My two "knobs" for panel size have the arrow pointing down at the current size of the panel and arrow pointing up in the top of my screen. I have panel autohide on.

When I boot the panel looks correct. If I open a program which adds an icon to the panel, then the panel doesn't grow but pushes icons below the screen. If I go to move the knob with arrow pointing down (a little up and back to original position) the resizing is done. After that the resize seems to work fine. I will attach a picture of the error with ktorrent opened as extra (pushing the clock into unreadable state).

KDE 4.5.1 with Kubuntu 10.10.
Comment 2 Henrikki Almusa 2010-12-03 08:18:00 UTC
Created attachment 54021 [details]
Picture showing the panel that has not resized itself.
Comment 3 Todd 2011-01-03 20:13:26 UTC
I am having this problem as well in 4.6 RC 1.  The problem here is with the tray on the far right of the panel.
Comment 4 Todd 2011-01-03 20:15:00 UTC
Created attachment 55532 [details]
Panel size bug

Here is a picture showing the problem with the panel size.  Note that there should be a triangular expander for the panel on the right, which is almost invisible.  The size sliders are there to show the panel size range I have set.
Comment 5 Todd 2011-01-03 20:16:56 UTC
Created attachment 55533 [details]
Forcibly resized panel

Here is the panel after I have forced it to resize so you can see the full contents of the panel.  Note the expander for the tray, due to the bug this is not normally accessible.
Comment 6 Todd 2011-01-03 20:18:38 UTC
Created attachment 55534 [details]
Bug with plasma locked

I thought the bug might be due to the cashew, so I tried locking the plasma widgets.  Note that the expander for the tray is still partially off the edge of the panel, so it is not solely due to the cashew.
Comment 7 charly ghislain 2011-01-19 17:47:38 UTC
I also have this problem for a long time. Several reports about this issue have been reported and closed, but the problem still persists.

I suspect the problem to be in applet code. The smooth task applet seems to work fine, updating panel size within constraints when adding/removing icons. I have this panel on the left size.

Systray seems to be broken. I have it in a right-edge-anchored horizontal panel, but when it grows to fit new icons, the panel size does not change and widgets are moved out of screen on the right.
Comment 8 enrique_mecklenburg 2011-03-06 14:51:12 UTC
I have this problem too. Using a panel with systray, horizontal, at lower right corner. Panel goes right off screen when more icons appear in the systray.

Linux 2.6.32-5-amd64 Debian Squeeze, KDE 4.4.5
Comment 9 disabled account 2011-05-28 19:14:01 UTC
*** Bug 237753 has been marked as a duplicate of this bug. ***
Comment 10 Andreas Sturmlechner 2011-08-15 11:34:47 UTC
Same issue here with kde-4.7.0 and qt-4.7.3, panel centered with systray in between several other applets (taskman on a different panel to eliminate it as the source of error). I think this has bugged me since 4.3.something...
Comment 11 Andreas Sturmlechner 2011-10-29 15:18:19 UTC
*** This bug has been confirmed by popular vote. ***
Comment 12 Andreas Sturmlechner 2011-10-29 15:28:04 UTC
Created attachment 65014 [details]
panel locked, panel b0rked

status update: kde-4.7-live, qt-4.7-live, no difference at all. driving me crazy every time I look at it.
Comment 13 Andreas Sturmlechner 2011-12-11 09:22:06 UTC
So, just the same bug is still present in qt-4.8, kde-4.7.90...
Comment 14 Andreas Sturmlechner 2011-12-11 10:44:48 UTC
Created attachment 66618 [details]
b0rked locked panel without systray, just widgets

new screenshot, this time with a centered locked panel.

panel is reluctant to resize itself sometimes even to more than minimum size. of course, plenty of maximum space would be available.

systray widget seems to work fine completely by itself.
Comment 15 Thijs 2012-01-20 15:31:27 UTC
*** Bug 247304 has been marked as a duplicate of this bug. ***
Comment 16 Andreas Sturmlechner 2012-05-27 12:35:12 UTC
Bug still exists in 4.8 trunk.
Comment 17 Andreas Sturmlechner 2012-06-30 18:29:40 UTC
OK, seeing how there is no progress happening here, and because I just recently stumbled over an akregator bug that is also related to this:

How many of you reporting/voting in this bug have external displays attached?
Comment 18 Andreas Sturmlechner 2012-07-07 15:50:37 UTC
Wow, I am happy to report that so far I couldn't see this behaviour anymore using KDE SC 4.9 RC1. Finally! (?)
Comment 19 Myriam Schweingruber 2012-08-07 16:34:00 UTC
(In reply to comment #18)
> Wow, I am happy to report that so far I couldn't see this behaviour anymore
> using KDE SC 4.9 RC1. Finally! (?)

Thank you for the feedback.
Comment 20 edgar.sanders 2012-11-06 22:47:06 UTC
Created attachment 75061 [details]
Panel should resize, not the icons.

Hi, I'm using KDE 4.9.2 and the bug still persists. The panel wont resize, but the icons in the "icon only task manager" (which comes with KDE) do. I see the status as "resolved", what is the solution to the problem? Thanks.
Saludos.
Comment 21 Andreas Sturmlechner 2012-11-06 23:02:00 UTC
Hmm, indeed.

I've resized my panel in height so that systray would spawn two rows, and the issue was back immediately (expander was out of panel completely).

What are the chances that this will be reopened?
Comment 22 Fest 2012-12-11 23:30:35 UTC
Created attachment 75790 [details]
bug demonstration

KDE 4.9.90 - Bug still exist.

Two screenshots. Upper one showing normal panel, and second screenshot showing the bug.

As seen on screenshot, instead of resizing panel left, lancelot launcher (big gentoo icon) moved right - outside desktop.

Plasma Toolbox labeled "Main" showing right desktop border.
Comment 23 Fest 2012-12-11 23:34:38 UTC
Created attachment 75791 [details]
panel settings

Panel settings shown on screenshot.

Steps to reproduce exactly the same as at bug description.
Comment 24 Michael D 2013-01-06 22:21:07 UTC
(In reply to comment #20)
> Created attachment 75061 [details]
> Panel should resize, not the icons.
> 
> Hi, I'm using KDE 4.9.2 and the bug still persists. The panel wont resize,
> but the icons in the "icon only task manager" (which comes with KDE) do. I
> see the status as "resolved", what is the solution to the problem? Thanks.
> Saludos.

Is what you're asking for in accord with the intended behavior? I WISH the panel would do that; set a very small minimum size, have just an icon task manager in there, and when new icons populate the task manager plasmoid, it causes the panel to grow to accommodate them.

Can someone explain to me exactly what auto-resize is for and how it works? (By that I mean point me to some documentation.)
Comment 25 parcours.lingual 2013-01-28 12:55:03 UTC
Hi

I have Arch Linux and KDE 4.9.5. I experience the same behaviour as described above. But if i use "Task manager", default manager, panel is resizing normally. Hope the bug will be fixed soon.
Comment 26 christian tacke 2013-03-18 22:05:24 UTC
Created attachment 78192 [details]
Panel with non working auto resize

Hi,

in the attachment I've included the non working panel.

My setup:
I've got two  panels (left and right, one auto hide, one always on top) which I've set up with a minimal and maximal height so they can resize to their content.

Left one with lancelot (top) and icon window bar (don't know the name, where the windows are displayed ;) ), which resizes correctly. the other one with system tray and a clock only works correctly when shrinking, but doesn't grow again when there's a new entry displayed (like the notification in this case).

I've  two monitors set up with extra one monitor in the right. Both panels are on first (laptop) monitor.
Comment 27 christian tacke 2013-03-18 22:06:34 UTC
forgotten to mention: KDE SC 4.10.1
Comment 28 Michael D 2013-03-20 12:09:27 UTC
The "standard" task manager allows proper resizing when placed in a top/bottom panel, but there is NO resizing happening with the "icon only" task manager. Ideally there would be an icon-only mode for the standard task manager that behaves and has all the functionality of the icon only task manager.
Comment 29 christian tacke 2013-03-20 18:33:50 UTC
Most times the icon only task manager is working fine. It's the clock+notifications in a vertical bar that are not working.
Comment 30 Michael D 2013-03-20 18:39:52 UTC
Icon tasks does not work at all for me, running Kubuntu 12.10, KDE 4.10.1. I've tried recreating new panels, both vertical and horizontal without any luck.
Comment 31 Samir Benmendil 2013-03-20 18:54:21 UTC
I have both task manager working fine. Issue is with a System Tray sitting alone in a right-aligned horizontal panel.

dual monitor, Chakra Linux, KDE 4.10.1
Comment 32 Knut Hildebrandt 2013-03-22 17:12:39 UTC
The same problem here on kubuntu 12.10 running kde 4.10.1. My panel contains in following order:

- Lanzelot
- 2x Quick Acess
- sytem tray
- the icon that shows the desktop
- the clock
- the waste bin

The panel is centered and instead of growing on both sides as I would expect, waste bin, clock etc. are shiftet out of view on the right hand side when new icons appear. Even tried to put system tray at rightmost positiion. It didn't help.

Found a not very satisfying workaround. Just prevent icons from showing up in or disappearing from the visible system tray by changing their behaviour in the system tray settings from Auto to either Hidden or Always visible.
Comment 33 Andreas Sturmlechner 2013-03-24 21:12:48 UTC
Oh my, using lanzelot, that bug is much much worse. The panel just had cut off 5/6 of systray until I briefly unlocked widgets - that refreshed the panel to its required size.

Gentoo Linux, KDE SC 4.10.1
Comment 34 Andreas Sturmlechner 2013-04-13 13:09:23 UTC
Created attachment 78866 [details]
yet another clipped panel screenshot

screenshot from a recently set up radeon box, shortly after removing the task bar and setting minimum size.

KDE 4.10.60, built today
Comment 35 enrique_mecklenburg 2013-04-28 19:46:07 UTC
I'm still experiencing this bug, now with KDE4.10.2 from Debian Experimental.

Could it be that left aligment is always on and messing up things? It doesn't matter if I select right or center, left is always selected too, as in the screenshot:

http://wstaw.org/m/2013/04/28/panel_alignment.png
Comment 36 Andreas Sturmlechner 2013-04-29 06:06:34 UTC
Hmm, I don't see that here - only center alignment is set.

So far, I have reproduced this on:
- different distributions (Gentoo, Kubuntu)
- single-monitor setups (bad)
- multi-monitor setups (worse)

And it's as easy to reproduce as starting with an empty .kde4 directory, removing the taskbar from the standard panel, and reducing minimal panel width to some sth below the used panel width.

Additionally, really bad panel clipping happens when switching resolutions (e.g. from plugging in a second monitor and adjusting to its bigger native res).
Comment 37 Simon Oroño 2013-05-06 02:23:02 UTC
Reproduced in Sabayon Linux (Gentoo based) using KDE SC 4.10.2
Comment 38 Andreas Sturmlechner 2013-06-05 09:47:41 UTC
As we have seen the bug in multiple configs, with and without systray, systray alone and widgets only, panel left/center/right align, this is a fundamental problem with how the plasma panel sets its required size and *imo* unrelated to any specific broken widget.

Also, there are actually two issues observed in this bug:
1.) panel size not refreshing (can be solved by simply unlock/lock widgets) e.g. after resolution change
2.) panel size wrong (no existing workaround except setting min size above required)

(2) is also easy to provoke as described in comment 36, and it works in both ways - most of the time it is simply set too small, but if you remove a few widgets you can confuse the panel to be too big and leave excess space to the right. It then won't reset itself unless plasma-workspace is restarted - unlock/lock widgets is not enough.
Comment 39 Andreas Sturmlechner 2013-06-05 10:01:34 UTC
Created attachment 80310 [details]
two systrays, both clipped, one of them massively

added another wonderful example of panel pain
Comment 40 tromzy 2013-06-12 13:47:52 UTC
I have this bug too. I have it since KDE 4.0, I had it on several different configurations, it NEVER worked properly. And it is still present in 4.10.4. It doesn't work for me with the regular task manager (nor with the "Icon-only" either of course), it doesn't work wether I have a systray or a clock in the panel. No configuration ever worked.
Comment 41 Andreas Sturmlechner 2013-06-16 15:12:04 UTC
Problem still exists in 4.10.80
Comment 42 Alex 2013-06-16 22:43:33 UTC
Created attachment 80567 [details]
Screen shot for problem in 4.10.4

I have pretty much given up any hope of this bug being resolved but just in case someone still cares here is a screenshot of the problem as of kde 4.10.4.  As we can clearly see, math was too hard.
Comment 43 Andreas Sturmlechner 2013-06-30 17:26:15 UTC
Created attachment 80870 [details]
screencast.avi

Working Title: "Unsolved: From Default Panel To Broken Panel In Less Than 10 Clicks"
Starring: plasma-workspace-4.10.90
Reproducible: Anytime, anywhere
Comment 44 Marco Martin 2013-07-02 08:55:15 UTC
the problem now has the same symptom but i think the reason is completely different.

i think is the new qml task widget that doesn't export anymore correct minimum/preferred/maximum size hints
Comment 45 Andreas Sturmlechner 2013-07-02 17:07:58 UTC
When you watch my video you can see that I actually remove the task manager widget from the panel, as described a few posts above, so it can't really have an influence there. In none of my attached screenshots will you find a task manager, just widget icons plus (sometimes) system tray involved.
Comment 46 Wolfgang Bauer 2013-07-05 12:07:30 UTC
(In reply to comment #44)
> the problem now has the same symptom but i think the reason is completely
> different.
> 
> i think is the new qml task widget that doesn't export anymore correct
> minimum/preferred/maximum size hints
According to http://forum.kde.org/viewtopic.php?f=67&t=111735 this IS NOT related to the task widget at all! I can reproduce this in 4.10.5 after removing the task widget. And in fact the task widget even compensates for the bug and makes it disappear.

Steps for reproduction:
- Add a new default panel (right-click on the desktop, select "Add Panel"->"Default Panel"
- [b]Remove[/b] the task widget from the panel
- move the [b]minimum size slider[/b] to the left.
The panel will resize to a smaller size and parts of the right end will get cut off.
The amount of the cut-off part seems to depend on the speed with which you move the slider.

It seems to be related to the systray plasmoid though. If I remove that one as well, I can't reproduce this anymore.

Another note: this seems to be just a refreshing problem. If I quit and restart plasma-desktop, the panel IS shown completely again.
Comment 47 Andreas Sturmlechner 2013-07-06 17:49:52 UTC
Created attachment 80993 [details]
clipped-panel no-taskbar refreshing-bug separate-systray

I have removed the system tray from my main panel to see if anything has changed since 2011. Turns out it's the same, with or without the system tray inside the panel.

This shows what both panels look like:
1.) right after startup
2.) after unlocking, then locking widgets

Heavy clipping at first, then less but still... on both panels.
Comment 48 Andreas Sturmlechner 2013-07-06 18:02:08 UTC
Created attachment 80994 [details]
excess-fat-panel no-taskbar refreshing-bug separate-systray

...this is what my panels can also look like, and again:
1.) right after startup
2.) after unlocking, then locking widgets

In addition to the main panel here having grown way above required size, we can also see the panel containing the system tray has lost its actual minimum size setting (which points to another bug 285075).
Comment 49 Andreas Sturmlechner 2013-07-06 18:06:25 UTC
And to reiterate: in none of the above screenshots is the task manager involved. It resides inside the only properly working (auto-hidden) panel on the left side of my desktop. If you're in doubt, watch the screencast.

This happens every single startup. The clipping is not something that simply goes away after a plasma restart.
Comment 50 Andreas Sturmlechner 2013-07-28 09:41:12 UTC
Just so that no one starts to think this has been solved: Bug still present in plasma-desktop-4.10.97!
Comment 51 xilef4040 2013-08-21 11:31:05 UTC
Bug still present in KDE 4.11 (Kubuntu 13.04). Since the 4.11 update my task manager on a centered bottom auto-hide panel NEVER adjusts the panel size. Before 4.11, this happened only sometimes and could be fixed by switching between the desktops. Now the panel always has its minimal size.
Comment 52 Andreas Sturmlechner 2013-08-21 13:54:30 UTC
(In reply to comment #51)
> Bug still present in KDE 4.11 (Kubuntu 13.04). Since the 4.11 update my task
> manager on a centered bottom auto-hide panel NEVER adjusts the panel size.
> Before 4.11, this happened only sometimes and could be fixed by switching
> between the desktops. Now the panel always has its minimal size.

Yes, I noticed as well, only after I had opened enough applications that the task bar would have had to increase in size above the minimum, but it didn't (it squeezed all the entries into the original size). I then grew min size (the panel followed suite) and shrank it again (the panel didn't follow), and kept its now too big size even after a restart. Only limiting its size via the max slider made it smaller again.

When I've got the time I will record another screencast.
Comment 53 Andreas Sturmlechner 2013-09-24 23:17:02 UTC
4.11.1 bug-still-present-bump

(In reply to comment #44)
> i think is the new qml task widget that doesn't export anymore correct
> minimum/preferred/maximum size hints
Unrelated-bug-reminder (perhaps we should open another one for that, as I can't find an existing task manager bug)
Comment 54 Chris 2013-10-15 13:31:28 UTC
Also experiencing this bug in KDE 4.11.2
Comment 55 Simon Oroño 2014-01-03 12:11:56 UTC
No change in KDE 4.12.0
Comment 56 Andreas Sturmlechner 2014-01-03 12:25:53 UTC
(In reply to comment #55)
> No change in KDE 4.12.0
Well, that's because there is no KDE 4.12.0 (ha! this time it's me)

plasma-workspace still is at 4.11.4, but yes that version still is flawed.
Comment 57 Andreas Sturmlechner 2014-03-09 13:53:17 UTC
I'm back to report that this is still happening in plasma-workspace-4.11.7.
Comment 58 icon 2014-04-24 09:00:25 UTC
Created attachment 86240 [details]
screen shots demonstrating panel clipping

I am also experiencing this issue.  Specifically for me it is related to the system tray widget.  If an icon gets addedit that will cause items to be clipped.
Comment 59 Andreas Sturmlechner 2014-05-20 21:59:51 UTC
Bug also present in kf5/plasma2
Comment 60 Julius Schwartzenberg 2014-06-24 20:04:08 UTC
I have this problem on Kubuntu 14.04 as well. One of my panels resized itself partially out of my screen.
Comment 61 Nate Graham 2018-06-08 18:48:04 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug is already resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham