DesktopEditors icon indicating copy to clipboard operation
DesktopEditors copied to clipboard

Onlyoffice working on Gnome not on Hyprland

Open euglevi opened this issue 2 years ago • 60 comments

This issue is unique.

  • [X] I have used the search tool and did not find an issue describing my bug.

Operating System

Linux (DEB package)

Version information

7.3

Expected Behavior

Onlyoffice opening and working properly

Actual Behavior

With version 7.2, everything works fine both in Gnome Wayland version and in Hyprland, a tiling window manager in Wayland based on wlroots. With the new version, Onlyoffice stopped working in Hyprland. Basically, it is so slow that it is unusable. Then, it is consuming like 25% of the CPU on an Intel i7. I am wondering what changes between 7.2 and 7.3 might have created this issue.

Reproduction Steps

No response

Additional information

No response

euglevi avatar Feb 17 '23 20:02 euglevi

Same problem in Fedora

Reproduction Steps

  • Installing Onlyoffice versions after 7.2.0
    • flatpak, rpm, doesnt matter
  • running in hyprland

Midnight1938 avatar Mar 14 '23 14:03 Midnight1938

The problem seems to be still there in the new 7.3.3 version.

euglevi avatar Mar 22 '23 19:03 euglevi

https://github.com/ONLYOFFICE/DesktopEditors/issues/1220

Not an issue with hyprland, Onlyoffice is being very sluggish through Xwayland.

NovaAndrom3da avatar Mar 26 '23 21:03 NovaAndrom3da

The issue is clearly the same. But then why OnlyOffice is working well in Gnome, which is still running on wayland?

euglevi avatar Mar 27 '23 07:03 euglevi

Could be an issue only with wlroots-based compositors, but I don't see why that would be the problem

NovaAndrom3da avatar Mar 27 '23 12:03 NovaAndrom3da

In my experience, OnlyOffice 7.3 freezes (while CPU heats =)) under any wlroots-based environment. Tested with sway, Hyprland, labwc (I guess it is enough).

Still works smoothly under Plasma (KDE) and Mutter (Gnome) with Wayland.

Works nicely under XOrg.

I can not pretend to say large corporations and majority of users are using sway, but at least if someone finds a workaround, it would be great!

dluciv avatar Apr 04 '23 13:04 dluciv

I think it would help if a developer tells us - as suggested in my first message - what changed in wayland-related code between version 7.2 and 7.3.

euglevi avatar Apr 05 '23 09:04 euglevi

Also posted an issue for wlroots, feel free to upvote it =)

dluciv avatar Apr 11 '23 10:04 dluciv

Can confirm this issue on Hyprland as of 7.3.3. Tried both flatpak and AUR. I did not have this issue before I updated from a really old (probably at least half a year old, no more than a year though) version.

AraqWeyr avatar May 02 '23 14:05 AraqWeyr

BTW there is a workaround for Flatpak, does well.

dluciv avatar May 02 '23 15:05 dluciv

Hi, @euglevi . The problem is indeed possibly related to wlroots. I created issue 62468 in our internal issue tracker. Our developers will try to figure out this problem.

matveevms avatar May 04 '23 15:05 matveevms

Hi, @euglevi . The problem is indeed possibly related to wlroots. I created issue 62468 in our internal issue tracker. Our developers will try to figure out this problem.

Any updates on this?

marrobHD avatar May 23 '23 13:05 marrobHD

@matveevms , I tried with the new version 7.4. A few differences are worth noting. Now the files open without any lag, which is good. However, there is no way of moving the pointer either with the keyboard or with the mouse and any keypress is ineffective. Furthermore, any resizing of the window messes up the window itself.

For the moment, I will go back to 7.2.

euglevi avatar Jun 20 '23 09:06 euglevi

Hi, I have the same issue with Sway and Hyprland on EndeavourOs (Arch). Only version 7.2.1 works. The last version (7.4.1) start faster than previous, but is unusable (freeze).

steevelefort avatar Aug 16 '23 15:08 steevelefort

Fix from #1220

sudo flatpak update --commit=6ae98cba3421104f2284ff31ea702d254d1561e6d127d22cf6cb562d21079ce6 org.onlyoffice.desktopeditors

mildred avatar Aug 30 '23 22:08 mildred

@marrobHD

Unfortunately, the problem has not yet been resolved. We will inform you as soon as we have new information.

