DesktopEditors
DesktopEditors copied to clipboard
flatpak: Can't run on Wayland
This issue is unique.
- [x] I have used the search tool and did not find an issue describing my bug.
Operating System
Linux (RPM package)
Version information
7.5.1
Expected Behavior
I expected OnlyOffice Desktop Editors to run natively on Wayland without any problems
Actual Behavior
If I remove socket x11 to make OnlyOffice run natively on Wayland, I get an error message.
Even after adding electron arguments (--enable-features
and --ozone-platform
) to make it to run on Wayland.
Reproduction Steps
- In Flatseal, turn off
socket=x11
- Try to run OnlyOffice Desktop Editors
Additional information
$ flatpak run org.onlyoffice.desktopeditors
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
$ flatpak run org.onlyoffice.desktopeditors --enable-features=UseOzonePlatform --ozone-platform=wayland
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
I also tried running it with different environment variables, but it did not work.
XDG_SESSION_TYPE=wayland
QT_QPA_PLATFORM=wayland
Also, I'm on Gnome 45.2
I can confirm this behavior on Fedora Linux 39 running Gnome 45.3 and OnlyOffice 7.5.1
When using X11 the OnlyOffice windows flicker heavily (as in turns black every few seconds). With other Flatpak applications, this could be fixed by forcing them to Wayland but unfortunately not for OnlyOffice.
We tried run onlyoffice on Fedora 39 KDE with Wayland and app work without errors. I'll try to install the version Fedora on Gnome.
We tried run onlyoffice on Fedora 39 KDE with Wayland and app work without errors. I'll try to install the version Fedora on Gnome.
you probably runned it via xwayland
try disable socket=x11
in flatseal and run it on native wayland
@gmankab I disabled socket=x11 it using tchx84 and OO working fine on Fedora 39
This issue was closed due no response.
I have the same problem. Im using Debian Testing with KDE Plasma 5.27.11 on wayland. I tried the env vars QT_QPA_PLATFORM=wayland and QT_QPA_PLATFORM=xcb with the env var ELECTRON_OZONE_PLATFORM_HINT=auto but nothing worked
Issue still occurring under Arch with KDE 6.1.3
@XDmitryK, please take a look.