Bug 33099 - Dropbox, no menu from tray icon
Summary: Dropbox, no menu from tray icon
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard:
Keywords: feedback
Depends on:
Blocks:
 
Reported: 2024-04-15 11:08 CEST by Eric Petit
Modified: 2024-04-21 20:49 CEST (History)
6 users (show)

See Also:
Source RPM: nautilus-dropbox-2020.03.04-1.mga9.nonfree.src.rpm
CVE:
Status comment:


Attachments

Description Eric Petit 2024-04-15 11:08:16 CEST
Description of problem:

Hi,
After upgrade MGA8 to MGA9, from Gnome, the Dropbox icone don't display anymore menu.
Problem come from unix:path=/run/user/1000/bus
Dirty workaround is :
dropbox stop
export DBUS_SESSION_BUS_ADDRESS=""
dropbox start

Then menu come back.
Comment 1 Eric Petit 2024-04-15 11:17:32 CEST
Perhaps the RPM spec should patch /usr/bin/dropbox as follow :
https://doc.ubuntu-fr.org/application_dropbox
Comment 2 David GEIGER 2024-04-15 18:21:26 CEST
I can't reproduce on my Cauldron, dropbox works and tray icon is displayed as it should.

However our current package is a quite old so it is time to update it to the latest release!

Please test upcoming dropbox-2024.01.22-1.mga9.nonfree.noarch.rpm!


Packages in 9/Nonfree/Updates_testing:
========================
dropbox-2024.01.22-1.mga9.nonfree.noarch.rpm
nautilus-dropbox-2024.01.22-1.mga9.nonfree

From SRPMS:
nautilus-dropbox-2024.01.22-1.mga9.nonfree.src.rpm

CC: (none) => geiger.david68210
Assignee: bugsquad => qa-bugs
Source RPM: (none) => nautilus-dropbox-2020.03.04-1.mga9.nonfree.src.rpm

Comment 3 Eric Petit 2024-04-15 18:59:42 CEST
Hi David,
same issue with last dropbox version.
There is something wrong with DBUS.
dropbox: load fq extension '/home/eric/.dropbox-dist/dropbox-lnx.x86_64-196.4.6900/PyQt5.QtDBus.so'

(dropbox:16994): LIBDBUSMENU-GLIB-WARNING **: 18:53:39.240: About to Show called on an item wihtout submenus.  We're ignoring it.

Now lets me add at line 28 in /usr/bin/dropbox : os.environ['DBUS_SESSION_BUS_ADDRESS'] = ""

dropbox: load fq extension '/home/eric/.dropbox-dist/dropbox-lnx.x86_64-196.4.6900/PyQt5.QtDBus.so'

(dropbox:18510): libayatana-appindicator-WARNING **: 18:56:28.157: Unable to get the session bus: L’adresse indiquée est vide

(dropbox:18510): LIBDBUSMENU-GLIB-WARNING **: 18:56:28.157: Unable to get session bus: L’adresse indiquée est vide

But i got menu.

Nota : i made update with a hammer :-D which status of Nvidia?
Comment 4 Eric Petit 2024-04-15 19:15:53 CEST
sound like DP want org.kde.StatusNotifierItem but i'm under gnome.
give yu here the output of dbus-monitor >/tmp/dropbox.debug with only a dp start:

https://paste.centos.org/view/27ba9375

now let click on the icon:
https://paste.centos.org/view/4cb38bcd
Comment 5 Morgan Leijström 2024-04-17 20:46:57 CEST
I installed dropbox fresh on mga9, Plasma.
Before and after update system tray icon is OK, hoovering on it it just say "Dropbox", it need left or right mouse click for menu.

@Eric, outside of this bug: When this settles, could you glance on https://wiki.mageia.org/en/Dropbox, which i edited when installing, if there is something that can be improved.
I rewrote it completely half a year ago, but I do not use Gnome.

CC: (none) => fri

