[Bug]: linux/wayland - clicking the tray icon does not open the main window
⚠️ Before submitting, please verify the following: ⚠️
- [x] This is a bug, not a question or a configuration issue.
- [x] This issue is not already reported on Github (I've searched it).
- [x] Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- [x] I agree to follow Nextcloud's Code of Conduct
Bug description
Clicking the nextcloud icon in swaywm does not open the main window. This was the default behavior until the 4.0.1 update that i just executed. Now It seems that it is impossible to access any settings from sway.
Steps to reproduce
left or right click the nextcloud icon -> nothing happens.
Expected behavior
open the main window or provide a context menu on click
Which files are affected by this bug
nofile
Operating system
Linux
Which version of the operating system you are running.
debian/sid/flatpak
Package
Community FlatPak
Nextcloud Server version
32.0.1
Nextcloud Desktop Client version
4.0.1
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 3.16.3 to 3.17.0)
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
Are you using an external user-backend?
- [x] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Nextcloud Server logs
Additional info
No response
This might relate to https://github.com/nextcloud/desktop/issues/8996 which is on windows. On the other hand the mac version works as expected.
Hello, I can confirm that I have this issues too:
- Ubuntu 22:04 LTS: .deb install
- Pop_OS!: .deb install
- Pop_OS!: flatpak install
With plasmadeskop-wayland I get a dysfunctional context menu on right click. It would be great if left-click would once again open the main window. There are applications like element (matrix client) that just work fine left/right-click in the tray. I think solutions that only support X11 are not state of the art anymore.
I confirm (same issue for me) :
- Nextcloud 31.0.8
- Desktop client 4.0.1 (DEB package)
- Linux Mint 22.2 (Cinnamon) and Ubuntu 22.04 (Gnome)
On Arch linux (extra/nextcloud-client 2:4.0.1-1) with Niri compositor, I can see the menu on right click and every option works but Settings.
Settings doesn't do anything when clicked, same when left clicking the icon. No info at all in logs even with debug output :/
On Linux Mint 22.2 main dialog has been broken/invisible since the last update. I thought it was opening on a different monitor and didn't go into it but it seems like it's the NC client.
Same issue here with a Ubuntu 24.04.3, Client Desktop 4.0.1 Flatpack and also if I try connect on gnome Xorg, it seems not only from wayland issue !!
I have try remove the app (not the data) install a deb package but it not have been installed, reinstall the flatpack...
2025-11-04T00:19:32.249053+01:00 ubunturod org.gnome.Software.desktop[159740]: nextcloud.gui.application: Fallback move of "Rodinux_sync.log" also failed
2025-11-04T00:19:32.316887+01:00 ubunturod PackageKit: resolve transaction /21626_cbbcabdd from uid 1000 finished with success after 278ms
2025-11-04T00:19:32.566445+01:00 ubunturod PackageKit: resolve transaction /21627_cecadbab from uid 1000 finished with success after 246ms
2025-11-04T00:19:32.831388+01:00 ubunturod PackageKit: resolve transaction /21628_abebeacc from uid 1000 finished with success after 262ms
2025-11-04T00:19:33.074360+01:00 ubunturod PackageKit: resolve transaction /21629_cabbddeb from uid 1000 finished with success after 239ms
2025-11-04T00:19:33.298254+01:00 ubunturod PackageKit: resolve transaction /21630_abadbdec from uid 1000 finished with success after 220ms
2025-11-04T00:19:33.535513+01:00 ubunturod PackageKit: resolve transaction /21631_edbdeadd from uid 1000 finished with success after 233ms
2025-11-04T00:19:33.782879+01:00 ubunturod PackageKit: resolve transaction /21632_dddcabbe from uid 1000 finished with success after 243ms
2025-11-04T00:19:34.043047+01:00 ubunturod PackageKit: resolve transaction /21633_bebdbded from uid 1000 finished with success after 256ms
2025-11-04T00:19:34.285903+01:00 ubunturod PackageKit: resolve transaction /21634_dabccdbd from uid 1000 finished with success after 238ms
2025-11-04T00:19:35.306958+01:00 ubunturod gnome-shell[62708]: Object .Gjs_ui_messageTray_Notification (0x5643e0a67da0), has been already disposed — impossible to emit any signal on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.#012== Stack trace for context 0x5643ddf2fab0 ==#012#0 5643ddff3118 i resource:///org/gnome/shell/ui/messageTray.js:477 (372dd3638fb0 @ 74)#012#1 5643ddff3070 i resource:///org/gnome/shell/ui/messageTray.js:473 (372dd3638f60 @ 63)#012#2 5643ddff2fe8 i resource:///org/gnome/shell/ui/calendar.js:812 (372dd3640970 @ 22)#012#3 5643ddff2f58 i resource:///org/gnome/shell/ui/init.js:21 (1d3926870bf0 @ 48)
2025-11-04T00:19:35.307136+01:00 ubunturod gnome-shell[62708]: Object .Gjs_ui_messageTray_Notification (0x5643e0a67da0), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.#012== Stack trace for context 0x5643ddf2fab0 ==#012#0 5643ddff3118 i resource:///org/gnome/shell/ui/messageTray.js:483 (372dd3638fb0 @ 148)#012#1 5643ddff3070 i resource:///org/gnome/shell/ui/messageTray.js:473 (372dd3638f60 @ 63)#012#2 5643ddff2fe8 i resource:///org/gnome/shell/ui/calendar.js:812 (372dd3640970 @ 22)#012#3 5643ddff2f58 i resource:///org/gnome/shell/ui/init.js:21 (1d3926870bf0 @ 48)
2025-11-04T00:19:35.327782+01:00 ubunturod systemd[62270]: Started app-gnome-com.nextcloud.desktopclient.nextcloud-159808.scope - Application launched by gnome-shell.
2025-11-04T00:19:35.330628+01:00 ubunturod systemd[62270]: Started app-flatpak-com.nextcloud.desktopclient.nextcloud-159808.scope.
2025-11-04T00:19:35.396243+01:00 ubunturod nextcloud[159821]: Failed to load module "xapp-gtk3-module"
2025-11-04T00:19:35.434100+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159821]: Qt: Session management error: Could not open network socket
2025-11-04T00:19:35.445847+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159821]: nextcloud.gui.application: Migrating old config from "/home/ubunturod/.var/app/com.nextcloud.desktopclient.nextcloud/data/Nextcloud" to "/home/ubunturod/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud"
2025-11-04T00:19:35.445886+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159821]: nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/ubunturod/.var/app/com.nextcloud.desktopclient.nextcloud/data/Nextcloud" to "/home/ubunturod/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud" )
2025-11-04T00:19:35.445904+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159821]: nextcloud.gui.application: Will move the individual files QList("Linux07_sync.log", "NuageChatons_sync.log", "Numericloud_sync.log", "Rodinux_sync.log")
2025-11-04T00:19:35.445920+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159821]: nextcloud.gui.application: Fallback move of "Linux07_sync.log" also failed
2025-11-04T00:19:35.445936+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159821]: nextcloud.gui.application: Fallback move of "NuageChatons_sync.log" also failed
2025-11-04T00:19:35.445951+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159821]: nextcloud.gui.application: Fallback move of "Numericloud_sync.log" also failed
2025-11-04T00:19:35.445966+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159821]: nextcloud.gui.application: Fallback move of "Rodinux_sync.log" also failed
2025-11-04T00:19:40.396471+01:00 ubunturod gnome-shell[62708]: Object .Gjs_ui_messageTray_Notification (0x5643dea0efb0), has been already disposed — impossible to emit any signal on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.#012== Stack trace for context 0x5643ddf2fab0 ==#012#0 7ffea3128b70 b resource:///org/gnome/shell/ui/messageTray.js:477 (372dd3638fb0 @ 74)#012#1 5643ddff3070 i resource:///org/gnome/shell/ui/messageTray.js:473 (372dd3638f60 @ 63)#012#2 5643ddff2fe8 i resource:///org/gnome/shell/ui/calendar.js:812 (372dd3640970 @ 22)#012#3 5643ddff2f58 i resource:///org/gnome/shell/ui/init.js:21 (1d3926870bf0 @ 48)
2025-11-04T00:19:40.396627+01:00 ubunturod gnome-shell[62708]: Object .Gjs_ui_messageTray_Notification (0x5643dea0efb0), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.#012== Stack trace for context 0x5643ddf2fab0 ==#012#0 7ffea3128b70 b resource:///org/gnome/shell/ui/messageTray.js:483 (372dd3638fb0 @ 148)#012#1 5643ddff3070 i resource:///org/gnome/shell/ui/messageTray.js:473 (372dd3638f60 @ 63)#012#2 5643ddff2fe8 i resource:///org/gnome/shell/ui/calendar.js:812 (372dd3640970 @ 22)#012#3 5643ddff2f58 i resource:///org/gnome/shell/ui/init.js:21 (1d3926870bf0 @ 48)
2025-11-04T00:19:40.426885+01:00 ubunturod systemd[62270]: Started app-gnome-com.nextcloud.desktopclient.nextcloud-159855.scope - Application launched by gnome-shell.
2025-11-04T00:19:40.429437+01:00 ubunturod systemd[62270]: Started app-flatpak-com.nextcloud.desktopclient.nextcloud-159855.scope.
2025-11-04T00:19:40.500415+01:00 ubunturod nextcloud[159868]: Failed to load module "xapp-gtk3-module"
2025-11-04T00:19:40.540715+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159868]: Qt: Session management error: Could not open network socket
2025-11-04T00:19:40.551921+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159868]: nextcloud.gui.application: Migrating old config from "/home/ubunturod/.var/app/com.nextcloud.desktopclient.nextcloud/data/Nextcloud" to "/home/ubunturod/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud"
2025-11-04T00:19:40.551970+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159868]: nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/ubunturod/.var/app/com.nextcloud.desktopclient.nextcloud/data/Nextcloud" to "/home/ubunturod/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud" )
2025-11-04T00:19:40.552010+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159868]: nextcloud.gui.application: Will move the individual files QList("Linux07_sync.log", "NuageChatons_sync.log", "Numericloud_sync.log", "Rodinux_sync.log")
2025-11-04T00:19:40.552033+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159868]: nextcloud.gui.application: Fallback move of "Linux07_sync.log" also failed
2025-11-04T00:19:40.552059+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159868]: nextcloud.gui.application: Fallback move of "NuageChatons_sync.log" also failed
2025-11-04T00:19:40.552096+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159868]: nextcloud.gui.application: Fallback move of "Numericloud_sync.log" also failed
2025-11-04T00:19:40.552119+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159868]: nextcloud.gui.application: Fallback move of "Rodinux_sync.log" also failed
2025-11-04T00:19:40.552141+01:00 ubunturod com.nextcloud.desktopclient.nextcloud.desktop[159868]: nextcloud.gui.application: Already running, exiting...
2025-11-04T00:20:08.321895+01:00 ubunturod systemd[1]: Starting sysstat-collect.service - system activity accounting tool...
2025-11-04T00:20:08.326946+01:00 ubunturod systemd[1]: sysstat-collect.service: Deactivated successfully.
2025-11-04T00:20:08.327158+01:00 ubunturod systemd[1]: Finished sysstat-collect.service - system activity accounting tool.
2025-11-04T00:21:18.269073+01:00 ubunturod snapd[1183]: storehelpers.go:916: cannot refresh: snap has no updates available: "bare", "core22", "core24", "firmware-updater", "gnome-42-2204", "gnome-46-2404", "gtk-common-themes", "mesa-2404", "snapd", "snapd-desktop-integration", "thunderbird"
@nilsding same problem ?
Same issue for me
- Nextcloud server: 32.0.1
- Desktop client: 4.0.1 (Flatpak)
- OS: Pop!_OS 22.04 LTS (based on Ubuntu Jammy)
- Architecture: x86_64
- Desktop environment: GNOME (X11)
Steps to reproduce:
- Start the Nextcloud Desktop client.
- Click on the tray icon.
- The dropdown menu appears - all items work (settings, etc.) except "Open Nextcloud Desktop".
Expected result:
- Main window opens normally.
Actual result:
- Nothing happens when clicking on "Open Nextcloud Desktop".
Same here, Fedora Silverblue 43 (Gnome, Wayland) w/ Flatpak (com.nextcloud.desktopclient.nextcloud) 4.0.1 & NC Server 32.0.1
Same here, Zorin OS 17.3 Pro (Gnome 43.9; Wayland 1.21) w/ Flatpak (com.nextcloud.desktopclient.nextcloud) 4.0.1 & NC Server 31.0.10
It could be that there's still some older state of the main window in the local QML cache
could you try to remove everything inside ~/.var/app/com.nextcloud.desktopclient.nextcloud/cache/Nextcloud/qmlcache ?
For me, nothing changed.
❯ pkill -QUIT nextcloud
~ on ☁️ (eu-west-1)
❯ rm -rf .cache/Nextcloud/qmlcache/*
zsh: sure you want to delete all 50 files in /home/kepi/.cache/Nextcloud/qmlcache [yn]? y
~ on ☁️ (eu-west-1) took 2s
❯ ls -la .cache/Nextcloud/qmlcache/
~ on ☁️ (eu-west-1)
❯ nextcloud
Failed to initialize instances shared memory: "QSharedMemory::handle: doesn't exist"
nextcloud.gui.application: Migrating old config from "/home/kepi/.local/share/Nextcloud" to "/home/kepi/.config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/kepi/.local/share/Nextcloud" to "/home/kepi/.config/Nextcloud" )
nextcloud.gui.application: Will move the individual files QList("Nextcloud_sync.log")
nextcloud.gui.application: Fallback move of "Nextcloud_sync.log" also failed
^C
~ on ☁️ (eu-west-1) took 10s
❯ ls -la .cache/Nextcloud/qmlcache/
.rw-r--r-- 5,6k kepi 11 lis 10:38 00dc339b4950cf4a6a6996faff2dbdc7729997a2.qmlc
.rw-r--r-- 6,6k kepi 11 lis 10:38 025722e32a6466bd74b1194c8caafb50617e9256.qmlc
.rw-r--r-- 7,9k kepi 11 lis 10:38 07525b3c7e44d861a0fb28fa0f2a3c3dc749ca32.qmlc
.rw-r--r-- 6,5k kepi 11 lis 10:38 2d34fb0278bb6fb4ad32a66b90876bdd6824f1de.qmlc
.rw-r--r-- 2,0k kepi 11 lis 10:38 2e4fbaa04ab226f421946928a676172b833fa6c9.qmlc
.rw-r--r-- 10k kepi 11 lis 10:38 3bee8208672f4b2a3b55268ddce79cd7c53652b6.qmlc
.rw-r--r-- 1,9k kepi 11 lis 10:38 3e9a2f656075729dc70aa23bacb5fdb990b39061.qmlc
.rw-r--r-- 16k kepi 11 lis 10:38 4dd993efe9bd7d8d4f4f97cc9aebd1a5cc2d17ac.qmlc
.rw-r--r-- 5,8k kepi 11 lis 10:38 6ffea85053819b826125d522e9008601743cfd76.qmlc
.rw-r--r-- 78k kepi 11 lis 10:38 8ee82bb0dcc4d192e5684424f57e3459e0eb1df9.qmlc
.rw-r--r-- 18k kepi 11 lis 10:38 10d6b3826cc34b7a3c555d4ed82f9eec577d0a13.qmlc
.rw-r--r-- 40k kepi 11 lis 10:38 29f22157ae724a3f5aeb8b263eab5f12382724bb.qmlc
.rw-r--r-- 7,0k kepi 11 lis 10:38 50a22eef5d28c7f783e95b088a1f45630788e829.qmlc
.rw-r--r-- 3,0k kepi 11 lis 10:38 52a1bba3aaeab9d3b421a3c5187a8cba98b3df16.qmlc
.rw-r--r-- 27k kepi 11 lis 10:38 58c4b41e12618ef95c21f9a9879d82733ff04669.qmlc
.rw-r--r-- 1,1k kepi 11 lis 10:38 61c86ddaa21dece43ca687741b9cb408bb32fe23.qmlc
.rw-r--r-- 23k kepi 11 lis 10:38 66f32243182f6ef68e6772e0e0cbd84a44749570.qmlc
.rw-r--r-- 21k kepi 11 lis 10:38 69db6216c43d7fc839d03b9221f8b64bc5fccf91.qmlc
.rw-r--r-- 4,6k kepi 11 lis 10:38 69ee8ad746ca5ba5461a6b21992f9de465e45ece.qmlc
.rw-r--r-- 36k kepi 11 lis 10:38 72d12f752acd1a9b89c9940fbe5e1794a81cfd81.qmlc
.rw-r--r-- 4,5k kepi 11 lis 10:38 92a1f23a9b95318f8638bbb58d4b27cbf1456d3d.qmlc
.rw-r--r-- 4,4k kepi 11 lis 10:38 92b904c18658c1492f33240f4ad16f819ef53622.qmlc
.rw-r--r-- 8,6k kepi 11 lis 10:38 99f45860448e73244297270c9e8ec05ab00ca6a4.qmlc
.rw-r--r-- 2,3k kepi 11 lis 10:38 221bfdcf23e59a468574be58c32c7e5464bc7103.qmlc
.rw-r--r-- 52k kepi 11 lis 10:38 466d1e3b46e4a841f893ebdead73b2b368ea0f45.qmlc
.rw-r--r-- 23k kepi 11 lis 10:38 720fc9668003f940449bb87ca4ac8c5a5aab0dbd.qmlc
.rw-r--r-- 4,8k kepi 11 lis 10:38 3241dc31050f57230e840f1fbeb52976be62d28f.qmlc
.rw-r--r-- 15k kepi 11 lis 10:38 87438fd7353c99d781fadaf5a1115ef65e5ab150.qmlc
.rw-r--r-- 5,8k kepi 11 lis 10:38 90357a7fd050a4564748150c05c28faa49def6e3.qmlc
.rw-r--r-- 21k kepi 11 lis 10:38 238134c238b31a813e53ceac8618472088fbf183.qmlc
.rw-r--r-- 3,3k kepi 11 lis 10:38 308090c1f535aac9464eea1473612fa2a47184b4.qmlc
.rw-r--r-- 32k kepi 11 lis 10:38 397402e80989227f8fad01906a2088671e295fe5.qmlc
.rw-r--r-- 3,1k kepi 11 lis 10:38 526697873ffa3b6fe119649c45258d5611937509.qmlc
.rw-r--r-- 5,0k kepi 11 lis 10:38 a2c87a4e1ac2c24ff8cbbd96464844773d7699a6.qmlc
.rw-r--r-- 1,3k kepi 11 lis 10:38 a4edeae5009cc8f233ceebbba334835907a09269.qmlc
.rw-r--r-- 25k kepi 11 lis 10:38 aa92583ec50ad13aa5073168684ad3206bb482fd.qmlc
.rw-r--r-- 9,8k kepi 11 lis 10:38 ac3a14a4e4f4c864bc0b2eb9f020fadfa487a2d1.qmlc
.rw-r--r-- 8,1k kepi 11 lis 10:38 ad0093f7a1cf102b8d666e89d75606ce5f5e9886.qmlc
.rw-r--r-- 9,8k kepi 11 lis 10:38 aefd54c6435ce786065b1547f4f320bf685bddde.qmlc
.rw-r--r-- 6,7k kepi 11 lis 10:38 b6c3dcf28d938718a270c193539d63abe675da9c.qmlc
.rw-r--r-- 15k kepi 11 lis 10:38 baff0be4c7f5ef26c65cf80ec33e54493949bef4.qmlc
.rw-r--r-- 9,1k kepi 11 lis 10:38 bf735322338215b47285f21636732b6a04bf466b.qmlc
.rw-r--r-- 13k kepi 11 lis 10:38 c000d2638c0aadfa7db4e29e0b5e29c708719d47.qmlc
.rw-r--r-- 4,2k kepi 11 lis 10:38 c7f8ec36031fbdbf6f314441571536ca0cc53c3c.qmlc
.rw-r--r-- 5,2k kepi 11 lis 10:38 ce6f6e83be7dbaaf92b907d2afe2551f8176bb60.qmlc
.rw-r--r-- 10k kepi 11 lis 10:38 e33dea9f78eec9e98ce6d1d2458736dab41fdd65.qmlc
.rw-r--r-- 12k kepi 11 lis 10:38 e688e29deddd54816c882034001446f96d63d480.qmlc
.rw-r--r-- 4,5k kepi 11 lis 10:38 eddf6f275bf67502e95a2e1ec504f52683046539.qmlc
.rw-r--r-- 4,2k kepi 11 lis 10:38 f7a88578b88f2862233d0cf69a168659bc1868f4.qmlc
.rw-r--r-- 31k kepi 11 lis 10:38 f92f5cd57b4302724d70ec2ee5a7e7e3146577ff.qmlc
No action on /tray icon/ seems to have any effect. Nothing is printed to stdout.
I had the same issue on Nobara 42 / Wayland / KDE-Plasma 6.5.2 / Flatpak.
For me removing all files in ~/.var/app/com.nextcloud.desktopclient.nextcloud/cache/Nextcloud/qmlcache solved the problem. Main window now opens as expected. Thank you!
Solved it for me as well. Thanks!
Kubuntu 24.04, flatpak: remove file from ~/.var/app/com.nextcloud.desktopclient.nextcloud/cache/Nextcloud/qmlcache and restart Nextcloud solved as well
Main windows finally open in the very last 4.0.1 DEB release.
I am going to close this issue as being out of scope. Only if AppImage is failing to open, report the issue there. I am unsure where to report issues with Debian PPA package. For the flatpak package available on flathub, please report it there https://github.com/flathub/com.nextcloud.desktopclient.nextcloud/issues
JFYI, I had the same problem with the Nextcloud client bundled in Fedora 43 (nextcloud-client-3.16.3-2.fc43.x86_64). There was apparently no way to open the main window. Nextcloud-4.0.1-x86_64.AppImage downloaded from https://nextcloud.com/install/#desktop-files does not suffer from this bug, so either it has been fixed since version v3.16.3, or the Fedora build is broken somehow.
I have used the AppImage for a while because of this. Today I wanted to try again and see if the new version has fixed it. I got sick of manually updating the AppImage and that it is not darkmode.
Turns out Nextcloud Desktop Client Version 4.0.4daily (Linux) is not affected on my computer (any more). i have also recently updated my Nvidia drivers to 580-