Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main dialog window does not open - Ubuntu #4069

Closed
RomeroVerde opened this issue Dec 11, 2021 · 57 comments
Closed

Main dialog window does not open - Ubuntu #4069

RomeroVerde opened this issue Dec 11, 2021 · 57 comments
Labels
bug confirmed bug approved by the team

Comments

@RomeroVerde
Copy link

Expected behaviour

Main dialog window should open when clicking either on:

  • Open main dialog or
  • See conflicts in setting window

Actual behaviour

Main dialog does not open.

Steps to reproduce

1.a Click in Next cloud logo > Open main dialog
1.b (from settings window) Click on see conflicts.

Client configuration

Client version: Desktop 3.4.0 (Ubuntu)

Operating system: Ubuntu 20.04

OS language: English

@ajoana
Copy link

ajoana commented Dec 12, 2021

Same here with current Mint Mate 20.2 in German.

@RomeroVerde
Copy link
Author

It appears to be the same as:
#4017

@Apromixately
Copy link

I have the same issue with the settings window. Should I create a separate issue?

@schworak
Copy link

Appears to be the same for Mint. I have nextcloud-desktop 3.4.0 installed and the "open main dialog" does nothing.

@k3tan172
Copy link

Appears to be the same for Mint. I have nextcloud-desktop 3.4.0 installed and the "open main dialog" does nothing.

Same for Pop!_OS. "Open main dialog" does nothing.

@mrmatteastwood
Copy link

Confirmed on Linux Mint 20.2 Cinnamon. Nextcloud client 3.4.0 from nextcloud-devs/client PPA.

@MegaV0lt
Copy link

Bug still exists with 3.4.1 on Linux Mint

@k3tan172
Copy link

Can confirm bug still exists with 3.4.1 on Pop!_OS. Interestingly, if you try the AppImage for 3.4.1, it works as expected.

@bugariu
Copy link

bugariu commented Dec 27, 2021

Bug still exists on Kubuntu 20.04

@MauroFoti
Copy link

Same in linux mint 20.1 with client 3.4.1. Weirdly enough, the bug does not replicate with the appimage (3.4.1) downloaded from https://nextcloud.com/install/#install-clients

@bugariu
Copy link

bugariu commented Dec 27, 2021