matveevms avatar Sep 04 '23 11:09 matveevms

@euglevi @steevelefort @mildred I will definitely pass this on to the developers. Problem number stays the same (62468) Thanks for the report.

matveevms avatar Sep 04 '23 11:09 matveevms

Currently looking at the commits between 7.2.1 and 7.3.0 here. So far I've seen some changes related to older versions of GNOME, but they didn't look to be related to the issue.

NovaAndrom3da avatar Sep 05 '23 18:09 NovaAndrom3da

Honestly this is just making onlyoffice unusable for me. It really needs to be looked into....

alba4k avatar Sep 17 '23 16:09 alba4k

Facing the same problem. As soon as I start only office with hyprland, it freezes, and the temperature of the CPU goes crazy high (it's not a resource problem, since it's an i7 8750H). For "crazy high" I mean, around 85-90°C, with only only-office opened (usually it's around 40-45°C). RAM usage seems instead "under control". On Gnome I see no problem

alessandriniluca avatar Sep 18 '23 12:09 alessandriniluca

You should be able to use version 7.2.1 without problems.

Although I agree with you that for someone who knows the source code it should not be a difficult issue to look into. Something happened between 7.2.1 and 7.3, it should just be a matter of finding which change triggered this issue.

euglevi avatar Sep 25 '23 10:09 euglevi

yea but there would be a lot of changes to test

also I only find appimage builds for 7.2 and am too lazy to build from source ahhah

alba4k avatar Sep 25 '23 10:09 alba4k

The issue appears on v7.5.0 as well.

marrobHD avatar Oct 19 '23 13:10 marrobHD

Any fix for this? Haven't been able to update to a later version for a long time because of this.

clayrisser avatar Nov 22 '23 21:11 clayrisser

Our developers are currently working on this problem. But unfortunately I can’t give exact dates right now. We will notify you in this issue if there is news.

matveevms avatar Nov 23 '23 11:11 matveevms

7.2.1 no longer works on sway. (Just installed it from AUR.)

[remorin@chuwawa:0 ~]$ paru -Qii onlyoffice-bin | grep 'Version'
Version         : 7.2.1-1
[remorin@chuwawa:0 ~]$ onlyoffice-desktopeditors
This application failed to start because it could not find or load the Qt platform plugin "wayland"
in "".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)
[ble: exit 134]
[remorin@chuwawa:0 ~]$ QT_QPA_PLATFORM=xcb onlyoffice-desktopeditors
QLayout: Attempting to add QLayout "" to CTabBarWrapper "tabWrapper", which already has a layout
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1463, resource id: 8388680, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1466, resource id: 8388680, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1469, resource id: 8388680, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1507, resource id: 8388680, major code: 130 (Unknown), minor code: 3
[ble: elapsed 42.345s (CPU 83.9%)] QT_QPA_PLATFORM=xcb onlyoffice-desktopeditors

Only works on xcb. (QLayout error is thrown at startup, XCB errors when selecting a file to open.)

REmerald avatar Nov 30 '23 11:11 REmerald

@REmerald you need to use version 7.2.1

https://github.com/ONLYOFFICE/DesktopEditors/releases/tag/v7.2.1

clayrisser avatar Dec 01 '23 13:12 clayrisser

@clayrisser, I was referring to 7.2.1 and showed it in the pacman wrapper output. By "installed from AUR" I also meant that I changed to the commit of the PKGBUILD that fetches 7.2.1

https://github.com/ONLYOFFICE/DesktopEditors/releases/tag/v7.2.1

[remorin@chuwawa:0 ~]$ ~/Downloads/DesktopEditors-x86_64.AppImage
./DesktopEditors: symbol lookup error: /usr/lib/libtiff.so.6: undefined symbol: jpeg12_write_raw_data, version LIBJPEG_8.0
[ble: exit 127]

REmerald avatar Dec 27 '23 13:12 REmerald

I use a very hacky workaround by running Onlyoffice through gamescope

gamescope -w 1920 -h 1080 -F linear --force-windows-fullscreen -- org.onlyoffice.desktopeditors

I hope this will be resolved soon but for the time being I guess I'll use that

RegenJacob avatar Jan 22 '24 21:01 RegenJacob

Ver 7.5.1 Manjaro KDE work, Hyprland not work

zenfas avatar Jan 29 '24 02:01 zenfas