Skip to content

Libreoffice windows stop working #5262

Open
@scossu

Description

After a first launch and little interaction, LibreOffice is unable to open windows and leaves open processes.

I have replicated this with both native Wayland and XWayland. Examples below are for native Wayland.

Sway version: 1.4

LibreOffice version: 6.3.5-4

Sway run script (from tty):


#!/bin/sh
export _JAVA_AWT_WM_NONREPARENTING=1

export MOZ_ENABLE_WAYLAND=1

export QT_QPA_PLATFORM=wayland-egl
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_WAYLAND_FORCE_DPI=96
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1

export SDL_VIDEODRIVER=wayland

export SAL_USE_VCLPLUGIN=gtk3

export TERMINAL=kitty
export XKB_DEFAULT_LAYOUT=us

exec sway -d 2>~/.sway.log

Actions:

  • Start Sway
  • Remove ~/.config/libreoffice/4
  • Launch soffice from terminal
  • App starts, but outputs Failed to open display on terminal
  • Ctrl-O
  • Open file dialog appears. App outputs (soffice:30657): Gtk-WARNING **: 21:01:44.063: Failed to measure available space: No route to host on console
  • Select a CSV file. LO opens another dialog / preview window.
  • Press "OK" button
  • Application outputs (soffice:30657): Gtk-WARNING **: 21:16:45.765: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height -3 on terminal
  • Spreadsheet appears next to treminal window.
  • Ctrl-O again
  • Open another CSV file
  • Another preview window appears
  • Click OK
  • No spreadsheet opens
  • Close application
  • Restart again from terminal with soffice
  • Splash appears and hangs
  • App outputs the "attempt to allocate widget..." message on terminal several times

The only way to recover the application is to delete ~/.config/libreoffice/4 every time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    client-compatCompatibility issues with a particular application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions