-
Notifications
You must be signed in to change notification settings - Fork 22
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
fix(theme): Disable broken gnome theme #130
Conversation
Started test build 83241 |
Build 83241 failed |
As QGnomePlatform is no longer maintained, the theme should be set to KDE by default. This fixes broken rendering on newer gnome desktops.
2c723dd
to
7941571
Compare
Started test build 86150 |
Build 86150 failed |
7941571
to
c5dfbfe
Compare
Started test build 86151 |
Build 86151 successful
|
Is there a way to stop flatpak from wanting to install it along with Nextcloud? |
I am not sure about that but I think the QGnomePlatform is shipped with your Gnome Runtime until 39 and has been removed with Gnome 40. I think this flatpak does not affect QGnomePlatform presence on the installed system. |
Started test build 89043 |
Build 89043 successful
|
Revert "Merge pull request #130 from p-fruck/fix/remove-gnome-theming"
By the way for those who don't want to reinstall but just want to repair their current installation. It is recommended to use the tool Flatseal (flatpak install flathub com.github.tchx84.Flatseal) to fix it, you just need to navigate to nextcloud then navigate to the environment variables section and add QT_QPA_PLATFORMTHEME=kde and then restart nextcloud |
For those that prefer the command line, a one-time command to fix this issue is That said, it would be nice if the flatpak package could fix this for less tech-savvy users. Is there no way to add environment variables retroactively? |
Running the command from @geez0x1 fixed the problem for me. Thanks! I'd always wondered what text was supposed to be in those empty spaces 😂 I agree; I'd assumed that if this bug got fixed I'd receive the patch via a software update. I'm glad I stumbled across this thread but I imagine there are many users who are putting up with this, unaware that they would have to fix it manually. It did put me off recommending Nextcloud to my partner because parts of the app were unreadable. |
This workaround did the job in the past but for me it does not work any more.
I am using Arch Linux with GNOME:
|
⬆️ |
I've installed a fresh Debian 12 with nextcloud desktop from flathub. I've seen too the previous override fix do not work anymore too. As it's a freshed install, only nextcloud is using the KDE flatpak plateform, so I tried to remove all GNOME theme related KDE flatpak extensions:
And after that it worked again. I think this is not a long-term solution as I expect that some future platform update or application installation will certainly take back these extensions. For me it's ok to remove these extensions as I prefer to have working well applications rather than not-well adapted themes with my Desktop (see the https://stopthemingmy.app/ arguments which are proved to be true for this thread). |
Issue still exists on my side:
I am not able to change what to synchronize. OS: Arch Linux x86_64 |
For your information, I had to kill the nextcloud desktop process after I made these changes because the application stay in background if you just click the window close button. |
Someone from Nextcloud has looked into the issue and believes the problem lies in the flatpak and potentially its libraries being out of date. |
Can confirm, seems to work fine with QT6 (see above PR). I think the kde runtime 5.15 for flatpak is just not updated anymore as QT5 is considered EOL |
This does not work anymore. |
I also just run into the issue with invisible UI elements and |
As QGnomePlatform is no longer maintained, the theme should be set to KDE by default. This fixes broken rendering on newer gnome desktops. fixes #115