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

[Bug]: Unable to sync with multiple accounts due to missing UI elements #6167

Closed
5 of 8 tasks
taiBsu opened this issue Oct 24, 2023 · 11 comments
Closed
5 of 8 tasks

[Bug]: Unable to sync with multiple accounts due to missing UI elements #6167

taiBsu opened this issue Oct 24, 2023 · 11 comments

Comments

@taiBsu
Copy link

taiBsu commented Oct 24, 2023

⚠️ Before submitting, please verify the following: ⚠️

Bug description

I recently reinstalled Nextcloud Desktop (3.10.0 (KDE); flatpak) on Pop!_OS (Ubuntu) 22.04 LTS. I was able to successfully connect to my primary account on my private instance, however when I opened the main window trying to sync my secondary account, I couldn't get to it because UI elements are missing - not only visually but also physically (I just can't click anything):
grafik
Clicking anywhere in the white space below my account icon doesn't do anything, however clicking the buttons to the right of the folder icon on the top right corner works, so it doesn't seem to be a simple theming problem (or if so, there might be a Qt element scaling problem).

When running nextcloud via cli (flatpak run com.nextcloud.desktopclient.nextcloud), the only output I get is qt.qpa.qgnomeplatform: Could not find color scheme "".

When using the AppImage binary, my secondary account is automatically linked already (which however it doesn't seem to be when using the flatpak version since files don't synchronize at all on that account) and everything seems to work just fine.

I really don't want to use the AppImage version for multiple reasons, how can this problem be solved?

I've found a similar issue here.

Thanks in advance.

Steps to reproduce

  1. Download Nextcloud via flatpak
  2. Run nextcloud
  3. Open main dialog

Expected behavior

Main dialog should be shown properly.

Which files are affected by this bug

flatpak version: com.nextcloud.desktopclient.nextcloud

Operating system

Linux

Which version of the operating system you are running.

Pop!_OS 22.04 LTS

Package

Other

Nextcloud Server version

27.1.2

Nextcloud Desktop Client version

3.10.0 (KDE)

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

No response

Additional info

No response

@DominiqueSite
Copy link

This bug might be related to issues with QGnomePlatform and/or Adwaita-qt. For a longer discussion see this thread.

@p-fruck
Copy link

p-fruck commented Nov 23, 2023

Hey there, please note that this is an issue with the flatpak version of the nextcloud desktop client maintained here.

I submitted a PR which sets the app theme to kde instead of gnome which fixes this issue. You should be able to override the environment variables and set QT_QPA_PLATFORMTHEME=kde to fix the issue until a new version released

@BryanMaker
Copy link

BryanMaker commented Jan 20, 2024

@p-fruck Thanks for mentioning adding environment variables, for those who don't want to reinstall but just want to repair the current installation. It is recommended to use the tool Flatseal (flatpak install flathub com.github.tchx84.Flatseal) for modification, you just need to navigate to nextcloud and then navigate to the environment variables section and add QT_QPA_PLATFORMTHEME=kde and then restart nextcloud
图片

@joshtrichards
Copy link
Member

Fixed in flathub/com.nextcloud.desktopclient.nextcloud#130

And outside the scope of this repository. :-)

@thsnielsen
Copy link

This one is back (and has been a problem a while not just the version below )
I am using :
nextcloud-desktop-3.12.3-1.1.x86_64
on
lenovo@localhost ~> kinfo
Operating System: openSUSE Tumbleweed 20240412
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.7.0
Kernel Version: 6.8.4-rc1-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-2620M CPU @ 2.70GHz
Memory: 15.5 Gio of RAM
Graphics Processor: Mesa Intel® HD Graphics 3000

image

@TacticalLaptopBag
Copy link

TacticalLaptopBag commented Apr 18, 2024

Same problem here, and adding QT_QPA_PLATFORMTHEME=kde in FlatSeal did not resolve the issue. I am on GNOME though, so maybe this has an effect?

EDIT: On Debian 12, installing the nextcloud-desktop deb package via apt seems to work fine. I think I'll just use this for the time being, though it is a shame the flatpak won't work with multiple accounts.

@raphj
Copy link

raphj commented May 6, 2024

I have the same issue with the openSUSE Tumbleweed package. I'm using Plasma 6 on Wayland. The workaround for me was to download and run the AppImage downloaded from nextcloud.com to add the second account. Then it shows up with the client provided by openSUSE.

@IPlayZed
Copy link

I am on Arch Linux, using 3.12.3 from Flathub, adding the QT_QPA_PLATFORMTHEME=kde does NOT solve this issue!

@sigreer
Copy link

sigreer commented Jun 27, 2024

Same issue on Manjaro using both AppImage and Flatpak. Issue is exists on both my desktop and laptop (both using KDE6 on Manjaro).

@mandrewsan
Copy link

Same issue. Fedora 40, KDE 6.1.1. Downloaded from Fedora repo via dnf.

@sigreer
Copy link

sigreer commented Jul 12, 2024

I can confirm that using the git repo on the AUR fixes the issue for Arch-based distros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests