Skip to content
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

With certain Linux Desktops: Systray icon bug #2123

Closed
markusbeck-owncloud opened this issue Aug 28, 2014 · 46 comments
Closed

With certain Linux Desktops: Systray icon bug #2123

markusbeck-owncloud opened this issue Aug 28, 2014 · 46 comments
Assignees
Labels

Comments

@markusbeck-owncloud
Copy link

Hi folks,

I'm using Debian package owncloud-client (1.6.2+dfsg-1) on an Debian Jessie System with XFCE.
Unfortunately I cannot see the systray icon.

Notification Area panel is installed (http://docs.xfce.org/xfce/xfce4-panel/systray). I can hide/unhide the icon there but nothing is visible in the systray.

When is start owncloud from the terminal there is no output. It's running fine.

Any ideas?

@dragotin
Copy link
Contributor

honestly, we do not really have an idea. I think this is a support topic rather than a bug which you should maybe ask on the forum.

@markusbeck-owncloud
Copy link
Author

@guruz guruz closed this as completed Aug 31, 2014
@guruz
Copy link
Contributor

guruz commented Aug 31, 2014

When is start owncloud from the terminal there is no output. It's running fine.

You can by the way run owncloud --logfile - maybe that shows something relevant

@markusbeck-owncloud
Copy link
Author

@guruz: There is nothing in the log files, related to this problem.

But I made some progress on this.
I have a laptop and external monitor conntected. With xrandr you can see all active / inactive displays.

After completly disabling my Notebook screen with

xrandr --output $DISPLAY_LAPTOP --off

suddenly the ownCloud sync icon appeared. But not in the systray. It appeared in the top left corner of the screen.

Really weird. Maybe this problem is related to the output device. ownCloud sync client may not check the active / used / actual screen.

@Pontax
Copy link

Pontax commented Sep 10, 2014

I also have the same problem.
What should I do to solve it ?

@markusbeck-owncloud
Copy link
Author

Unfortunately you can do nothing.
Maybe this bug is taken seriously now and will be re opened.

@lupowolfi
Copy link

I'm also running Debian Jessie + XFCE and have this problem...
I even tried the newest version of the owncloud-client from unstable (1.7.0~beta1+really1.6.3+dfsg-1), but the problem persists.
There seems to be a bug report which addresses this issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750847

@guruz guruz reopened this Sep 12, 2014
@guruz guruz changed the title owncloud-client systray icon bug With certain Linux Desktops: Systray icon bug Sep 12, 2014
@guruz guruz added the bug label Sep 12, 2014
@Pontax
Copy link

Pontax commented Sep 12, 2014

Debian Testing + XFCE4 4.10.1
Linux 3.14-2-686-pae
owncloud-client 1.6.2

@lupowolfi
Copy link

As the settings dialog can't be opened by clicking on the icon in the systray, is there an alternative way to open it?

@hefee
Copy link
Contributor

hefee commented Sep 15, 2014

Debian unstable + Gnome 3.8 (but not for 3.12)
Linux 3.14-1-amd64
owncloud-client 1.6.1
see also debian bts 755350

@hefee
Copy link
Contributor

hefee commented Sep 15, 2014

Acording to debian bts 750847 this is maybe related that the file owncloud.png, state-offline.{png|svg}, state-error.{png|svg}, and state-ok.{png|ok} are not shipped with the package.

@danimo
Copy link
Contributor

danimo commented Sep 15, 2014

@jnweiger

@lupowolfi
Copy link

I built the newest version (1.7.0~beta1+dfsg-2) from http://anonscm.debian.org/cgit/pkg-owncloud/owncloud-client.git/ with BUILD_WITH_QT4=ON and the icon appears and changes correctly.

So i guess it is related to QT5.

But this workaround does not work perfectly: I noticed that the first icon which is displayed is the same as from the app to the right in the systray (less than half second).
Also it takes about another second to switch from the colored to the monochrome icon theme.

@danimo
Copy link
Contributor

danimo commented Sep 15, 2014

@lupowolfi Yes, tray not showing up with Qt5 not working is a known issue related to Qt. Qt5 currently only supports the xembed-based system tray.

@lupowolfi
Copy link

@danimo Thanks for pointing that out. As far as I unterstood this issues should be resolved not later than the upcoming release Qt 5.4.
In the meantime I will stick with Qt 4.

@hefee
Copy link
Contributor

hefee commented Sep 23, 2014

@lupowolfi With my information, the issue isn't solved with the upcoming Qt 5.4 for XFCE and/or Gnome. If you have any patches to solve it, i would be very interessed in...The base of the problem is properly QTBUG-34364.

The base of the problem is that the xembed is thrown out ( and deprecated) by mutlitple DEs and the new system isn't included till now. Gräßlin showed a workaround to setup a xemed systray, but this is only a temporally solution.

@lupowolfi
Copy link

@hefee No, unfortunately I don't have a patch. I was just referring to the same source as you, but wasn't aware that his blog entry addresses only KDE.

@jospoortvliet
Copy link

A work-around (and start of the solution) is using sni-qt. It is a Qt plugin enabling support for the new systray spec, Status Notifiers/indicators. See #2023 (comment) for info - you'll get it working just fine, see screenshot on my Plasma 5 laptop ;-)
screenshot3

@shellshocker
Copy link

Is there an alternative way to open owncloud-client? There seems to be none...

@danimo
Copy link
Contributor

danimo commented Sep 30, 2014

@shellshocker Did you try @jospoortvliet 's solution with qt-sni?

@Pontax
Copy link

Pontax commented Sep 30, 2014

qt-sni seems to be unavailable on Debian

@shellshocker
Copy link

@danimo: There is no such default package on Debian. I could install the Ubuntu package. But this is only a workaround.
Is there no alternative way to open the GUI?

@dragotin
Copy link
Contributor

@shellshocker not yet. You might want to open an enhancement request. Thx.

@shellshocker
Copy link

After upgrading Debian Jessie packages last night, the icon still does not appear. But there is a hidden placeholder where you can klick on. Some progress. :-)

