I'm using Ubuntu 17.10 and this bug is still present with Xorg AND Wayland.
Apps with a "normal" GTK titlebar (the narrow one), like Firefox, are working according to the settings in Gnome Tweak. So a double- or middle-click on the titlebar maximizes the window f.i. vertically. But when an app has a "Gnome" titlebar (the broad one), f.i. Gedit, then the window is always maximized fully, not only vertically or horizontally.
I'm using Ubuntu 17.10 and this bug is still present with Xorg AND Wayland.
Apps with a "normal" GTK titlebar (the narrow one), like Firefox, are working according to the settings in Gnome Tweak. So a double- or middle-click on the titlebar maximizes the window f.i. vertically. But when an app has a "Gnome" titlebar (the broad one), f.i. Gedit, then the window is always maximized fully, not only vertically or horizontally.
You can download a screencast of this bug here: https:/ /mega.nz/ #!j5BSjaSL! o7E3Kuf061sJQ_ tUukpe- 3Tf4JTi7NExB3uI -z_ijX4
It shows the behavior of different apps, GTK and QT, with different titlebars:
Deluge (GTK): works
Qpdfview (QT): works
LibreOffice (GTK): works
Gnome Tweak: fails
Gedit: fails
Can somebody confirm this?
Would be great to have a fix soon, since this bug is around for years!