Re: Application name Problem

2021-04-22 Thread Jan-Marek Glogowski

Am 22.04.21 um 16:27 schrieb T. G.:
If i compile libreoffice with GTK3 and start it with ./soffice --writer, 
then if i open calc with ./soffice --calc it opens calc windows but 
selects writer in linux dock(only writer app icons is available).

Exactly same happens on FreeBSD.
But on ubuntu libreoffice package works fine.
thanks in advance.


This is probably the result of the way LibreOffice handles WM_CLASS. You 
can read up on it in


https://bugs.documentfoundation.org/show_bug.cgi?id=141106
https://bugs.documentfoundation.org/show_bug.cgi?id=125921
https://bugs.documentfoundation.org/show_bug.cgi?id=119202

TL;DR

LO is a single binary with multiple modules, which have their own icon. 
The WM_CLASS value is normally used by the DE for window grouping and 
"dock" icons, but according to the ICCCM specs, it's static (formally, 
not in the protocol) after a Window is created.


The best fix would be to amend the spec. The currently "correct" fix 
would be to destroy and rebuild the application window, if you use a 
different module. LO breaks the spec by just changing that value on demand.


HTH
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Application name Problem

2021-04-22 Thread T. G.
Hello everyone,
If i compile libreoffice with GTK3 and start it with ./soffice --writer,
then if i open calc with ./soffice --calc it opens calc windows but selects
writer in linux dock(only writer app icons is available).
Exactly same happens on FreeBSD.
But on ubuntu libreoffice package works fine.
thanks in advance.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice