[Bug 165534] Option to disable CSD dialogs in gtk4 backend

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 3 14:13:13 UTC 2025


https://bugs.documentfoundation.org/show_bug.cgi?id=165534

--- Comment #8 from Michael Weghorn <m.weghorn at posteo.de> ---
(In reply to Klaus Kusche from comment #6)
> Over time, gtk applications have also been split:
> 
> You have applications for the Gnome desktop, which all use CSD titlebars.
> Gedit and evince are both Gnome-specific applications, so they have CSD.
> 
> And you have Xfce or Mate applications for the same purpose and with similar
> functionality, which have traditional title bars and no CSD.
> Atril is Mate's evince equivalent, pluma is Mate's gedit equivalent,
> mousepad is Xfce's gedit equivalent, and they also have their own terminal
> emulator, their own photo viewer, their own file manager, their own archive
> manager, their own CD burning program and so on, all without CSD title bars.
> 
> For desktop-agnostic gtk applications, the huge majority of gtk3
> applications is non-CSD, while gtk4 applications are mostly using CSD. 
> That's because Xfce and Mate users tend to stay with gtk3 applications as
> long as they have a choice (because Xfce and Mate are also gtk3 based and
> will not switch to gtk4 any time soon), while gtk4 applications are mostly
> used with Gnome (which is the only gtk4 desktop environment I'm aware of).

I see. So do I understand correctly that the request here is for LibreOffice to
explicitly implement non-CSD titlebars etc., rather than there being a way for
applications to implement one solution that would automatically switch between
using CSD titlebars on GNOME and non-CSD titlebars on Mate,...?

I would personally be rather skeptical regarding having two different
implementations in LibreOffice that both need to be maintained.

For now, sticking with the gtk3 VCL plugin on MATE seems to be the most
straightforward solution to me, as (like other apps you mention), I don't see
this disappearing anytime soon.

In that case, I think that in the future, seeing what solutions were chosen for
other GTK 4 apps might serve as an inspiration on what to do for LibreOffice's
gtk4 variant in the future as well.

(In reply to Klaus Kusche from comment #7)
> I didn't say CSD's are uncommon, that depends on the desktop you use.
> Gnome is the most prominent (and only?) "all-CSD" desktop.
> 
> But each desktop should be consistent, 
> and each app on a desktop should follow that desktop's design guidelines.
> 
> For linux desktops mainly used by people with mainly Microsoft Windows
> background or little computing background at all (linux in companies, linux
> in schools, ...), non-CSD desktops are strongly preferred, and user
> interface consistency is a major argument (I worked in a government's IT
> department for several years).

As far as I know, LibreOffice automatically chooses the gtk3 variant on all
GTK-based desktops by default, which, IIUC, would result in the desired
behavior here.

Do I understand correctly that the root cause of what you describe as
undesirable behavior is that Gentoo deviates from the default LibreOffice
behavior? In that case, my suggestion would be to file a ticket in the Gentoo
issue tracker, requesting to keep the gtk3 VCL plugin.

(Another alternative to get a non-CSD variant is to use the qt6/kf6 variant, in
case Gentoo packages those.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list