Bug 252576 - plasma popups and tooltips do not appear adjacent to their associated panel widget
Summary: plasma popups and tooltips do not appear adjacent to their associated panel w...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: 4.8.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 291145 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-27 20:04 UTC by Myk Taylor
Modified: 2018-06-08 19:51 UTC (History)
4 users (show)

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


Attachments
screenshot of quicklaunch menu appearing out of position (84.21 KB, image/jpeg)
2010-09-27 20:04 UTC, Myk Taylor
Details
screenshot of pager hover popup appearing out of position (91.27 KB, image/jpeg)
2010-09-27 20:05 UTC, Myk Taylor
Details
plasma config files that cause the error (8.49 KB, application/gzip)
2011-01-10 00:29 UTC, Andre Erler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Myk Taylor 2010-09-27 20:04:49 UTC
Created attachment 52033 [details]
screenshot of quicklaunch menu appearing out of position

Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

After a few weeks of working correctly, plasma popups have started becoming detached from their associated widgets.  This has happened on three separate computers: things will work for a while, but after a few reboots, this issue will appear.  It has happened with both 4.5.0 and 4.5.1 installations.

Some examples are if I r-click on a widget in the panel (bottom of the screen), the context menu will appear flush with the top of the screen.  Clicking on the quicklaunch menu will cause it to appear at mid-screen and animate upwards to the top of the screen.  Popup notifications will also appear at the top of the screen instead of adjacent to the system tray.  I attached a few screenshots to illustrate.

If I move the panel to the top edge of the screen and hover over the pager or the clock, the popup will still appear exactly against the top edge of the screen and disappear endlessly (I suppose because the mouse cursor is already over it).

placement of the context menu when r-clicking on other applications, such as in a konsole window, is still correct.

Reproducible: Always

Steps to Reproduce:
It "Happens every time" after it starts happening, though I don't know exactly what causes it to start happening.  It /seems/ like it has something to do with adding and removing widgets to the main panel.  This last time it happened after I added the Weather Forecast "Extra Item" to the system tray, and then the system crashed before I could configure it (display-driver related).

Actual Results:  
Plasma-generated popups appear at the top of the screen.

Expected Results:  
Plasma-generated popups appear adjacent to their associated widgets.

The only way I have found to fix the problem is to clear my .kde4 directory and start from scratch.
Comment 1 Myk Taylor 2010-09-27 20:05:43 UTC
Created attachment 52034 [details]
screenshot of pager hover popup appearing out of position
Comment 2 Myk Taylor 2010-09-27 20:11:38 UTC
Another note on this bug.  Once this issue manifests itself, I notice a change in the behavior of the pager.  If I drag a window from one desktop to another using only the pager (i.e. drag a window silhouette from one box to another), when I release the mouse button, the window does not "stick".  I need to click again to cause the window to move to the target desktop.  Additionally, if I drag from, say, desktop 1 to desktop 2, release, then move the cursor to desktop 3 and click, the window will move to desktop 3, not desktop 2 like it usually would.
Comment 3 Myk Taylor 2010-09-27 20:16:55 UTC
You can probably see it from the screenshot, but here is a description of how I have configured my panel:

1) changed height so that 2 rows of icons can appear in the system tray
2) widgets (left to right):
quicklaunch, pager, task manager, input method panel, system load viewer, system tray, digital clock

Please tell me if you need any more information (such as how I have configured each widget, kwin settings, etc.)
Comment 4 Aaron J. Seigo 2010-09-27 20:44:49 UTC
if you can track down a concrete method to reproduce, that would be handy.

hopefully this isn't related to x.org / kephal giving us bad screen geometries at some point.

