ownCloud Client system tray icon integration broken

Bug #1573639 reported by danimo
334
This bug affects 99 people
Affects Status Importance Assigned to Milestone
appmenu-qt5 (Ubuntu)
Fix Released
High
Unassigned
Xenial
Invalid
Undecided
Unassigned
Yakkety
Fix Released
High
Unassigned
owncloud-client (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Timo Aaltonen
Yakkety
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

The ownCloud client in Xenial is compiled against Qt 5.5.1. when starting the client, the system tray icon does not show up, making the application essentially useless.

See also: https://github.com/owncloud/client/issues/4693.

[Test case]

install owncloud-client, run owncloud. It'll open a connection helper and should show an icon in the systray but doesn't.

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in owncloud-client (Ubuntu):
status: New → Confirmed
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Copying Olivier's comment from upstream bug:

I was able to locate the problem. The problem is in ubuntu's "appmenu-qt5" and is a bug that cause our call to QSystemTrayIcon::isSystemTrayAvailable() to remove the icon.

That's because appmenu-qt5 seems to assume there is only one QPlatformSystemTrayIcon while there can be one per QSystemTrayIcon. in particular, QSystemTrayIcon::isSystemTrayAvailable creates a temporary one, and when it gets distroyed, it unregister the dbus object for the existing systray.

Adding the appmenu-qt5 task accordingly.

Changed in appmenu-qt5 (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
ogoffart (hohagh-3) wrote :

I reported the bug to appmenu-qt5: https://bugs.launchpad.net/appmenu-qt5/+bug/1574699

Revision history for this message
ogoffart (hohagh-3) wrote :
Timo Aaltonen (tjaalton)
description: updated
Changed in owncloud-client (Ubuntu Xenial):
assignee: nobody → Timo Aaltonen (tjaalton)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in appmenu-qt5 (Ubuntu Xenial):
status: New → Confirmed
Changed in owncloud-client (Ubuntu Xenial):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package owncloud-client - 2.1.1+dfsg-1ubuntu2

---------------
owncloud-client (2.1.1+dfsg-1ubuntu2) yakkety; urgency=medium

  * workaround-systemtray-bug.diff: Don't call isSystemTrayAvailable, it
    hides the systemtray. (LP: #1573639)

 -- Timo Aaltonen <email address hidden> Thu, 28 Apr 2016 20:30:38 +0300

Changed in owncloud-client (Ubuntu Yakkety):
status: Confirmed → Fix Released
Revision history for this message
Reny (reny1977) wrote :

when it is released?

Revision history for this message
Scott Sweeny (ssweeny) wrote :

Any chance of an SRU into 16.04?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

it's already in the queue since thursday

Changed in owncloud-client (Ubuntu Xenial):
status: Confirmed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello danimo, or anyone else affected,

Accepted owncloud-client into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/owncloud-client/2.1.1+dfsg-1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in owncloud-client (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
fabianbur (fabianbur) wrote :

Verificación realizada desde propossed.

el paquete ahora funciona como se esperaba.

Gracias!

Proposed verification conducted from.
the package now works as expected.
Thank you!

tags: added: verification-done
removed: verification-needed
Changed in owncloud-client (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Martin D. Weinberg (martin-weinberg-5) wrote :

The proposed package fixed the bug. Thanks!

Revision history for this message
Johan Ehnberg (johan-ehnberg) wrote :

I can also confirm the proposed package works nicely.

Revision history for this message
did (didubu-fr) wrote :

The new package works for me, thanks !

Revision history for this message
Manolis Kapernaros (kapcom01) wrote :

The update from the proposed repository fixes the problem for me.

Revision history for this message
Marco Righi (marco-righi) wrote :

After apt-get update and apt-get dist-upgrade my Ubuntu 16.04 still has the problem.

Revision history for this message
did (didubu-fr) wrote :

@ Marco Righi : you have to activate to proposed repo before upgrading.

Revision history for this message
Diego González (diegonz) wrote :

It's working ok with proposed package .
If anyone wants to update only the owncloud-client package (and dependencies) you must first enable proposed repo (Unity Settings > Software & Updates > Last tab) and reload package info.
Then force the upgrade only of owncloud-client and needed libraries by: sudo apt-get install owncloud-client
You can now safely disable proposed repo waiting for a new update on main Universe updates repo.

Hope it helps.

Revision history for this message
iGadget (igadget) wrote :

+1 Working again with proposed package. And great tip, Diego / #19. Thanks!

Revision history for this message
Michiel Janssens (janssensm) wrote :

Tested 2.1.1+dfsg-1ubuntu1.1 from proposed repo.
Works OK.

Revision history for this message
luca (l-savio) wrote :

It's almost all ok, indeed. After resume from suspend or hibernation the client results disconnected from the net, while wireless is on and firefox, thunderbird and dropbox keep on working, so I need to close owncloud and re-open. (the client from owncloud repos/ubuntu15.04 didn't have this issue).

Revision history for this message
Nathan Haines (nhaines) wrote :

Luca, this is not related to this bug, which is only about the indicator icon. Please create a new bug regarding your issue--it can be troubleshooted and discussed there.

Revision history for this message
luca (l-savio) wrote :

Thanks @nhaines : there was this bug https://bugs.launchpad.net/bugs/1572321 filed yet.

Revision history for this message
Reny (reny1977) wrote :

The update from the proposed repository fixes the problem for me.

Revision history for this message
Felicia (sisternotes) wrote :

The update from the proposed repository fixes the problem for me too.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

don't close bugs manually, the package hasn't transitioned to -updates yet

Changed in owncloud-client (Ubuntu Xenial):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package owncloud-client - 2.1.1+dfsg-1ubuntu1.1

---------------
owncloud-client (2.1.1+dfsg-1ubuntu1.1) xenial; urgency=medium

  * workaround-systemtray-bug.diff: Don't call isSystemTrayAvailable, it
    hides the systemtray. (LP: #1573639)

 -- Timo Aaltonen <email address hidden> Thu, 28 Apr 2016 20:30:38 +0300

Changed in owncloud-client (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for owncloud-client has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Timo Aaltonen (tjaalton)
Changed in appmenu-qt5 (Ubuntu Xenial):
status: Confirmed → Invalid
Changed in appmenu-qt5 (Ubuntu Yakkety):
status: Triaged → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package appmenu-qt5 - 0.3.0+16.10.20160628.1-0ubuntu1

---------------
appmenu-qt5 (0.3.0+16.10.20160628.1-0ubuntu1) yakkety; urgency=medium

  * Fix for creating two or more system tray icons. (LP: #1573639,
    #1574699)

 -- Dmitry Shachnev <email address hidden> Tue, 28 Jun 2016 10:48:58 +0000

Changed in appmenu-qt5 (Ubuntu Yakkety):
status: Invalid → Fix Released
Revision history for this message
Dominique Meeùs (dominiquem) wrote :

Memory 3,8 Gb. Ubuntu 16.10 up to date as of today. Desktop is Flashback with Nemo. Appmenu-qt5 is not installed. Indicator-applet-complete 12.10.2+15.20141127.2-0ubuntu1, indicator-application 12.10.1+15.20150128.2-0ubuntu1.
Indicator-applet gets mad after some time. At the beginning of the session, the indicator appears, with ownCloud client (2.2.2+dfsg-1). It is possible to work while ownCloud is synchronizing. After two or three hours work, everything slows down to nearly freezing. Is seems impossible to get the ownCloud menu from the indicator to quit ownCloud. It takes a long time to even get a terminal and start top to see indicator-applet at 100 % CPU. Killing the owncloud process takes a very long time after the kill command. Then the indicator gradually calms down and it is possible to go on working.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Dominique: you are experiencing bug 1635577, it is already fixed in Ubuntu 16.10 updates. Please upgrade owncloud-client to version 2.2.2+dfsg-1ubuntu0.2.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.