Bug 368741 - Panel default horizontal size policy changed: Does not expand by default anymore
Summary: Panel default horizontal size policy changed: Does not expand by default any...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-13 11:09 UTC by Achim Bohnet
Modified: 2016-09-14 11:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Panel after I've made the vbox window shrinks horizontally (103.02 KB, image/png)
2016-09-13 11:10 UTC, Achim Bohnet
Details
panel after making the vbox window wider (89.68 KB, image/png)
2016-09-13 11:13 UTC, Achim Bohnet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Achim Bohnet 2016-09-13 11:09:45 UTC
neon dev unstable (master)
With making the Virtualbox window wider in horizontal direction, the panel does not expand to maximal width.  Panel does not change size and is left aligned.

Windows do not have the problem:
  Start konsole
  right-click on maximized button -> window maximzed in horizontal direction
  resize vbox window horizontally
 -> konsole follow the bigger width (panel does not :-( )


Reproducible: Always

Steps to Reproduce:
My environment: neon dev unstable (kde git master branch pkgs) in Virtualbox 5.0.24 (host kubuntu xenial)
1. Create a new user login
2. make the Vbox window bigger in horizontal direction.


Actual Results:  
Panel does not resize.  Is only left aligned

Expected Results:  
Panel is still maximised (stays left and right aligned) as in in the last years.

Windows do not have the problem:
  Start konsole
  right-click on maximized button -> window maximzed in horizontal direction
  resize vbox window horizontally
 -> konsole follow the bigger width (panel does not :-( )
Comment 1 Achim Bohnet 2016-09-13 11:10:54 UTC
Created attachment 101066 [details]
Panel after I've made the vbox window shrinks horizontally
Comment 2 Achim Bohnet 2016-09-13 11:13:33 UTC
Created attachment 101067 [details]
panel after making the vbox window wider
Comment 3 Achim Bohnet 2016-09-13 11:20:04 UTC
On each logout/login: Panel is maximzed again !  (until you resize the vbox window again):

* make window wider -> panel does not adapt to new horziontal size
* logout/login -> panel uses again the full horizontal width
* make window wider/shrink -> panel does not adapt to new horziontal size :-(
Comment 4 Marco Martin 2016-09-13 14:58:57 UTC
Git commit f7469f6f0f645836122febaa74e4bb601b8cdea1 by Marco Martin.
Committed on 13/09/2016 at 14:58.
Pushed by mart into branch 'master'.

restore panel when screen geometry changes

the panel size and position is saved per-screen resolution
so at different resolutions (or different screens) the panel always goes
back where it was with the size it had.
this should give a more deterministic behavior to the panel
when resizing the screen (like virualbox) or docking to
an external docking styation
reviewed-by: David Edmundson <david@davidedmundson.co.uk>

M  +1    -2    shell/panelview.cpp

http://commits.kde.org/plasma-workspace/f7469f6f0f645836122febaa74e4bb601b8cdea1
Comment 5 Achim Bohnet 2016-09-14 11:16:29 UTC
Thx, a lot Marco & David for fixing/reviewing it!  Works again after updating today neon dev unstable!

Achim
P.S. thx to kde neon crew for providing daily master packages!