Description: When lunching Libreoffice from terminal, I see the following errors: me:~$ libreoffice --writer (soffice:231398): Gtk-WARNING **: 09:18:33.050: Theme parsing error: gtk.css:18:10: 'headerbar' is not a valid property name (soffice:231398): Gtk-WARNING **: 09:18:33.050: Theme parsing error: gtk.css:25:10: 'headerbar' is not a valid property name (soffice:231398): Gtk-WARNING **: 09:18:33.050: Theme parsing error: gtk.css:34:0: Expected semicolon (soffice:231398): Gtk-WARNING **: 09:18:33.050: Theme parsing error: gtk.css:40:0: Expected semicolon (soffice:231398): Gtk-WARNING **: 09:18:33.050: Theme parsing error: gtk.css:45:6: 'window' is not a valid property name (soffice:231398): Gdk-CRITICAL **: 09:18:33.184: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed (libreoffice-startcenter:231398): Gdk-CRITICAL **: 09:18:33.219: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed (soffice:231398): Gdk-CRITICAL **: 09:18:34.503: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. (soffice:231398): Gdk-CRITICAL **: 09:18:38.766: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed (soffice:231398): Gdk-CRITICAL **: 09:18:38.860: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed (soffice:231398): Gdk-CRITICAL **: 09:18:38.968: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed (soffice:231398): Gdk-CRITICAL **: 09:18:38.971: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed 1. The icon shown in the dock is the generic LibreOffice icon, not the one specific to the invoked program. 2. There is for a brief moment a prompt with the LibreOffice log, but it is so fast I can't read. Steps to Reproduce: 1. Open LibreOffice from terminal (or clicking an icon) in Wayland. Actual Results: 1. Open LibreOffice from terminal (or clicking an icon) in Wayland. Expected Results: I expected, as in Xorg, that each LibreOffice app should be displayed separately and no error should be shown when started. Reproducible: Always User Profile Reset: No OpenGL enabled: Yes Additional Info: OS: Ubuntu 20.04.4 LTS x86_64 Kernel: 5.15.0-46-generic Shell bash 5.0.17 DE: GNOME WM: Mutter Terminal: gnome-terminal CPU: Intel i7-4910MQ (8) @ 2.900GHz GPU: NVIDIA GeForce GT 730M GPU: Intel 4th Gen Core Processor Memory: 4697MiB / 15879MiB
Normal behaviour with Xorg. Nor critical error reported, the icon is correctly assigned.
No repro in Ubuntu 22.04 with apt LO 7.3.5. Please paste here info from Help-About. This may be some local issue of yours. Please try to pinpoint yourself and consider upgrading to 22.04.
I also see the assertion failures (but not theme parsing issues) on Ubuntu 20.04 when logged into a Wayland session and running LO 7.4.3 from terminal: (soffice:28494): Gdk-CRITICAL **: 11:56:22.379: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed It pops up every time a new dialog / window is opened. I can also see that all components are grouped under the same LibreOffice icon in the dock (and show an erroneous version number in the tooltip: the earliest version installed, 6.3, instead of the one running, 7.4). Version: Version: 7.4.3.2 / LibreOffice Community Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded and a build from today: Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 1a5d548b96d86ad7ca04c2b23dc18517a538a998 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded GNOME 3.36.8 Ubuntu 20.04.5 I can already see the same warnings in 6.3: Version: 6.3.6.2 Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; Locale: en-AU (en_AU.UTF-8); UI-Language: en-US Calc: threaded
I'm going to call this a regression as I don't see it in 6.1: Version: 6.1.0.3 Build ID: efb621ed25068d70781dc026f7e9c5187a4decd1 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk2; Locale: en-AU (en_AU.UTF-8); Calc: group threaded But I do in 6.2: Version: 6.2.0.3 Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; Locale: en-AU (en_AU.UTF-8); UI-Language: en-US Calc: threaded
(In reply to Stéphane Guillou (stragu) from comment #4) > I'm going to call this a regression as I don't see it in 6.1 I take that back, I can also see the failed assertion in linux-64-6.1 bibisect repo's oldest.
Caolán, gdk_wayland_window_set_dbus_properties_libgtk_only() was first used in vcl/unx/gtk/gtksalframe.cxx with commit 56972b9899b2ec3fdc8c35cb293e0a232d7ffca3. Any thoughts on this? Maybe tied to my slightly older version of gtk on Ubuntu 20.04? libgtk-3-0: Installed: 3.24.20-0ubuntu1.1 Still seeing the failed assertion in a master build from today.
I start the gtk3 version of libreoffice under wayland (in Fedora) about 3000 times a day :-) and I don't see it so I don't know what going on there. Icons getting grouped together might be the old problem of us reusing toplevel windows for different applications which was resolved with the addition of gdk_wayland_window_set_application_id at https://gitlab.gnome.org/GNOME/gtk/-/issues/767