Window manager capabilities lazarus / 66-Unix ---------------------------------------------------------------------- MarkMLl · 2022-07-04 12:55 Following on from a comment which touched on different DPI settings etc., is there any way of getting a complete list of exported capabilities and hints from the current window manager (aka desktop environment)? I'm aware of e.g. https://specifications.freedesktop.org/wm-spec/wm- spec-latest.html but I know that there are additional things like font metrics which are passed from the WM: I don't know /how/ they're passed but I've seen a program's layout behave grossly differently on different WMs (refused to minimise beyond a certain point) which the developers involved attributed to a missing hint or metric. Of course, they couldn't agree who should be fixing it... MarkMLl ---------------------------------------------------------------------- codic124 · 2022-09-05 19:27 Font metrics are usually not passed on from the WM at all, although they might be from other parts of a desktop environment. If by minimize you mean resize/shrink, it is because the programs set a minimum size (eg via the ICCCM property WM_NORMAL_HINTS) which wms might choose to honor in different ways. (assuming x11, of course) ---------------------------------------------------------------------- MarkMLl · 2022-09-05 19:57 See https://github.com/Ultimaker/Cura/issues/10988 and https://forums. raspberrypi.com/viewtopic.php?p=1946554&sid=fe3368394b4b90e14aacb0ee61 fe43c4#p1946554 The app (Cura) was behaving differently depending on the X11 WM running on the computer, and the developers implicated QFontMetrics. Therefore there /are/ metrics passed by the WM, but I don't know the mechanism: I suspect ICCCM-related. MarkMLl