do the out of place items always appear in the top left, or do they align horizontally with the item they are supposed to be associated with?
Comment 5 Myk Taylor 2010-09-27 21:13:45 UTC
(In reply to comment #4)
> if you can track down a concrete method to reproduce, that would be handy.
I'll give it a try.

> hopefully this isn't related to x.org / kephal giving us bad screen geometries
> at some point.
Is there some way I can test for this?

> do the out of place items always appear in the top left, or do they align
> horizontally with the item they are supposed to be associated with?
They align horizontally.
Comment 6 Myk Taylor 2010-09-28 17:46:47 UTC
It just happened to my other computer now.  The catalyst seems to be a hard crash (this one was suspend-related).  My Input Method Panel settings seem to have been reset as well, since all the icons that I had previously filtered out are back.
Comment 7 Myk Taylor 2010-10-01 02:17:50 UTC
creating a new panel also gets things working again.  Which files contain the settings for the panel?  I can create 2 panels, one that works and one that doesn't and diff the settings.
Comment 8 Aaron J. Seigo 2010-12-14 05:22:54 UTC
plasma-desktoprc and plasma-desktop-appletsrc
Comment 9 Myk Taylor 2010-12-19 08:42:35 UTC
I have not been able to reproduce this bug since 4.5.3
Comment 10 Andre Erler 2011-01-06 17:22:46 UTC
I have exactly this bug in KDE 4.5.3.

It appeared on both my laptop and my desktop at the same time.

I am running kubuntu 10.4, and used to have KDE 4.4.
The day before yesterday (Jan 04 2011) there was a regular update of a whole bunch of KDE-related packages; after updating/installing these packages this behavior appeared. 

In the hope it would resolve the problem, I installed the backports of KDE 4.5. Now I'm running KDE 4.5.3 on kubuntu 10.4 (64bit) on both my machines and both still exhibit this behavior.
Comment 11 Andre Erler 2011-01-06 17:33:58 UTC
One more observation: on my desktop I have two monitors. I have two panels on the right monitor, but all popups coming from the panel-widgets appear on the left monitor (and close to the top of the screen, as described above). There is still some horizontal alignment, but with an offset of one screen width (I'm using the panorama configuration from the NVidia proprietary driver, so that both screens together function as one big screen).
Comment 12 Andre Erler 2011-01-07 19:13:03 UTC
I've upgraded my distro to 10.10 and the bug persists.
Comment 13 Andre Erler 2011-01-10 00:27:23 UTC
I was able to resolve the issue by deleting the plasma config-files in ~/.kde/share/config (plasm*) and adding all widgets from scratch again. I've attached the config-files that caused the error, in case anyone is interested...
Comment 14 Andre Erler 2011-01-10 00:29:24 UTC
Created attachment 55792 [details]
plasma config files that cause the error
Comment 15 Thijs 2012-01-11 10:40:53 UTC
*** Bug 291145 has been marked as a duplicate of this bug. ***
Comment 16 Thijs 2012-01-11 10:42:42 UTC
Re-reported for KDE 4.7.4 in bug 291145 with a bit of discussion overthere.

Questions for Adrian:
Do you have the same issue when you create a new user? Also, do you know what software was updated? X.org, Qt or KDE are likely candidates to look for.

The other reporters also saw other tooltips and popups being displaced. Is this true for you as well?
Comment 17 Olan 2012-01-11 15:54:40 UTC
So einfach kann es gehen. Ich habe noch mal neu gestartet und alles war wieder beim alten. Zuvor habe ich einen anderen User angelegt und dort war es auch normal. Danach wechselte ich wieder zu meinen Benutzername und alles lief wieder wie immer.

Vielen Dank für Eure Hilfe!
Merlo Adrian



So simple it can go. I've started it again and again everything was back to normal. Previously, I created another user and there was also normal. Then I switched back to my user name and everything went back to normal.

Thank you for your help!
Merlo Adrian
Comment 18 Olan 2012-01-11 16:00:20 UTC
So einfach kann es gehen. Ich habe noch mal neu gestartet und alles war wieder beim alten. Zuvor habe ich einen anderen User angelegt und dort war es auch normal. Danach wechselte ich wieder zu meinen Benutzername und alles lief wieder wie immer.

Vielen Dank für Eure Hilfe!
Merlo Adrian



So simple it can go. I've started it again and again everything was back to normal. Previously, I created another user and there was also normal. Then I switched back to my user name and everything went back to normal.

Thank you for your help!
Merlo Adrian
Comment 19 Myriam Schweingruber 2012-05-17 18:43:37 UTC
Seems to be fixed, based on comment #17
Comment 20 Myk Taylor 2012-05-17 21:03:55 UTC
It still seems to happen every once in a while (I'm on kde-4.8.1 now), but only once or twice, then it corrects itself.  Seeing as the problem can still occur, the solution currently implemented appears to be more like a *hack* than a *fix*, but, as an end user, it's good enough for me : p
Comment 21 Myriam Schweingruber 2012-05-19 21:26:07 UTC
Myk: thank you for your feedback. I am reopening based on your comment as it is not really fixed.
Comment 22 Nate Graham 2018-06-08 19:51:57 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug is already resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham