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]: Nextcloud-3.7.4-x86_64.AppImage does not start in Wayland #5515

Open
4 of 8 tasks
jyrgi66 opened this issue Mar 10, 2023 · 4 comments
Open
4 of 8 tasks

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

jyrgi66 opened this issue Mar 10, 2023 · 4 comments

Comments

@jyrgi66
Copy link

jyrgi66 commented Mar 10, 2023

⚠️ 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

@corepointer
Copy link

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.

@volehuy1998
Copy link

volehuy1998 commented Oct 11, 2023

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 #235 (comment)

@Swiftloke
Copy link

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.

@solariz
Copy link

solariz commented Feb 14, 2024

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

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

6 participants