Bug 179541 - Combobox works badly in plasma panels
Summary: Combobox works badly in plasma panels
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2009-01-03 20:57 UTC by Michał D. (Emdek)
Modified: 2009-05-18 15:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Custom combobox bug (using KHistoryComboBox), the same as when using Plasma::ComboBox (63.96 KB, image/png)
2009-01-03 21:01 UTC, Michał D. (Emdek)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał D. (Emdek) 2009-01-03 20:57:42 UTC
Version:            (using Devel)
Installed from:    Compiled sources

When you try to expand list of items of combobox that is inserted into panel it will be shown inside panels (I've two panels, top and bottom), not like expected. This very annoying but maybe it cannot be fixed (this could be Qt bug maybe). This happens for Plasma::ComboBox and for other combobox widgets that uses QGraphicsProxyWidget.
It's hard to explain for non English speaker, so I'll add a screenshot that explains it better.
Comment 1 Michał D. (Emdek) 2009-01-03 21:01:09 UTC
Created attachment 29872 [details]
Custom combobox bug (using KHistoryComboBox), the same as when using Plasma::ComboBox
Comment 2 Aaron J. Seigo 2009-01-03 22:50:21 UTC
this is really a problem with QGraphicsView. it puts *all* popups on the canvas. i'm not sure what the fix will end up being.... =/
Comment 3 Michał D. (Emdek) 2009-01-04 13:19:54 UTC
Not good. :-/
So we must wait, maybe someone will fix it in Qt (preferred) or try to workaround it in KDE (if possible)...
Comment 4 FiNeX 2009-04-26 01:22:45 UTC
The bug is still reproducible with Qt 4.5.0 and current trunk (r959285).
Comment 5 Aaron J. Seigo 2009-05-09 01:31:17 UTC
ok, so the people working on Qt will be introducing a fix for this which we will eventually get "for free" but it's an upstream thing, rather than a plasma bug.
Comment 6 Michał D. (Emdek) 2009-05-09 11:48:46 UTC
Ok. :-)
I guess that it is scheduled for Qt 4.6?
Comment 7 Aaron J. Seigo 2009-05-10 09:55:03 UTC
that's what i've heard; we'll see, and i'll try to keep it in their mind ;)
Comment 8 Michał D. (Emdek) 2009-05-18 15:21:48 UTC
I've found interesting flag that could be set for QWidget:

Qt::BypassGraphicsProxyWidget - Prevents the window and its children from automatically embedding themselves into a QGraphicsProxyWidget if the parent widget is already embedded. You can set this flag if you want your widget to always be a toplevel widget on the desktop, regardless of whether the parent widget is embedded in a scene or not.

Maybe if set for KComboBox menu  etc. could fix the problem?