@shellshocker
Copy link

After upgrading Debian Jessie with the new packages:
libowncloudsync0:amd64 1.7.0beta1+really1.6.3+dfsg-4
owncloud-client:amd64 1.7.0
beta1+really1.6.3+dfsg

... icon is now visible! For me it's fixed. Thank you!

@danimo
Copy link
Contributor

danimo commented Oct 17, 2014

WTH is 1.7.0~beta1+really1.6.3+dfsg-4?

@hefee, can you shed some light?

@shellshocker
Copy link

@lupowolfi
Copy link

Have a look at http://metadata.ftp-master.debian.org/changelogs/main/o/owncloud-client/unstable_changelog

The issue wasn't fixed, but they are building the package with qt4 instead of qt5

@hefee
Copy link
Contributor

hefee commented Oct 21, 2014

well by accident I uploaded the 1.7.0beta1 to unstable, but because only stable releases should be enter testing i had to to manipulate the version number higher than 1.7.0beta1.
1.7.0~beta1+really1.6.3+dfsg-4 is the normal 1.6.3 version.

lupowolfi is right, for debian we switched back to build with qt4 for the upcoming stable release, to have a working version for debian.

@jbiddy
Copy link

jbiddy commented Mar 27, 2015

I'm going to throw in my experience here. I'm trying to use the ownCloud Client on Bodhi Linux 3.0. It uses e19 with Xembed support removed (it will be gone from e20 entirely). Consequently, it's very hard to use ownCloud in Bodhi 3.0 without installing something like trayer or stalone tray (I have no idea how to give my systray dimensions in x-notation!)

My understanding is that Xembed is a dying protocol. Hopefully I'm not offending anyone by saying this, but might ownCloud be coded to use libappindicator instead sometime soon?

@jospoortvliet
Copy link

@jbiddy Qt 5 supports this and it works. You might have to install qt-sni - depending on your distribution. Bodhi should offer that, if it doesn't - do a feature request to them.

So, if you have Qt 5 and ownCloud Client 1.8 and a up to date distribution, this works perfectly fine. I'd close this issue - if it doesn't work it is a distribution problem.

@hefee
Copy link
Contributor

hefee commented Mar 28, 2015

