Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889772 - net-misc/nextcloud-client-3.6.2-r1 requires dev-qt/qtquickcontrols for the main dialog
Summary: net-misc/nextcloud-client-3.6.2-r1 requires dev-qt/qtquickcontrols for the ma...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-05 00:33 UTC by Michael
Modified: 2023-01-05 12:00 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge--info.txt,6.78 KB, text/plain)
2023-01-05 00:33 UTC, Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2023-01-05 00:33:09 UTC
Created attachment 847280 [details]
emerge --info

A window should appear when left-clicking the taskbar icon or doing "right click -> Open Main Dialog" on the taskbar icon. To my knowledge this window is the only way to open the dialog to add a new account.

Without dev-qt/qtquickcontrols it does not appear, but the client keeps working. After installing dev-qt/qtquickcontrols-5.15.5 and restarting the client, the main dialog works as expected.

To debug this, logging can be enabled by opening the "Settings" window and pressing F12 to open a dedicated configuration window.

From the log:

$ zgrep QtQuick /tmp/Nextcloud-logdir/20230105_0011_owncloud.log.0.gz
2023-01-05 00:11:35:022 [ warning nextcloud.gui.systray /var/tmp/portage/net-misc/nextcloud-client-3.6.2-r1/work/desktop-3.6.2/src/gui/systray.cpp:145 ]:       "qrc:/qml/src/
gui/tray/Window.qml:146 Type UserStatusSelectorPage unavailable\nqrc:/qml/src/gui/UserStatusSelectorPage.qml:39 Type UserStatusSelector unavailable\nqrc:/qml/src/gui/UserStatusSelector.qml:16 module \"QtQuick.Dialogs\" is not installed\n"
Comment 1 Larry the Git Cow gentoo-dev 2023-01-05 09:17:53 UTC
The bug has been closed via the following commit(s):

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

commit e9931dd6fdf957adf8125f2d9814b5d1bd273d67
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2023-01-05 09:14:00 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-01-05 09:17:07 +0000

    net-misc/nextcloud-client: add missing qtquickcontrols2 RDEPEND
    
    Closes: https://bugs.gentoo.org/889772
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 ...d-client-3.6.4.ebuild => nextcloud-client-3.6.4-r1.ebuild} | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
Comment 2 Michael 2023-01-05 10:50:05 UTC
Thanks for looking into this so quickly! I should have emphasized that the missing runtime dependency is from the deprecated dev-qt/qtquickcontrols "Qt Quick Controls 1". The new commit adds qtquickcontrols2 which is in COMMON_DEPEND already, so the bug is not fixed.

Similar bug:
https://bugs.gentoo.org/831506

Regarding the deprecation of Qt Quick Controls 1:
https://doc.qt.io/qt-6/qtquickcontrols-changes-qt6.html
Comment 3 Larry the Git Cow gentoo-dev 2023-01-05 12:00:45 UTC
The bug has been closed via the following commit(s):

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

commit 8bf14f5c7c237482d39c437c2449e1dae53a632b
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2023-01-05 11:54:31 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-01-05 12:00:42 +0000

    net-misc/nextcloud-client: do not import legacy QtQuick.Dialogs module
    
    Closes: https://bugs.gentoo.org/889772
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 ....4-drop-dependency-on-Qt-Quick-Controls-1.patch | 59 ++++++++++++++++++++++
 ...-r1.ebuild => nextcloud-client-3.6.4-r2.ebuild} | 13 ++---
 2 files changed, 66 insertions(+), 6 deletions(-)