Bug 279482 - it is possible to resize a plasma panel to zero size
Summary: it is possible to resize a plasma panel to zero size
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 266988 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-05 20:10 UTC by illumilore
Modified: 2011-12-06 22:58 UTC (History)
4 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 illumilore 2011-08-05 20:10:20 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

When resizing a panel, it is possible to drag the panel resize arrows and move them to the arrows on the other side of the panel, making the panel zero size and making it disappear with no way to reopen it and losing all changes made to that panel and the panel itself.

Reproducible: Always

Steps to Reproduce:
see above

Actual Results:  
see above

Expected Results:  
see above
Comment 1 Maxim Levitsky 2011-10-19 02:52:31 UTC
Can't confirm that on KDE 4.7.2. There is small but adequate minimal size even with empty panel
Comment 2 Reza 2011-11-25 09:51:34 UTC
Just tried with latest master.

It happened when the panel was resized using the most left slider dragged to the right side of screen.
And this problem didnot appear when the panel resized using the most right slider dragged to the left side of screen.
Comment 3 Aaron J. Seigo 2011-12-03 10:37:36 UTC
so we don't lose this bit of information:

[11:29] <rshah> aseigo: regarding this bug 279482, the broken file was plasma-desktop-appletsrc
[11:30] <rshah> the value at containment for panel was geometry=0,-34,0,28
Comment 4 Pieter Vande Wyngaerde 2011-12-03 13:52:28 UTC
(From irc #plasma) pingupingu: a very very quick look at the panelcontroller.cpp. there seems to be a static const int MINIMUM_HEIGHT = 10; line 79, shoudlnt there be one like this for the width too? so you cant get the width down to 0?
Comment 5 Marco Martin 2011-12-06 22:17:06 UTC
*** Bug 266988 has been marked as a duplicate of this bug. ***
Comment 6 Marco Martin 2011-12-06 22:58:23 UTC
Git commit 56983b9cf04a34492593484fd7533c6f7d9454de by Marco Martin.
Committed on 06/12/2011 at 23:55.
Pushed by mart into branch 'master'.

check for minimum size during dragging

it was done when moving sizing handles, not the offset one
BUG:279482

M  +10   -0    plasma/desktop/shell/positioningruler.cpp

http://commits.kde.org/kde-workspace/56983b9cf04a34492593484fd7533c6f7d9454de