So, if you have Qt 5 and ownCloud Client 1.8 and a up to date distribution, this works perfectly fine. I'd close this issue - if it doesn't work it is a distribution problem.

@jospoortvliet: what you mean with with current qt5 and up to date distro?
Tried:
oCC 1.8.0
Qt 5.4.1
that are IMO up to date but still no systray in GNOME debian #781368

@jospoortvliet
Copy link

@hefee if you use GNOME 3.x, the 'old' systray should work, I'm quite certain the ownCloud Client supports Xembed still as it works on my desktop too. It is possible that GNOME Shell has dropped that - no idea, to be honest.

There is also a new systray specification that is supported by Unity and Plasma 4 and 5 and mentioned by @jbiddy which is supported by the ownCloud client. You can check if your Qt version has support for it by looking for libsni-qt.so - for me it is in

/usr/lib64/qt4/plugins/systemtrayicon/libsni-qt.so

Unfortunately the GNOME developers invented a third wheel. Ask them to support Status Notification Items... http://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/

If it is already supported in GNOME Shell, then either Qt SNI is broken, not installed (look for a sni-qt package) or the SNI implementation in GNOME is broken.

@ogoffart
Copy link
Contributor

Qt 5.5 should now have support for the dbus protocol

@danimo
Copy link
Contributor

danimo commented Jul 17, 2015

@ogoffart but that's not really helping, is it? It will be a solid two years before Qt 5.5 has arrived on a majority of Linux Desktops.

@guruz
Copy link
Contributor

guruz commented Jul 20, 2015

@ogoffart Would it be an option to ship Qt with the oC client on Linux like it is done on Windows and OS X?

;-)

@ogoffart
Copy link
Contributor

@guruz why are you asking me that?

@jospoortvliet
Copy link

@ogoffart he's screwing with you.

@voxspox
Copy link

voxspox commented Jul 21, 2015

I'm using Linux Mint (Ubuntu based) with Cinnamon window manager (Gnome based). The ownclowd-client icon does not appear on startup, while the synchronization is running and I can see the process. Restarting owncloud is a workaround for me. Type into Terminal:

$ killall owncloud
$ owncloud &

owncloud-client 1.5.0+dfsg-4ubuntu1

@pecuna
Copy link

pecuna commented Sep 17, 2015

Owncloud version 2.0.1
OS: Ubuntu 14.04.3 Gnome LiveCD with persistent file
The icon disappears after while and after that I have to open the client via menu but after closing the client via the Close button the tray icon is gone too, again.

@RalfJung
Copy link

RalfJung commented Oct 6, 2015

I am having this issue as well: After logging in, there is no icon for the ownCloud client, just a window popping up informing me about the sync state. I just killed the owncloud process and started it again, which made the icon appear.

This is with Qt 5.5 on Debian testing, using Cinnamon as my desktop.

@jospoortvliet
Copy link

@RalfJung sounds like a timing issue: cinnamon is too slow letting the systemtray be started, ownCloud is then already up and running. File a bug with Cinnamon to delay starting apps until they are sure the systemtray is available...

@jospoortvliet
Copy link

GNOME also has a rather broken systemtray so that might be the problem, rather than anything in ownCloud @pecuna

@ogoffart
Copy link
Contributor

We are using the QSystemTrayIcon and it gets better with newer Qt version.

This particular bug report contains information about many desktop and many qt version and is old and no longer usefull.
Please reopen a new issue if there are still problem with Qt 5.6, but make sure that you specify the exact Qt version, the version of your window manager/shell, and what the problem is.

@adrianvg
Copy link

adrianvg commented May 16, 2016

This is still a problem. Using latest available Owncloud Desktop sync client v2.2.0 build 1605 on Ubuntu Desktop 14.04 x64 LTS.
Also using Gnome Flashback (Compiz) DE.

Edit: FYI, installed the Mate DE yesterday, seeing the same problem. Waiting to see if the regression-fix will help!

Edit2: FWIW, I just noticed the same thing on the latest CentOS 7 x64. I use the Mate DE there too.

@danimo
Copy link
Contributor

danimo commented May 16, 2016

@adrianvg This is a regression in the v2.2.0 builds (as they have been build against Qt5 accidentially). We will fix this in the coming days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests