Bug 190708 - Minimum width of vertical panels is not correctly enforced
Summary: Minimum width of vertical panels is not correctly enforced
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-26 14:48 UTC by Alan Jenkins
Modified: 2009-06-23 15:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing too-narrow vertical panel (79.38 KB, image/png)
2009-04-26 14:48 UTC, Alan Jenkins
Details
Panel pix (11.68 KB, image/png)
2009-06-23 15:06 UTC, Jonathan Thomas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Jenkins 2009-04-26 14:48:14 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

If you put a panel on the side of the screen, it can be resized to smaller than the minimum width of the individual applets. E.g. the Kickoff menu icon will be too big, and will be cut off. This is in contrast to panels on the bottom of the screen, which correctly enforce the minimum height.
Comment 1 Alan Jenkins 2009-04-26 14:48:53 UTC
Created attachment 33120 [details]
Screenshot showing too-narrow vertical panel
Comment 2 Aaron J. Seigo 2009-05-12 21:57:38 UTC
the example given is a bit absurd, actually: the clock and sytem tray do not have enough room to show their contents in any reasonable form. i assume it's the system tray in this case which is forcing the layout to be wider, which in turn will force all the other widgets to be similarly sized larger. can you remove the wigets in that panel one by one (start with the system tray, then the clock, then the pager, then whatever else in whatever order you wish) and report back which one, when removed, allowed the panel to lay out correctly?
Comment 3 Alan Jenkins 2009-05-13 15:05:35 UTC
(In reply to comment #2)
> the example given is a bit absurd, actually: the clock and sytem tray do not
> have enough room to show their contents in any reasonable form.

Ah.  I assumed a minimum width was intended but not enforced.  I see what you mean, plasma doesn't enforce much of a minimum height on horizontal panels.  So a more accurate description of the bug is that the widgets are not shrinking to match the panel size.

> i assume it's
> the system tray in this case which is forcing the layout to be wider, which in
> turn will force all the other widgets to be similarly sized larger. can you
> remove the wigets in that panel one by one (start with the system tray, then
> the clock, then the pager, then whatever else in whatever order you wish) and
> report back which one, when removed, allowed the panel to lay out correctly?

Removing the system tray doesn't fix it.  I _think_ it lowers the minimum width, but it's difficult to be sure.

I deviated from your suggested order and removed the pager next.  That fixed it completely.

If I re-add the pager to the panel, the problem does *not* reappear.
Comment 4 Jonathan Thomas 2009-06-23 15:06:55 UTC
Created attachment 34762 [details]
Panel pix

Looks fine in KDE 4.3, aside from the clock applet, which in my opinion probably couldn't get any better due to the extreme skinniness of the panel.