-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KDE plasma] Right-click on systray icon does nothing #5960
Comments
@guruz FYI Going to try compiling from source to see if the problem is with the bundled libs. |
Checked out v2.3.3-rc1 from source:
I also have a Tumbleweed box but there is currently no package so I can't test.
|
thanks for testing. the cmake call for using the bundled Qt is something like this
|
from the build log:
|
after some struggles I got it running:
right-click doesn't work here. |
The packaged owncloud-client works if I start it with: OWNCLOUD_FORCE_QDBUS_TRAY_WORKAROUND=1 owncloud right click works then |
We tried other things like We checked LD_DEBUG and lsof to check if other Qt libs were loaded, but none outside of "/opt/ownCloud" were loaded. Also apparently no KDE theme plugin. |
I've setup a Leap 42.3 VM (my local system is 42.2). Inside that VM, the owncloud client works fine and the right click works. Would need to test again with a 42.2 VM with older Qt to confirm if this whole issue is about some incompatibilities. |
this also means that bundling 5.6.2 for Leap 42.3 is a bit superfluous... |
Tumbleweed packages with bundled Qt are there: |
Just tested Tumbleweed package owncloud-client-2.3.3~rc1-8194.1.x86_64. |
I've updated the test results post: #5960 (comment) |
Apply this for leap 42.2 ? %if 0%{?is_opensuse} && 0%{?suse_version} == 1315 && 0%{?sle_version} == 120200 |
I'm fine with this if @guruz is as well. Let's hope it's the only affected version. There is a slight risk that other distros with older Qts might be affected as well, or at least those which are on 5.6.1. |
I'd attribute the risks more to distro specific patches and corner case config. E.g. opensuse Leap is the only distro that needs a patch, so that our icons show up properly. |
@jnweiger Which patch is this? |
|
@jnweiger tested Leap 42.2 with the patched package, right-click works for me. owncloud-client-2.3.3~rc1-8196.1.x86_64 |
From my understanding this patch works around a KDE feature to provide themed icons, and this isn't related to the tray icon context menu. I looked at the libqt5-qtbase patches and I can't find much related to the tray icon, so it's quite possible that this also affect other distros. I just hope that this would be specific to Qt 5.6.1 and not earlier versions as well. |
What's the conclusion on this now? Does this need more package patches/workarounds @SamuAlfageme ? #5960 (comment) FYI @jnweiger If not please close this issue so we can proceed with a 2.3.3 final :-) |
Nothing more from me, feel free to close. |
Hm, what is the conclusion now? Remember that there still is also downstream... Do I need to include the patch in the 'official' openSUSE Tumbleweed packages? Obviously not, as Tumbleweed is on Qt version 5.9.1currently. Is it needed for the released Leap versions? And for which? I am talking about this patch:
Can anybody outline what this patch actually does? Thanks. A bit more communication on these kind of things would be great... I guess the packaging-mailinglist was killed? |
I think there is a bug in one version of plasma that needs the work around. |
I'm closing this for now. |
Steps
Actual result
Right-click doesn't work but left click does display the popup.
Expected result
Right-click must bring up the menu.
Env
The text was updated successfully, but these errors were encountered: