The template dialog has an unfortunate setting of
WM_CLASS(STRING) = "soffice", "Soffice"
compared to the main windows of e.g. LibreOffice Impress
WM_CLASS(STRING) = "libreoffice", "libreoffice-impress"
Although I thought bamf is able to match windows based on their (parent-) pid by using e.g.
_NET_WM_PID(CARDINAL)
which do match in this case.
The template dialog has an unfortunate setting of CLASS(STRING) = "soffice", "Soffice" CLASS(STRING) = "libreoffice", "libreoffice- impress"
WM_
compared to the main windows of e.g. LibreOffice Impress
WM_
Although I thought bamf is able to match windows based on their (parent-) pid by using e.g. WM_PID( CARDINAL)
_NET_
which do match in this case.