Bug 239030

Summary: Widget browser in plasma-netbook doesn't recognise horizontal panel
Product: [Plasma] plasma4 Reporter: Marcus Harrison <marcus>
Component: plasma-netbookAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of the vertical widget picker

Description Marcus Harrison 2010-05-27 18:08:36 UTC
Version:           unspecified (using KDE 4.4.2) 
OS:                Linux

When the plasma panel in plasma-netbook is horizontal, the plasma widget browser slides out from it as expected. However, it takes the width of two widget items and displays the widgets in a horizontal fashion, as well as cramping the search bar and widget groups together at the top as if it were being displayed horizontally.

Reproducible: Always

Steps to Reproduce:
Start plasma-netbook, unlock the panel, click the cashew and drag it to one of the sides (mine is on the left). It will appear horizontally. Make it wider for the sake of aesthetic. With the cashew menu still open, click, "Add Widgets".

Actual Results:  
The widget browser scrolls horizontally and additional options (search, groups and get new widgets) appear at the top as if expecting a horizontal panel.

Expected Results:  
The widgets should scroll vertically and the additional options should show vertically nearest the centre of the screen (furthest from the panel). Whether the text should also be vertical or the dialogue should be made wider to accommodate horizontal text is debatable.

OS: Linux (i686) release 2.6.32-21-generic
Compiler: cc
Comment 1 Marco Martin 2010-05-27 18:27:41 UTC
can you provide a screenshot?
Comment 2 Marcus Harrison 2010-05-27 22:02:26 UTC
Created attachment 43955 [details]
Screenshot of the vertical widget picker

This shows the widget picker when used with a vertical panel: the width of the picker seems to vary with the plasma theme in use, the weather and stages of the lunar cycle.
Comment 3 Aaron J. Seigo 2010-06-01 22:56:37 UTC
SVN commit 1133508 by aseigo:

set the explorer's orientation based on where the panel is
BUG:239030


 M  +3 -0      plasmaapp.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1133508