Skip to content

openoffice looks totally <censored>, try launching it - why d...#1819

Draft
lukemarsden wants to merge 2 commits into
mainfrom
feature/001439-openoffice-looks-totally
Draft

openoffice looks totally <censored>, try launching it - why d...#1819
lukemarsden wants to merge 2 commits into
mainfrom
feature/001439-openoffice-looks-totally

Conversation

@lukemarsden
Copy link
Copy Markdown
Collaborator

@lukemarsden lukemarsden commented Mar 4, 2026

Helix: openoffice looks totally , try launching it - why does it render so weirdly, duplicate mouse cursors, and only show the top quarter of the screen??

OnlyOffice bundles Qt5 without the Wayland plugin - it only supports X11
via xcb. This wrapper script sets up the correct environment for running
OnlyOffice via XWayland:

- DISPLAY=:0 for XWayland connection
- XAUTHORITY pointing to Mutter's XWayland auth file
- XCURSOR_THEME=Helix-Invisible for client-side cursor rendering
- LD_LIBRARY_PATH for bundled Qt5 libraries

The 4K scaling issue (OnlyOffice showing only top quarter of screen)
is a known XWayland limitation when GNOME is running at 2x scale -
XWayland reports logical resolution (1920x1080) to X11 apps instead
of physical resolution (3840x2160).

Spec-Ref: helix-specs@fb2752283:001439_openoffice-looks-totally
OnlyOffice is a Qt5+CEF app that only supports X11 (no Wayland plugin).
When running at 4K with 2x scaling, XWayland reports logical resolution
(1920x1080) instead of physical (3840x2160). OnlyOffice creates a window
at the logical size, causing content to render only in the top-left quarter.

The fix is to enable 'xwayland-native-scaling' experimental feature in Mutter,
which makes XWayland report physical resolution to X11 apps.

Spec-Ref: helix-specs@6d0168b01:001439_openoffice-looks-totally
@nessie993 nessie993 changed the title openoffice looks totally fucked, try launching it - why d... openoffice looks totally <censored>, try launching it - why d... Mar 4, 2026
@lukemarsden lukemarsden marked this pull request as draft March 14, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant