desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Nextcloud-3.7.4-x86_64.AppImage does not start in Wayland

Open jyrgi66 opened this issue 1 year ago • 4 comments

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

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 5.15.0-67-generic #74~20.04.1-Ubuntu SMP Wed Feb 22 14:52:34 UTC 2023 x86_64 x86_64 x86_64 GNU/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

jyrgi66 avatar Mar 10 '23 22:03 jyrgi66

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.

corepointer avatar May 31 '23 11:05 corepointer

image

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

volehuy1998 avatar Oct 11 '23 13:10 volehuy1998

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.

Swiftloke avatar Feb 13 '24 00:02 Swiftloke

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

solariz avatar Feb 14 '24 12:02 solariz