Bug 176464 - toolbox is obscured by windows when opened
Summary: toolbox is obscured by windows when opened
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:
: 174052 177912 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-29 17:33 UTC by Javier G.
Modified: 2009-06-27 23:42 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Here is an example of how reproduce it (103.30 KB, image/png)
2008-11-29 17:36 UTC, Javier G.
Details
aply to folder kdelibs/plasma/private (8.72 KB, patch)
2008-12-27 03:23 UTC, Lukas Dolezal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Javier G. 2008-11-29 17:33:51 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

This happens if you have a panel very close to the cashew widget:

You click in the cashew widget it will expand the options list (zoom in, zoom out, etc...).
Then if you move the mouse over an option AND down of the mouse cursor is placed a planel the options list will collapsed again, like when your mouse cursor leave the cashew box.
Comment 1 Javier G. 2008-11-29 17:36:51 UTC
Created attachment 28927 [details]
Here is an example of how reproduce it

Uploaded a graphical example of how to reproduce it.The cashed options list is touching a panel, if your mouse cursor is moved over an option that touch a panel... the options list is gone.
Comment 2 Javier G. 2008-11-29 17:43:50 UTC
Sorry but I forgot to include what KDE version I'm using :S 

$kde4-config --version

Qt: 4.4.3
KDE: 4.1.81 (KDE 4.1.81 (KDE 4.2 >= 20081128))
kde4-config: 1.0
Comment 3 Jesse L. Zamora 2008-11-30 02:35:14 UTC
In fact, the cashew options should be ABOVE the panel! And I also notice this bug, so maybe I'll grep through the code here and see what's the issue.
Comment 4 Aaron J. Seigo 2008-12-01 02:46:49 UTC
there's a TODO in kdelibs/plasma/private/toolbox.cpp on line 394:

        //FIXME: adjust for situations like changing of the available space

the other place this "don't run into the panels" check needs to be made is in ToolBox::mouseMoveEvent
Comment 5 Jesse L. Zamora 2008-12-01 03:00:35 UTC
Ok thanks aseigo, I'm on it! :-) Unless someone else is working on it... :-(
Comment 6 Aaron J. Seigo 2008-12-08 17:14:08 UTC
*** Bug 174052 has been marked as a duplicate of this bug. ***
Comment 7 Aaron J. Seigo 2008-12-17 04:42:13 UTC
*** Bug 177912 has been marked as a duplicate of this bug. ***
Comment 8 Lukas Dolezal 2008-12-27 03:23:51 UTC
Created attachment 29659 [details]
aply to folder kdelibs/plasma/private

Hi,

this patch should fix this bug :)
Comment 9 Lukas Dolezal 2008-12-27 03:54:02 UTC
For my last patch, I found one other bug:

when panel isn't maximized, then desktop containment compute available free space still as whole screen (or as there is no panel) and with it toolbox can move again under panel..
It is because of desktop avail. space is in QRegion also with free space around unmaximized panel, then boundingRect of this Region is bigger.. this is one hand hand good, but in this case non. It should be one extra function in Corona, that represent "inner bounding box" for containment :)
Comment 10 A. Spehr 2009-04-22 14:32:32 UTC
Plasma is now using reviewboard, so you should probably put your patch there. Thanks!
Comment 11 Jaime Torres 2009-04-26 10:54:33 UTC
It looks like the original bug is solved in svn r954171 (kde 4.2.70).
Do you still see it?
Comment 12 Beat Wolf 2009-06-27 12:50:37 UTC
This bug can probably be closed since the original bug seems fixed.