-
Notifications
You must be signed in to change notification settings - Fork 817
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
[Bug]: main (blue background) UI gone in 3.5 under Gnome/Wayland/Ubuntu 22.04 #4476
Comments
Same on Mint 20.3 with Cinnamon, this is a regression, I'm using the PPA .The menu was broken some versions ago which was fixed in the last(?) version. |
Not the same issue, here the "Open main dialog" option does not appear in the system tray menu at all, though the tray window is able to appear if invoked in some other way (like trying to open a new instance the client while it is already running)... |
Indeed it is a bug, investigating |
Confirmed on Ubuntu 21.10 too (Gnome on Xorg) |
Same at Ubuntu mate 20.04, the last version (3.4.4 I think) works fine |
Nearly the same on Ubuntu 20.04 focal (Mint Xfce). |
@ivaradi heads up, we have an additional new dependency with |
@claucambra thanks for the update, the builds with the new dependency are in progress. |
Thank you :) |
I've just upgraded to and tested: On Ubuntu 20.04.4 with X11 |
On Ubuntu Mate 20.04, updated to the latest version this morning and istalled the new dependency, the problem still exists. In my case, when I clic on the try icon, into the submenu, insted of seeing the "Open main dialog" option, I have this 2 options: "Add account" and "pause sync". |
A fix is in the pipelines with #4484 and it should be part of the next bugfix release. A workaround in the mean time if you need the tray window is to try to run a new instance of the client, which will invoke the tray window |
The mentioned fix works here on xUbuntu 20.04. Thank you! |
Well, just installed 3.5.1-20220518.151043.930206f06-1.0~focal1 ... option for maindialog now exists, but is not opening again :-( If I can contribute with logs, I would need advice on what to post. Thank you! I don't know if it's related to #4069 again? |
Same here. |
Thanks for reporting, will investigate |
Can't reproduce on 22.04, will test 20.04 |
Same here, No text visible at all, super huge icons unusable on 720p screen |
@claucambra, on 22.04, immediately after an installation and the initial login and synchronization, qrc:/qml/src/gui/tray/Window.qml:146: TypeError: Cannot read property 'headerColor' of null There are many such entries, each time a property of UserModel.currentUser is referenced. After killing nextcloud (since the "Exit" menu item does not work either) and On 20.04, the QtQuick version patch was applied, but it did not update some new QtQuick module version numbers. After having added those, I also have this black background problem. In the log I can see entries like: qrc:/qml/theme/Style/Style.qml:21:5: Unable to assign [undefined] to QColor whenever a property of the Theme object is accessed. I did some debugging and the Theme object gets created, but for some reason none of the property getter functions are called. I will continue debugging, but some hint would be nice about what could have changed between 3.4 and 3.5 that might cause this behaviour with Qt 5.12 (but not with Qt 5.15). |
I have implemented a workaround for 20.04, and now it seems to work, though I am not sure what undesirable side effects the The workaround is that the line
is moved after the instatiation of @claucambra please, check what this change causes, and whether it hints at what might the real problem be. |
@ivaradi thanks for the quick workaround, I will investigate |
Works now for me on Mint with the last update, very happy. Edit: The share dialog does not open, the scaling also seems of for me, the top right icon is fuzzy. This is Linux Mint 20.3 Una with Cinnamon. The talk notification popup is also all black with just a decline button, it comes up in the middle of the screen. |
Also working on MINT 20.04 here |
Works here with xUbuntu 20.04.4 LTS (version: 3.5.1-20220522.112322.930206f06-1.0~focal1). Thank you very much for your fast fixes!!! |
I still face this issue on KDE neon (Ubuntu 20.04-based) with all the latest updates installed. Even if I start the client from the terminal and even if I enable debug logging ( |
Which exact version do you have installed? (apt policy nextcloud-desktop) |
The package installed is version |
Unfortunately, KDE Neon has different versions of Qt libraries to Ubuntu and the Ubuntu PPA versions of the client are not compatible with Neon. For Neon users that want to use the most up to date version of the desktop client we recommend the official AppImage which avoids issues with Qt versioning. |
I realize this ticket is closed but I would like to respond. The Appimage really isn't a great solution. In my use case we deploy all software using apt to several hundred laptops and desktops. We would need to device some new method of deployment for getting a stable NC desktop client experience for our users. The long duration and frequency of the app being broken does not reflect wel on NC as a whole from our users point of few. and hinders adoption. Some sort of resolution for getting a stable apt repo would be very helpful. We are looking to move to enterprise however I don't think this does offer a stable NC client. |
The AppImage working fine is proof that the issue here is not the client itself, but rather the way the client is packaged for distributions. In the case of Ubuntu 20.04-based distributions, it is an issue of Ubuntu LTS releases forcing the use of versions of Qt which are significantly out of date, requiring the Nextcloud PPA packagers to patch the client to work correctly on these distributions. This will inevitably cause some bugs to arise. In the case of KDE Neon specifically, it is as I explained -- KDE Neon uses different versions of Qt which break packages built for Ubuntu 20.04 and the version of Qt it ships with. You can of course go and use versions of the client with patches for old versions of Qt, or try to use a different distribution's packages on your own distro, but what we cannot do is recommend these as supported solutions for the reasons above. The Ubuntu PPA packages, while not officially packaged nor maintained by Nextcloud, are still packages that we pay attention to, and take the time to fix bugs with (see this issue!). We cannot, however, change the way that our dependencies are packaged in distributions. What we can do is bypass this issue with solutions such as AppImages. These solutions may not be perfect, but they ensure that the client works as intended across most Linux distributions. |
Appimage/flatpack are a solution but one question remains: How do we get file manager integration using the Appimage or Flatpack version without installing the repo version?? Having both version installed works but is messy a you have to be careful which version autostarts, and you also have to check repo version matches flatpack version for the integration. Is there a better solution being thought of here? I have to say the Flatpack/Appimage version do work extremely well and offer the best experience I've every had with the client but it would be good to have an integrated solution that goes with those versions for file manager integration. |
As far as I understand there aren't any technical reasons for a hard dependency between the client package and the file manager integration packages -- this would be more of a packaging issue. We can try to indicate to packagers that we'd prefer the client and file integration packages not be hard dependencies of each other, but it is again up to the packagers to decide what to do here. Packaging for distributions is tricky for us there is no silver bullet that gets us everything with so all these moving parts. If we find a better way of distributing the client, we will of course pursue it |
Since version 3.5.3-20220729.170743.c48a8d89e-1.0~focal1 the problem is back on Mint Xfce 20.04 Focal |
This time the problem really piss me off, because the crappy APPimage always wants to be verified via Firefox. Since I connect to various accounts, mixing various calendars on mobile devices and using a safe password on every browser on all my computers, I'm really annoyed. |
I just received the newest working version: 3.5.4-20220806.084713.fea986309-1.0~focal1_all |
I compiled from source and clicking "Open main dialog" did not show up the dialog. I'm using ubuntu 22.04 Source package : stable 3.6 commands used to compile The app installs perfectly fine except for the main dialog is not opening at all. |
You are likely missing QtQuick modules which, though not necessary to compile, are needed by the client to display the tray window. I recommend you check the client logs to see what is going on with your build of the client |
`Found SharedMimeInfo: /usr/bin/update-mime-database (found version "2.1")
-- The following REQUIRED packages have been found:
These are the cmake logs, I think all necessary modules are found |
Please re-read my prior comment carefully:
|
I tried everything I know, I even tried on a clean install of ubuntu 22.04 sudo apt update && sudo apt install -y build-essential cmake pkg-config qtbase5-dev qtkeychain-qt5-dev libqt5websockets5-dev libqt5svg5-dev qtdeclarative5-dev qtquickcontrols2-5-dev qtbase5-private-dev librsvg2-bin software-properties-common freeglut3-dev gdb git iputils-ping libgl1-mesa-dev Then mkdir build && cd $_ install worked and I don't get any errors or logs when clicking the "Open main dialog" menu, am I missing something ? Is there anything I need to do ? |
A couple of things:
|
Bug description
Previously there used to be a funny little popup window thing, which I think is considered the main UI, as pictured below:
Now there isn't.If I click the tray icon I get a menu (Add account, Pause sync for all, ... Settings...) and the only UI I can get to is the Settings screen. (Previously, in 3.4 it was called "Open main dialog")
The main UI did provide a few features that I can't live without; e.g. re conficts.
I've tried all types of clicking on the icon but can't get it to appear any more. If that UI was gone forever because the functionality had been moved into the (much better behaved) settings window that would be fine, but I don't think that's what's happened; I think it's a bug that it's missing?
Steps to reproduce
Described above.
Expected behavior
There should be some way to make the main UI show up. e.g. put a "Show main window" (or some other phrase) in the popup menu, alongside Settings etc. Or double-click or something.
Which files are affected by this bug
N/A
Operating system
Linux
Which version of the operating system you are running.
Ubuntu 22.04
Package
Appimage 3.5.0 "ubuntu-5.15.0-25-generic"
Nextcloud Server version
23.0.4
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 3.3.6 to 3.4.0) 3.4 → 3.5
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
Nextcloud Server logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: