Bug 162913 - menu on plasmoid shows behind other plasmoids
Summary: menu on plasmoid shows behind other plasmoids
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 163914 165085 166818 168282 168453 182767 189445 198656 207266 208914 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-30 21:34 UTC by jos poortvliet
Modified: 2011-07-07 09:31 UTC (History)
16 users (show)

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


Attachments
screencast showing the issue (725.18 KB, application/octet-stream)
2008-05-30 21:38 UTC, jos poortvliet
Details
Another notes-plasmoid glitch (245.47 KB, image/png)
2009-01-30 05:39 UTC, Maciej Mrozowski
Details
Bug illustration (246.23 KB, image/png)
2009-01-30 06:35 UTC, Ed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jos poortvliet 2008-05-30 21:34:11 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          latest gcc basic optimizations & no debug
OS:                Linux

When using the notes plasmoid I noticed it's menu didn't show in front but behind the rss applet. the menu also does move off-screen. I can also get the weather applet to show it's menu behind *some* other applets, but I was unable to find a certain way to reproduce it.

See the attached video, maybe it helps...
Comment 1 jos poortvliet 2008-05-30 21:38:54 UTC
Created attachment 25017 [details]
screencast showing the issue
Comment 2 Aaron J. Seigo 2008-06-16 04:58:43 UTC
bizarre; and probably not a plasma issue but a kwin composite issue. will investigate further before reassigning.
Comment 3 Marco Martin 2008-06-16 09:00:00 UTC
aaron: the menu on notes plasmoid is really nasty, it's not a window on its own... 
it's rendered as a widget on canvas instead! don't know why, it should be a normal popup menu but it's all wrapped into the proxy
plasmoids that do these things are also ones that will always be broken in the panel, even if i will be able to zoom the too big applets the menu will always exit from the top (and zoomed, omg)
Comment 4 Marco Martin 2008-06-29 20:56:23 UTC
*** Bug 163914 has been marked as a duplicate of this bug. ***
Comment 5 Marco Martin 2008-06-29 20:56:39 UTC
*** Bug 165085 has been marked as a duplicate of this bug. ***
Comment 6 Andrej Dundovic 2008-07-13 17:05:09 UTC
Just to add:
Ordinary right-click menus are, so called, "smart", so if they are opened near the edge of the screen they change the position (from default one: down-right) to some other side (relative to the cursor), but some* Plasma right-click menus are "stupid", so if there is no place for them to be opened on default place, they are still opened there so the user can't click on them (they are out of the screen).

*for example, one that you get if you press right click on text input field

Steps to reproduce:
- use Notes plasmoid and move it to the right edge of the screen
- right click on the field for text input
- Wou, menu goes out of the screen
The same thing can be achieved with the rotation of plasmoids.

Ver. KDE4.1 beta 2, Fedora rawhide
Comment 7 Davide Ferrari 2008-07-13 18:43:50 UTC
The same applies to the Twitter KDE plasmoid when righ-clicking on the text input field, but not on the rest of the plasmoid. Maybe someting related to text input?
Comment 8 Aaron J. Seigo 2008-07-17 11:36:44 UTC
*** Bug 166818 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2008-08-05 22:06:40 UTC
*** Bug 168453 has been marked as a duplicate of this bug. ***
Comment 10 Jason Stubbs 2008-08-14 11:58:08 UTC
This sounds exactly the same as the Qt441/system tray issue - but in reverse.
Comment 11 Aaron J. Seigo 2008-09-23 19:22:55 UTC
menus appearing in the wrong place is an upstream bug in Qt. they are aware of it, hopefully will fix it soon. we'll see. 

closing with UPSTREAM.
Comment 12 Christian Herzberg 2008-10-12 22:28:28 UTC
*** Bug 168282 has been marked as a duplicate of this bug. ***
Comment 13 Maciej Mrozowski 2009-01-30 05:32:17 UTC
Still present in trunk as of KDE 4.2.61 (KDE 4.2.61 (KDE 4.3 >= 20090127))
Comment 14 Maciej Mrozowski 2009-01-30 05:39:26 UTC
Created attachment 30735 [details]
Another notes-plasmoid glitch

I decided not to create yet another duplicate bug report for it, so I'm attaching my screenshot here - besides - please decide whether close this issue as UPSTREAM or INVALID.
Other plasmoids are not affected by this bug, what makes this plasmoid so unique that it needs to draw context menu in such way?
Comment 15 Ed 2009-01-30 06:35:11 UTC
Created attachment 30737 [details]
Bug illustration

Actually, its not only a context menu problem. If you rotate the notes plasmoid and choose Find or Replace from the context menu, the dialog box will be rotated as well. Also, the window decoration is different than the system default (oxygen) and the icon in the titlebar is the "Qt" icon.
Comment 16 Jonathan Thomas 2009-02-01 20:43:16 UTC
*** Bug 182767 has been marked as a duplicate of this bug. ***
Comment 17 Jonathan Thomas 2009-07-02 16:10:16 UTC
*** Bug 198656 has been marked as a duplicate of this bug. ***
Comment 18 Jonathan Thomas 2009-07-02 16:10:43 UTC
*** Bug 189445 has been marked as a duplicate of this bug. ***
Comment 19 Dario Andres 2009-09-17 02:25:43 UTC
*** Bug 207266 has been marked as a duplicate of this bug. ***
Comment 20 Dario Andres 2009-09-30 20:36:48 UTC
*** Bug 208914 has been marked as a duplicate of this bug. ***
Comment 21 Hector Martin 2009-10-18 03:27:18 UTC
There's definitely something odd here. Why are the child windows of the Notes widget rendered as plasma widgets themselves, and why only for Notes? That makes no sense.

The reason given for the UPSTREAM close was that it's a menu positioning problem. It's not - the underlying issue is that these windows are somehow sucked in and converted into plasma widgets, and this is an issue specific to Notes. This needs to be reopened until a real fix or cause can be found.
Comment 22 Hector Martin 2009-10-18 04:11:06 UTC
Sounds like a fix, although ugly, is possible:

http://mail.kde.org/pipermail/plasma-devel/2009-May/005855.html

The issue appears to be a result of embedding a "standard" widget into a plasma scene. Then every child of it shows up inside Plasma too.
Comment 23 Maciej Mrozowski 2009-11-04 07:18:04 UTC
Just to let you know it's still reproducible in 4.3.3 (just wanted to ask what UPSTREAM exactly is responsible for this and what upstream release of what is supposed to fix this).
Comment 24 Dario Andres 2009-12-28 20:33:51 UTC
This is workaround-ed in the Notes widget now since the SVN revision 1067021, which is going to be included in the next KDE SC 4.4 release. Thanks
Comment 25 Maciej Mrozowski 2010-03-27 02:40:05 UTC
It's still present in 4.4 branch as of 4.4.2 tag.
Quite frankly I don' think it's worth working around "per widget" as any plasma widget that contains something with context menu (like Dictionary with input box) is affected by this bug.
Comment 26 jos poortvliet 2011-07-07 09:31:57 UTC
Just FYI: this has been fixed, dunno when but it's no problem anymore in Plasma 4.6.x :D