Wondering if it has something to do with commit 12c6d6e (esp. line 63:

_trayEngine->setNetworkAccessManagerFactory(&_accessManagerFactory);

Had myself problems using setNetworkAccessManagerFactory on Kubuntu 20.04 with stock Qt 5.12 since according to https://github.com/KDE/kdeclarative/blob/master/src/kdeclarative/kdeclarative.cpp#L88 the own NetworkAccessManagerFactory gets deleted. When I was using Qt 5.14 from /opt there was not such a problem.

This may explain why the appimage works (own Qt libraries?)

I would test it myself, but I can't compile on Ubuntu 20.04

@resoli
Copy link

resoli commented Dec 27, 2021

Same in linux mint 20.1 with client 3.4.1. Weirdly enough, the bug does not replicate with the appimage (3.4.1) downloaded from https://nextcloud.com/install/#install-clients

Same here (Ubuntu 20.04)

@allexzander
Copy link
Contributor

We will release a fix in 3.4.2. Ubuntu 20.04 https://pkgs.org/download/libqt5quick5 comes with Qt Quick 5.12 while we need 5.15 which comes in the most recent Ubuntu. For now, the only way is to either use 3.3.6, or use 3.4.1 via AppImage/flatpak/snap.

@k3tan172
Copy link

Upgraded to 3.4.2 via apt package manager and still the same issue. "Open main dialog" window does not appear.

@mad73923
Copy link

mad73923 commented Feb 10, 2022 via email

@mrmatteastwood
Copy link

FWIW, I discovered that if you leave everything from the repos installed, but then download the AppImage and run that, everything works perfectly. Both the dropdown as well as file manager integration (Nemo, in my case) continue to work.

This is on Linux Mint 20.2.

The AppImage puts its config files into the same location as the repo version, so what I did was, I un-checked the "launch on system startup" option in NC's settings and manually put the AppImage into my startup programs.

@despens
Copy link

despens commented Feb 10, 2022

If the client is dependent on a library that is not available in a LTS version of a distro as popular as Ubuntu, perhaps you could distribute it via Flatpak or snap instead?

@MegaV0lt
Copy link

Menu and language still not working with 3.4.2 on Mint Cinnamon 20.3

@jurgenhaas
Copy link

Confirmed, just updated to the packages version 3.4.2 on Ubuntu, the client works but the popup still doesn't show up.

@mrmatteastwood
Copy link

If the client is dependent on a library that is not available in a LTS version of a distro as popular as Ubuntu, perhaps you could distribute it via Flatpak or snap instead?

The client is, in fact, available as a snap or flatpak. To my understanding, though, you can't have file manager integration if you run either of these.

@despens
Copy link

despens commented Feb 10, 2022

@mrmatteastwood For the AppImage version the file manager integration works just fine.

The snap release of the desktop client is an "unofficial" build and as far as I understand from the description depends on Ubuntu Core instead of providing its own libraries (so the wrong QT version would still be used). It also states it doesn't support file manager integration. So for now using the AppImage is probably the best compromise.

@MegaV0lt
Copy link

there is no 3.3.6 for focal in the ppa

@NielBuys
Copy link

@MegaV0lt I want to reverse to a version that has the dialog working. The ppa only shows version 3.4.2. So that is why I am requesting / asking if I can get a version in ppa to reverse to. Thanks for the reply.
image

@ledufakademy
Copy link

Why the nextcloud team do not fix this AWFULL bug ?
i cannot add another NC account.

@mrmatteastwood
Copy link

Why the nextcloud team do not fix this AWFULL bug ? i cannot add another NC account.

@ledufakademy I had the same problem, and the AppImage provides a good workaround. Check out my post above:
#4069 (comment)

Just need to download the AppImage here: https://github.com/nextcloud/desktop/releases/download/v3.4.2/Nextcloud-3.4.2-x86_64.AppImage

Then mark as executable in the file properties, run, add your account. If you like, you can also replace the repo version with it: just close the AppImage, run the regular Nextcloud client that you already have installed, go to Settings and disable "Launch on System Startup". Then, open "Startup Applications" (in Mint, might be called differently in other distros) and add the AppImage there manually.

@Bug-Ninja
Copy link

Why the nextcloud team do not fix this AWFULL bug ? i cannot add another NC account.

@ledufakademy I had the same problem, and the AppImage provides a good workaround. Check out my post above: #4069 (comment)

Just need to download the AppImage here: https://github.com/nextcloud/desktop/releases/download/v3.4.2/Nextcloud-3.4.2-x86_64.AppImage

Then mark as executable in the file properties, run, add your account. If you like, you can also replace the repo version with it: just close the AppImage, run the regular Nextcloud client that you already have installed, go to Settings and disable "Launch on System Startup". Then, open "Startup Applications" (in Mint, might be called differently in other distros) and add the AppImage there manually.

I confirm that this workaround is working (Linux Mint 20.3 -XFCE). However, it simply should be working when you install it (from repo/PPA) or fixed soon. I also notice that the font in the main dialog is tiny and the settings dialog themed properly.

@mvv588
Copy link

mvv588 commented Feb 28, 2022

Same issue with v3.4.3, we deploy software using apt to our (100+) users on Ubuntu 18/20.04, the snap version is not usable, using the Appimage is not feasible. Please fix the version in the ppa, it is going to take several years before our users migrate to Ubuntu 22.04 after it comes out, thank you.

@MegaV0lt
Copy link

MegaV0lt commented Mar 2, 2022

3.4.3 still defekt, No Main Dialog opening on click and not in systemlanguage.
how can i install the 3.3.6 Version. It is not in the ppa

@mgallien
Copy link
Collaborator

mgallien commented Mar 2, 2022

sorry to hear that has not been solved
can you all confirm that you get the package from a PPA archive and confirm the version of the package you use ?
we have provided patches to allow packagers to downgrade the requirement on the Qt version
packages from us only are provided as AppImage that should be fully working and are built against the required Qt version (5.15)
the proper Qt version is unavailable on Ubuntu 20.04 and hence require extra patches to be built
we have provided help there

@jurgenhaas
Copy link

Yes, I can confirm that I've installed 3.4.3 from PPA on Ubuntu 20.04 and the main dialog still doesn't show up.

@mgallien
Copy link
Collaborator

mgallien commented Mar 2, 2022

@ivaradi could you have a look apparently people still have troubles running desktop client 3.4 version on Ubuntu 20.04
@jurgenhaas if possible could you upload us the debug archive that you can generate from the desktop client right after a start of it ?
that will allow to figure out what is missing in the current package

@jurgenhaas
Copy link

@mgallien there is quite some sensitive data in that log. What exactly are you looking for?

@ivaradi
Copy link
Contributor

ivaradi commented Mar 2, 2022

I think the bug has something to do with the fact that Qt 5.12 is used on Ubuntu 20.04 (while the code itself expects Qt 5.15). So perhaps there is some code related to the main window that compiles on Qt 5.12, but does not work as expected. I am not really familiar with Qt, but if you can give me some hints as to where to look in the code, I might be able to experiment.

@MegaV0lt
Copy link

MegaV0lt commented Mar 2, 2022

System: Host: MCP-Notebook Kernel: 5.13.0-30-generic x86_64 bits: 64 Desktop: Cinnamon 5.2.7 Distro: Linux Mint 20.3 Una

darkwing@MCP-Notebook ~ $ apt show nextcloud-desktop -a
Package: nextcloud-desktop
Version: 3.4.3-20220228.181513.99ab28eeb-1.0focal1
Priority: optional
Section: net
Maintainer: ownCloud for Debian maintainers [email protected]
Installed-Size: 4.098 kB
Depends: libnextcloudsync0 (= 3.4.3-20220228.181513.99ab28eeb-1.0
focal1), libqt5sql5-sqlite, nextcloud-desktop-common, nextcloud-desktop-l10n, qml-module-qtqml-models2, qml-module-qtquick-window2, qml-module-qtquick-controls2, qml-module-qtquick-layouts, qml-module-qtgraphicaleffects, libc6 (>= 2.14), libcloudproviders0 (>= 0.2.5), libgcc-s1 (>= 3.0), libglib2.0-0 (>= 2.37.0), libqt5core5a (>= 5.12.2), libqt5dbus5 (>= 5.6~), libqt5gui5 (>= 5.11.0rc1) | libqt5gui5-gles (>= 5.11.0rc1), libqt5keychain1 (>= 0.7.0), libqt5network5 (>= 5.6~), libqt5qml5 (>= 5.1.0), libqt5quick5 (>= 5.10.0) | libqt5quick5-gles (>= 5.10.0), libqt5quickcontrols2-5 (>= 5.7.1), libqt5svg5 (>= 5.6.0beta), libqt5webenginecore5 (>= 5.7.1), libqt5webenginewidgets5 (>= 5.7.1), libqt5widgets5 (>= 5.11.0rc1), libstdc++6 (>= 5.2), qtbase-abi-5-12-8
Recommends: nextcloud-desktop-doc
Suggests: dolphin-nextcloud, nautilus-nextcloud, nemo-nextcloud, caja-nextcloud
Replaces: nextcloud-client (<< 3.4.3-20220228.181513.99ab28eeb-1.0~focal1)
Download-Size: 1.603 kB
APT-Manual-Installed: yes
APT-Sources: http://ppa.launchpad.net/nextcloud-devs/client/ubuntu focal/main amd64 Packages
Description: Nextcloud folder synchronization tool
Mit der Nextcloud-Desktopanwendung haben Sie immer und überall Ihre
neuesten Dateien. Geben Sie einfach einen oder mehrere Ordner auf dem
lokalen Computer an und einen Server, mit dem synchronisiert werden soll.
Sie können mehrere Computer für die Synchronisierung mit demselben Server
konfigurieren. Alle Änderungen an den Dateien auf einem Computer werden
automatisch und zuverlässig an alle anderen übertragen.
.
nextcloud-desktop provides the graphical client specialising in
synchronizing with cloud storage provided by Nextcloud.

Package: nextcloud-desktop
Version: 2.6.2-1build1
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers [email protected]
Original-Maintainer: ownCloud for Debian maintainers [email protected]
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3.337 kB
Depends: libnextcloudsync0 (= 2.6.2-1build1), libqt5sql5-sqlite, nextcloud-desktop-common, nextcloud-desktop-l10n, libc6 (>= 2.14), libcloudproviders0 (>= 0.2.5), libgcc-s1 (>= 3.0), libglib2.0-0 (>= 2.37.0), libqt5core5a (>= 5.12.2), libqt5dbus5 (>= 5.6~), libqt5gui5 (>= 5.11.0rc1) | libqt5gui5-gles (>= 5.11.0rc1), libqt5keychain1 (>= 0.7.0), libqt5network5 (>= 5.6~), libqt5webenginecore5 (>= 5.7.1), libqt5webenginewidgets5 (>= 5.7.1), libqt5webkit5 (>= 5.212.0alpha3), libqt5widgets5 (>= 5.11.0rc1), libqt5xml5 (>= 5.6~), libstdc++6 (>= 5.2)
Recommends: nextcloud-desktop-doc
Homepage: https://nextcloud.com/install/#install-clients
Download-Size: 1.267 kB
APT-Sources: http://ftp.hosteurope.de/mirror/archive.ubuntu.com focal/universe amd64 Packages
Description: Nextcloud folder synchronization tool
Mit der Nextcloud-Desktopanwendung haben Sie immer und überall Ihre
neuesten Dateien. Geben Sie einfach einen oder mehrere Ordner auf dem
lokalen Computer an und einen Server, mit dem synchronisiert werden soll.
Sie können mehrere Computer für die Synchronisierung mit demselben Server
konfigurieren. Alle Änderungen an den Dateien auf einem Computer werden
automatisch und zuverlässig an alle anderen übertragen.
.
nextcloud-desktop provides the graphical client specialising in
synchronizing with cloud storage provided by Nextcloud.

@antoineguichard
Copy link

As far as I understand, the "Settings" window continues to open fine for everyone using Right-click >> Settings.

So would that not be simple and make sense to just replicate the functionality of the main dialog within the "Settings" window?

For example :

  • In the top banner of the Settings window, have a link to adding a new account, to the right of the list of current accounts (not being able to add new NC accounts IS a big stumbling block)
  • add a tab for Conflicts
  • etc.

The client would remain usable for everyone, whether or not they have the current QT bug and any possible future bug to the same effect.

Could we have that?

@mrmatteastwood
Copy link

As far as I understand, the "Settings" window continues to open fine for everyone using Right-click >> Settings.

So would that not be simple and make sense to just replicate the functionality of the main dialog within the "Settings" window?

For example :

  • In the top banner of the Settings window, have a link to adding a new account, to the right of the list of current accounts (not being able to add new NC accounts IS a big stumbling block)
  • add a tab for Conflicts
  • etc.

The client would remain usable for everyone, whether or not they have the current QT bug and any possible future bug to the same effect.

Could we have that?

YES PLEASE. I 1000% agree!

@ivaradi
Copy link
Contributor

ivaradi commented Mar 6, 2022

I have updated the patch used for Qt 5.12 so that the main dialog can be opened on Focal as well. Version 3.4.3 in the PPA has been recompiled with the fixes. Please, let me know your results.

@mvv588
Copy link

mvv588 commented Mar 6, 2022

I have updated the patch used for Qt 5.12 so that the main dialog can be opened on Focal as well. Version 3.4.3 in the PPA has been recompiled with the fixes. Please, let me know your results.

Works on Mint 20.3, thanks, big relief to see this working again.

@antoineguichard
Copy link

antoineguichard commented Mar 6, 2022

I have updated the patch used for Qt 5.12 so that the main dialog can be opened on Focal as well. Version 3.4.3 in the PPA has been recompiled with the fixes. Please, let me know your results.

Works for me on Ubuntu 20.04, Thanks! 👍

@MegaV0lt
Copy link

MegaV0lt commented Mar 7, 2022

Mint 20.3 with ncclient 3.4.3 is working here too.

@Bug-Ninja
Copy link

Mint 20.3 with ncclient 3.4.3 is working here too.

Yes, same here! Glad this has been solved, thanks!

@mad73923
Copy link

mad73923 commented Mar 7, 2022

Works for me now again! Thanks for the fix!

@resoli
Copy link

resoli commented Mar 7, 2022

Works for me under Ubuntu Focal.

@jeensg
Copy link

jeensg commented Mar 7, 2022

I have updated the patch used for Qt 5.12 so that the main dialog can be opened on Focal as well. Version 3.4.3 in the PPA has been recompiled with the fixes. Please, let me know your results.

Works here on xUbuntu 20.04 also, thank you very very much!!!

@masakkre
Copy link

masakkre commented Mar 9, 2022

I have updated the patch used for Qt 5.12 so that the main dialog can be opened on Focal as well. Version 3.4.3 in the PPA has been recompiled with the fixes. Please, let me know your results.

EDIT: In ubuntu mate 20.04 is working too. I don't know why, but in some installations fails, but in anothers it works great... I think it's my installation problems and not the app.

Thank you so much for your great work

@claucambra
Copy link
Collaborator

Since this bug has now ben fixed, closing -- thanks all for your comments

@avatar1024
Copy link

avatar1024 commented Jul 29, 2022

I have this problem again when using the repo version of the nextcloud client. I wonder if this has to do with the version of Qt on my system (see config below).

It's been broken at least since client version 3.5.1, possibly before and was definitely working fine with 3.4.2. However in the meantime Qt has updated so unsure whether the bug is from the update on the client or from the update in Qt. The flatpack version of the client works completely fine.

Nextcloud Desktop: 3.5.2 from stable ppa
Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.15.0-41-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8350U CPU @ 1.70GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

@avatar1024
Copy link

Sorry the answer is actually provided here #4476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed bug approved by the team
Projects
None yet
Development

Successfully merging a pull request may close this issue.