Bug 227095

Summary: plasma web browser in top panel only resize in lower right corner
Product: [Unmaintained] plasma4 Reporter: Kevin Colyer <kevin>
Component: widget-webbrowserAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: asraniel, caionnew
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A visual description of my dilema

Description Kevin Colyer 2010-02-16 00:22:44 UTC
Version:            (using KDE 4.4.0)
OS:                Linux
Installed from:    Ubuntu Packages

I have the plasma web browser in a hiding panel to the top right of my screen. I like to click it and pop up a web page and hide it again for Google tasks etc.

The default size of the web browser is too small. This happens every log in (it does not remember it's window size.) This is not the difficult part although it would be nice to save window geometry.

The problem is in resizing. The sizing corner is in the lower right. With a web browser at the right edge of the screen you can not expand the width of the web browser as you are constricted by the screen edge. 

In 4.3 this was a problem but the sizing edge flipped at to the other size in a silent yet useful-ish manner. (Similar genre of problem if panel is vertically mounted)

The solution is to allow both corners of the web browser to resize the plasma window thing. PLEASE can this be looked into! 

Screenshot to be attached
Comment 1 Kevin Colyer 2010-02-16 00:24:11 UTC
Created attachment 40821 [details]
A visual description of my dilema
Comment 2 Kevin Colyer 2010-02-16 00:26:55 UTC
Comment on attachment 40821 [details]
A visual description of my dilema

To get the panel this wide I had to click and drag about 5 or 6 time from the bottom-right of the panel to the right edge of the screen. I naturally would have clicked bottom left and dragged.
Comment 3 disabled account 2011-05-28 17:45:31 UTC
Confirmed in 4.6.2.
Comment 4 Aaron J. Seigo 2011-12-16 14:02:04 UTC
Git commit af57a3f9090e2c4868e6d20cc08772665d9210bd by Aaron Seigo.
Committed on 16/12/2011 at 14:57.
Pushed by aseigo into branch 'KDE/4.7'.

allow controlling the resize a bit more

this allows e.g. popupapplet to put constraints on where the edges of the window can resize to
and react differently when the user is actively resizing the dialog.

CCBUG:227095

M  +54   -3    plasma/dialog.cpp
M  +25   -0    plasma/dialog.h
M  +8    -0    plasma/private/dialog_p.h

http://commits.kde.org/kdelibs/af57a3f9090e2c4868e6d20cc08772665d9210bd
Comment 5 Aaron J. Seigo 2011-12-16 14:02:04 UTC
Git commit a293caf4780ce6d31ea2f62e4e69e4bc5730b3bd by Aaron Seigo.
Committed on 16/12/2011 at 14:58.
Pushed by aseigo into branch 'KDE/4.7'.

allow resizing from both relevant corners of a popup dialog

also significantly cleans up the popup positioning code and fixes a
lurking bug where width() was used instead of height()

BUG:227095

M  +30   -58   plasma/popupapplet.cpp
M  +1    -1    plasma/private/popupapplet_p.h

http://commits.kde.org/kdelibs/a293caf4780ce6d31ea2f62e4e69e4bc5730b3bd