Comment 6 Eric Petit 2024-04-17 21:14:23 CEST
I added section 6:


== Workaround for gnome users  ==
If you don't have menu when you click on the icon, edit this file with root privileges.
nano /usr/bin/dropbox
Just after the line :" import os" add the line :
os.environ['DBUS_SESSION_BUS_ADDRESS'] = ""
save the file with CTRL+X and restart dropbox
Comment 7 Morgan Leijström 2024-04-17 21:38:49 CEST
Thank you for the wiki edit. I added formatting.
Comment 8 katnatek 2024-04-18 19:35:11 CEST
Then we can give greenlight to packages?
Comment 9 Morgan Leijström 2024-04-18 22:27:14 CEST
Would be nice with some real usage testing.

Blatantly CC:ing some users who have reported on Dropbox before,
hoping some of you can test this Dropbox update :)

If you do not have it installed currently, see
 https://wiki.mageia.org/en/Dropbox

CC: (none) => gallard, laidlaws, maurice77, rolfpedersen

Comment 10 Herman Viaene 2024-04-19 17:27:21 CEST
MGA9-64 Plasma Wayland on HP-Pavillion
Just installed the dropbox package, I'm not into Gnome.
I have an account, but I only use it very seldomly to receive some larger files. Anyway, as soon as i laich it, the tray icon appears, and I can work in the Dropbox site. So that seems to work.
What annoys me is that there seems no obvious way to terminate this, there is no "quit" option in the menu.
Getting rid of the whole thing right now.

CC: (none) => herman.viaene

Comment 11 Morgan Leijström 2024-04-19 17:30:40 CEST
(In reply to Herman Viaene from comment #10)
> there is no "quit" option in the menu.

It is there for me: right or left click the Dropbox icon in system tray, and the bottom menu choice terminates it.
Comment 12 Herman Viaene 2024-04-19 17:37:23 CEST
Then the lowest part of the menu must be cut off for me.
Comment 13 Eric Petit 2024-04-19 18:17:23 CEST
(In reply to Herman Viaene from comment #12)
> Then the lowest part of the menu must be cut off for me.

try to add the line, restart dropbox and see if is here. also use a console for, dropbox stop and dropbox start, like that you will see some debug info
Comment 14 Doug Laidlaw 2024-04-19 19:45:08 CEST
I am unsubscribing from this bug.  My situation is now different, and I haven't used Dropbox since they restricted me to only one device.
Doug Laidlaw 2024-04-19 19:46:02 CEST

CC: laidlaws => (none)

Comment 15 Herman Viaene 2024-04-20 10:56:19 CEST
Strange: the first time I click on the tray icon, the lowest line on the menu is "Get more space", the second time (and following) I get the complete menu.
Comment 16 Herman Viaene 2024-04-20 11:00:52 CEST
Even worse: I remove the dropbox packages, logout and login again (did the X11 updates in the mean time) and he tray icon keeps appearing. That is annoying and plain nonsense.
Comment 17 Morgan Leijström 2024-04-20 17:09:55 CEST
Removing Dropbox: Please check what I just now added:
https://wiki.mageia.org/en/Dropbox#Removing_Dropbox
Comment 18 Morgan Leijström 2024-04-20 18:24:13 CEST
BTW I too see the problem described in Comment 15, on first system tray icon menu open the last line in menu are "below" screen edge.
I guess it is an upstream issue.
Comment 19 Eric Petit 2024-04-21 20:44:36 CEST
Hi,
i also have nautilus freeze with glib error
This bug report made a link with Dropbox
https://bugs.launchpad.net/ubuntu/+source/nautilus-dropbox/+bug/932627

could you please say me if the following patch is include in the rpm build ?
https://bugs.launchpad.net/ubuntu/+source/nautilus-dropbox/+bug/932627/comments/25

Thanks
Morgan Leijström 2024-04-21 20:49:45 CEST

Keywords: (none) => feedback


Note You need to log in before you can comment on or make changes to this bug.