Bug 423603 - Some app system tray context menus render in the wrong location
Summary: Some app system tray context menus render in the wrong location
Status: RESOLVED DUPLICATE of bug 421275
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.18.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-28 03:11 UTC by Freddie Spencer
Modified: 2020-06-29 20:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
image of context menus in wrong location (1.61 MB, image/png)
2020-06-28 03:11 UTC, Freddie Spencer
Details
Second attemp on a fresh Fedora 32 base (242.46 KB, image/jpeg)
2020-06-29 18:22 UTC, Freddie Spencer
Details
Tray menu icon offset 2x (295.98 KB, image/png)
2020-06-29 18:38 UTC, Adomas Jackevičius
Details
Tray menu icon offset 1x (150.81 KB, image/png)
2020-06-29 18:38 UTC, Adomas Jackevičius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Freddie Spencer 2020-06-28 03:11:39 UTC
Created attachment 129734 [details]
image of context menus in wrong location

SUMMARY
The context menus from the system tray open in the wrong location for some applications.  It happens with at least Mumble and Nextcloud-client. I suspect it has to do with them both being QT based but I'm not sure.

STEPS TO REPRODUCE
1. Run Mumble or Nextcloud
2. Right click the tray icon and see the context menu open in the wrong place.

OBSERVED RESULT
The context menu opens too high on the screen.

EXPECTED RESULT
The context menu should open close to the tray icon.

Operating System: Manjaro Linux 
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Kernel Version: 5.6.16-1-MANJARO
OS Type: 64-bit


ADDITIONAL INFORMATION
Comment 1 Adomas Jackevičius 2020-06-28 21:16:57 UTC
Can't reproduce the issue with latest versions:

Arch Linux
KDE Frameworks 5.71.0
KDE Plasma 5.19.2
Qt 5.15.0
nextcloud-client 2.6.4

Tried with and without scaling, as at first look it seemed to be scaling related. Also tried with single and with multi monitor setups.
Comment 2 Freddie Spencer 2020-06-29 18:22:03 UTC
Created attachment 129772 [details]
Second attemp on a fresh Fedora 32 base

In order to double check it's not a distro specific bug I tried again on a fresh copy of Fedora 32 (from usb). I also used different hardware.  This time a laptop with integrated graphics instead of a desktop with 2 screens and an nvidia card.  Same results.

Is it possible you're not using the default panel for kde?

Operating System: Fedora 32
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.13.2
Kernel Version: 5.6.6-300.fc32.x86_64
OS Type: 64-bit
Comment 3 Adomas Jackevičius 2020-06-29 18:38:08 UTC
Created attachment 129774 [details]
Tray menu icon offset 2x
Comment 4 Adomas Jackevičius 2020-06-29 18:38:30 UTC
Created attachment 129775 [details]
Tray menu icon offset 1x
Comment 5 Adomas Jackevičius 2020-06-29 18:41:25 UTC
Could reproduce, but could not gather more info on this. Not sure if plasmashell should report something, or some other process. It might be something to do like Freddie wrote, that it's Qt based. For example I have one more app that is not from KDE, but is Qt based and it's context menu in tray does not appear at all. That is Telegram 2.1.13 and I'm pretty sure before it had context menu.
Comment 6 Konrad Materka 2020-06-29 20:27:54 UTC
Cannot reproduce with KDE Neon distribution, but was able with latest Manjaro:
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0

Probably related to Bug 421275
Comment 7 Konrad Materka 2020-06-29 20:51:28 UTC
Definitely a duplicate of Bug 421275. I just reproduced this issue with Muble, with fix it no longer happens. I will try to backport this fix to 5.19 (and maybe 5.18)

*** This bug has been marked as a duplicate of bug 421275 ***