Bug 181191 - Plasma panel "Maximize" issues
Summary: Plasma panel "Maximize" issues
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2009-01-18 17:23 UTC by Stefan Usenbinz
Modified: 2009-04-27 11:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Freshly added panel (41.65 KB, image/png)
2009-01-18 17:24 UTC, Stefan Usenbinz
Details
Panel moved to the right. Can't decide whether to stay below horizontal panels or paint over it. (54.40 KB, image/png)
2009-01-18 17:25 UTC, Stefan Usenbinz
Details
Maximize first time. Does not look maximized at all. (71.66 KB, image/png)
2009-01-18 17:26 UTC, Stefan Usenbinz
Details
Centered between horizontal panels. (71.63 KB, image/png)
2009-01-18 17:27 UTC, Stefan Usenbinz
Details
Back to top alignment in two steps. Not really maximized. (71.46 KB, image/png)
2009-01-18 17:28 UTC, Stefan Usenbinz
Details
Back to top alignment in one step. Maxmized to screen size. (69.90 KB, image/png)
2009-01-18 17:29 UTC, Stefan Usenbinz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Usenbinz 2009-01-18 17:23:32 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Kubuntu 8.10 with KDE 4.1.96 packages installed (Version 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)))

Trying to document some issues/inconsistencies with resizing a vertical panel using "Maximize Panel" with some screenshots.

1. Initially there are two horizontal panels. Adding another one adds a vertical panel on the left (see panel_1_add.png). Issue: might be personal opinion, but painting over the exiting panels does not look nice to me.

2. Panel should go to the right, so move there (see panel_2_move.png). Issue: while the panel itself paints over the horizontal panels the controller hides itself under the other panels. This is bascially Bug 179715.

3. Close Settings dialog, open it again and select "Maximize Panel" (see panel_3_maximize.png). Issue: this look weird. Seems the top alignment refers to the top of the screen, but the height of the panel is determined by the space between the two horizontal panels. Result is not what I would call "maximized".

4. Close dialog, open it again and select alignment "Center" (see panel_4_center.png). Minor issue: Ok, this look almost right. Uses space between the two horizontal panels. Just overlaps slightly (few pixels) with the top one while there is a gap to the bottom one.

5a. Now close dialog, open it to choose top alignment, close it, open it and maximize gives result as before (see panel_5_top_max_two_step.png)...
5b. ...BUT: if selecting the very same options without closing the dialog in between (i.e. close dialog, open, select top alignment, do NOT close, select maximize) gives a different result (see panel_7_top_max_one_step.png). The panel now overlaps both horizontal panels again. This is inconsistent. It should not matter whether the dialog has been closed between those actions or not.

At this point panel will stay maximized from top to bottom of the screen unless manually resized. I.e. the smaller sizes from step 3-5a do not occur anymore.

I am not sure what the intended behavior of "Maximize" is, i.e. 
- maximize to size of screen or
- maximize to available space between horizontal panels
(where I personally prefer the second one since I don't like overlapping panels painting over each other, but personal tastes and use cases vary), but at least it should behave consistent.
Comment 1 Stefan Usenbinz 2009-01-18 17:24:25 UTC
Created attachment 30386 [details]
Freshly added panel
Comment 2 Stefan Usenbinz 2009-01-18 17:25:31 UTC
Created attachment 30387 [details]
Panel moved to the right. Can't decide whether to stay below horizontal panels or paint over it.
Comment 3 Stefan Usenbinz 2009-01-18 17:26:33 UTC
Created attachment 30388 [details]
Maximize first time. Does not look maximized at all.
Comment 4 Stefan Usenbinz 2009-01-18 17:27:11 UTC
Created attachment 30389 [details]
Centered between horizontal panels.
Comment 5 Stefan Usenbinz 2009-01-18 17:28:17 UTC
Created attachment 30390 [details]
Back to top alignment in two steps. Not really maximized.
Comment 6 Stefan Usenbinz 2009-01-18 17:29:14 UTC
Created attachment 30392 [details]
Back to top alignment in one step. Maxmized to screen size.
Comment 7 Stefan Usenbinz 2009-01-18 18:54:43 UTC
Just for the records since a different system just completed its initial kdesvn-build: behavior is the same on trunk as of r912787.
Comment 8 Aaron J. Seigo 2009-01-18 23:43:26 UTC
executive summary:

* maximize bases the size on availableGeometry rather than screen geoetry, but always positions at pos 0 on the screen rect rather than the available geometry rect.

* when adding a panel, the initial size is not calculated the same way as it is in maximize panel. the two implementations should be made the same.

the other issues you note have reports open for them elsewhere already. (please, one issue per report.)
Comment 9 Ruchir Brahmbhatt 2009-04-26 12:15:29 UTC
Newly added vertical panel covers part of horizontal panels. The size should automatically adjust to use available space instead of covering existing panels.