desktop
desktop copied to clipboard
[Bug]: Nextcloud-3.7.4-x86_64.AppImage does not start in Wayland
⚠️ Before submitting, please verify the following: ⚠️
- [X] This is a bug, not a question or a configuration issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct
Bug description
The new Nextcloud Desktop Client App Image Nextcloud-3.7.4-x86_64.AppImage does not start in Wayland environment. Error Message: Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Predecessor App Image Nextcloud-3.7.3-x86_64.AppImage runs without any issue.
Steps to reproduce
Start Nextcloud-3.7.4-x86_64.AppImage and the error occurs.
Expected behavior
Nextcloud Desktop Image starts.
Which files are affected by this bug
Nextcloud-3.7.4-x86_64.AppImage
Operating system
Linux
Which version of the operating system you are running.
Linux
Package
Appimage
Nextcloud Server version
25.0.3
Nextcloud Desktop Client version
3.7.4
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 3.4.2 to 3.4.4)
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
n/a
Additional info
No response
Still the same in version 3.8.2:
$ chmod u+x Downloads/Nextcloud-3.8.2-x86_64.AppImage
$ Downloads/Nextcloud-3.8.2-x86_64.AppImage
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
^C
$ QT_QPA_PLATFORM=wayland Downloads/Nextcloud-3.8.2-x86_64.AppImage
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
Aborted (core dumped)
I'd rather call this a missing feature than a bug though.
QGuiApplicationPrivate::platform_integration = QPlatformIntegrationFactory::create(name, arguments, argc, argv, platformPluginPath);
VS2019 same here with NULL
value because not found env QT_QPA_PLATFORM_PLUGIN_PATH
, does anyone fix this?
[UPDATE] Maybe solution is here https://github.com/nextcloud/desktop/issues/235#issuecomment-387850103
Bug is still reproducible on Arch Linux, KDE Plasma Wayland, Nextcloud Client 3.11.1. It reproduces as starting under XWayland with the warning message:
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
If QT_QPA_PLATFORM=wayland
is used to forcibly start it under Wayland, the following is produced:
$ QT_QPA_PLATFORM=wayland ./Nextcloud-3.11.1-x86_64.AppImage
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
Aborted (core dumped)
I noticed this because I rely on fractional scaling for a good desktop experience, which does not function correctly under XWayland.
Years and it still does not work well in wayland :( So also confirming again, same error persists.
OS: TUXEDO OS jammy 22.04 x86_64 Kernel: 6.5.0-10022-tuxedo Display (S34CG50): 3440x1440 @ 100Hz Display (CSO140C): 2880x1800 @ 90Hz (as 1440x900) [Built-in] DE: KDE Plasma 5.27.10 Framework 5.114.0 QT: 5.15.12 WM: KWin (Wayland) X-WAYLAND: X.Org version: 1.22.1.1 as :1 GPU: Mesa Intel® Graphics