Bug 377019

Summary: [copyq-git, qt5 build] why menu is soo high?
Product: [Plasma] plasmashell Reporter: fademind
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: fademind, kde, kde
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
URL: https://github.com/hluk/CopyQ/issues/639
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description fademind 2017-02-28 14:13:56 UTC
Developer of copyq clipboard manager asked me about submit new bug directly to KDE Developers.

ISSUE

Context Menu from CopyQ Tray Icon in Plasma 5 DE is showed higher than should be:
https://cloud.githubusercontent.com/assets/9846948/22987121/0ae9feaa-f3ae-11e6-89e3-3f5edc98b3ae.png

Please read full ISSUE report from here: https://github.com/hluk/CopyQ/issues/639

DE: Plasma 5.9.2
KF5: 5.31.0
Distro: Manjaro Linux KDE x86_64
App: copyq-git 1:2.9.0.r112.g06865d5f-1
Comment 1 fademind 2017-02-28 14:17:57 UTC
AFAIK the menu works fine in other desktop environments.
Comment 2 David Edmundson 2017-02-28 15:50:58 UTC
can you test something:

close copyq

unset 
XDG_CURRENT_DESKTOP
KDE_FULL_SESSION

and see if it still happens?

Also ideally can you get a log from running dbus-monitor and then opening the menu.
Comment 3 Kai Uwe Broulik 2017-03-01 11:03:57 UTC
Most likely a scaling issue, e.g. Plasma using 1x scaling and the app being 2x scaled which results in a mismatch and as such in a misplaced menu.
Comment 4 David Edmundson 2017-03-03 00:33:54 UTC
Just read upstream, they're changing the number of items in repsonse to aboutToShow; they're sending the new data after we've resized the popups.

They claim it's us with the bug, I'm not very convinced. If they want to send us a bustle log, we can see either way.

Anyway, they've worked round it upstream so that the we get the DBus reply from aboutToShow before they signal layoutChanged. Seems to work.