Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950295 - net-misc/nextcloud-client: Can't open the main dialog
Summary: net-misc/nextcloud-client: Can't open the main dialog
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-26 08:58 UTC by sunox9
Modified: 2025-04-17 23:11 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Terminal output from nextcloud client (ncclient-output.txt,1.89 KB, text/plain)
2025-04-14 01:06 UTC, junk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunox9 2025-02-26 08:58:54 UTC
Since sometime last fall when I launch the nextcloud client it will not show the main dialog. It appears in the system tray, and I can make the 'settings' window appear through the right click menu, but "open main dialog" does nothing. 

When I first noticed the issue I downgraded to an older version for a bit, but eventually a working version was no longer offered.

I am using dwm. It's happening on two different machines. 

The appimage for the latest release works fine. 

Reproducible: Always

Steps to Reproduce:
1.open nextcloud client
Actual Results:  
Main dialog does not appear.


Problem started sometime last fall. I wish I could be more precise but I had other things going on and couldn't pay attention to it.

The appimage for the latest release works fine.
Comment 1 junk 2025-04-14 00:59:09 UTC
This is happening to me as well, (on X/xfce/xfwm) started in the same timeframe.

Downgrading to 3.9.4 fixes this problem

The below versions all exhibit the problem:
nextcloud-client-3.15.2-r1.ebuild
nextcloud-client-3.14.4.ebuild
nextcloud-client-3.15.3.ebuild
nextcloud-client-3.16.2.ebuild

Removing all Nextcloud client configuration files does not help.

What would be the best way we can help get more information to help isolate the issue?
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-14 01:02:04 UTC
Could you open a terminal, run the client in there, and show us any output that appears (especially when clicking "open main dialog")?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-14 01:04:17 UTC
(In reply to sunox9 from comment #0)
> Since sometime last fall when I launch the nextcloud client it will not show
> the main dialog. It appears in the system tray, and I can make the
> 'settings' window appear through the right click menu, but "open main
> dialog" does nothing. 
> 
> When I first noticed the issue I downgraded to an older version for a bit,
> but eventually a working version was no longer offered.
> 

What version were you downgrading to that worked?

Having the narrowest range between working-and-not would help with looking for bad or related commits.
Comment 4 junk 2025-04-14 01:06:12 UTC
Created attachment 924723 [details]
Terminal output from nextcloud client

Hey, all of this output appears during initial client startup.
There is no output after that, and no output when clicking Open Main Dialog
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-14 01:18:19 UTC
3.9.4 used Qt 5, while 3.15.2 at least uses Qt 6. Wonder what the appimage uses.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-14 01:25:37 UTC
Ooh: bug 889772.

Please show me the output of `emerge -pvO dev-qt/qt5compat dev-qt/qtdeclarative:6`

(I see `import Qt5Compat.GraphicalEffects` in src/gui/tray/UnifiedSearchResultItemSkeletonContainer.qml at least).
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-14 01:28:29 UTC
And `dev-qt/qtmultimedia:6`.
Comment 8 junk 2025-04-14 15:04:44 UTC
Below is the output. Interestingly this does not prevent the Add Account dialog from displaying or the settings dialog from displaying, but I will note the Settings dialog takes a complete 20 seconds to actually display after you click Settings. Still no output in terminal.

Note: I also tried a quick test with qtquickcontrols installed, that did not help) 

Note 2: I also installed every other recent version of nextcloud-client. Version 3.13.0 worked so this was introduced between 3.13.0 and 3.14.4 (seems to be the earliest 3.14 that made it into portage)


# emerge -pvO dev-qt/qt5compat dev-qt/qtdeclarative:6 dev-qt/qtmultimedia:6 dev-qt/qtquickcontrols dev-qt/qtquickcontrols2

Local copy of remote index is up-to-date and will be used.

Local copy of remote index is up-to-date and will be used.

These are the packages that would be merged, in order:

[binary   R    ] dev-qt/qt5compat-6.8.2-r1-1:6/6.8.2::gentoo  USE="gui icu -custom-cflags -qml -test" 0 KiB
[binary   R    ] dev-qt/qtdeclarative-6.8.2-1:6/6.8.2::gentoo  USE="jit network opengl sql ssl svg widgets -accessibility -custom-cflags -qmlls -vulkan" 0 KiB
[binary   R    ] dev-qt/qtmultimedia-6.8.2-1:6/6.8.2::gentoo  USE="X alsa ffmpeg gstreamer opengl v4l vaapi -custom-cflags -eglfs -pulseaudio -qml -screencast -test -vulkan -wayland" 0 KiB
[ebuild  N     ] dev-qt/qtquickcontrols-5.15.16:5::gentoo  USE="widgets -debug -test" 0 KiB
[ebuild   R    ] dev-qt/qtquickcontrols2-5.15.16:5/5.15::gentoo  USE="-debug -test -widgets" 0 KiB

Total: 5 packages (1 new, 4 reinstalls, 3 binaries), Size of downloads: 0 KiB
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-15 03:44:52 UTC
> [binary   R    ] dev-qt/qt5compat-6.8.2-r1-1:6/6.8.2::gentoo  USE="gui icu -custom-cflags -qml -test" 0 KiB

Try enabling USE=qml there.
Comment 10 junk 2025-04-16 15:39:19 UTC
Hi Sam,

USE=qml on qtcompat worked, main dialog is working now! Appreciate the help, I am very unfamiliar with the QT toolkit!


--- nextcloud-client-3.14.4.ebuild	2024-11-25 07:21:45.000000000 -0600
+++ nextcloud-client-3.14.4-r1.ebuild	2025-04-16 10:32:38.651000000 -0500
@@ -24,7 +24,7 @@
 	dev-libs/glib:2
 	>=dev-libs/openssl-1.1.0:0=
 	>=dev-libs/qtkeychain-0.14.2:=[qt6(+)]
-	dev-qt/qt5compat:6
+	dev-qt/qt5compat:6[qml]
 	>=dev-qt/qtbase-6.6.0:6[dbus,gui,network,sql,sqlite,widgets]
 	dev-qt/qtdeclarative:6[widgets]
 	dev-qt/qtsvg:6
Comment 11 Bernard Cafarelli gentoo-dev 2025-04-17 06:37:00 UTC
Thanks for the report and investigation with sam!

I suspect USE=qml is needed on other qt6 dependencies, but let's at least get this confirmed one in with version bump
Comment 12 Larry the Git Cow gentoo-dev 2025-04-17 06:43:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6d93aa0ba0127ead2ab7f9b02070f2a4b33982e

commit c6d93aa0ba0127ead2ab7f9b02070f2a4b33982e
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2025-04-17 06:42:58 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2025-04-17 06:42:58 +0000

    net-misc/nextcloud-client: add 3.16.3
    
    Add USE=qml to dev-qt/qt5compat:6 dep
    
    Closes: https://bugs.gentoo.org/950295
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 net-misc/nextcloud-client/Manifest                 |   1 +
 .../nextcloud-client-3.16.3.ebuild                 | 124 +++++++++++++++++++++
 2 files changed, 125 insertions(+)
Comment 13 sunox9 2025-04-17 06:45:54 UTC
Adding USE=qml fixed it for me too. Thanks!
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-17 23:11:16 UTC
Thanks! I'll try to remember to add the others when fixing bug 933110 to save people 2 rebuilds (working on Wireshark first which will need the same fix as bu 933110).