GNOME Bugzilla – Bug 748613
Minimum width larger than on other backends
Last modified: 2015-12-03 15:51:48 UTC
Created attachment 302540 [details] Test case reproducing the issue The minimum width of a window is larger when running the Wayland backend than it is when running running the X11 backend. For example by creating a window consisting of only a label, when running on X11, the window will be sized to just fit the label, while when running on Wayland it'll be much wider. Attaching an example program where the issue reproduces. Depending on what backend is used, the minimum size will be different. It is not possible to resize the window in Wayland to the same size as is the default on X11.
As far as I could see, this is more a client-side vs wm decorations, mutter fully ellipsizes the title, whereas gtk+'s headerbar label has a larger minimal size. I guess it would be nice to be consistent there, although I guess there won't be many places where the minimal width of the headerbar is larger than the content's. I saw some pixman warnings though on csd when running the testcase, both on wayland and with GTK_CSD=1 on x11. (gdb)
+ Trace 235060
$1 = {x = 46, y = 44, width = -11, height = 10} (gdb)
I'm going to declare this notabug - just a difference between ssd and csd.