! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Window titlebars extremely small when GDK_SCALE=2


Description waylonpeng 2019-08-21 05:49:43 CEST
Created attachment 8932 
tiny titlebars :(

On almost all xfwm4 themes except the default, setting Window Scaling to 2x causes window titlebars to become extremely small. An example is attached. Given how many themes are affected by this, it would be really nice if an option to scale window titlebars was provided.
Comment 1 Olivier Fourdan editbugs 2019-08-21 08:09:49 CEST
The default theme comes in 3 sizes, and the larger one is selected with scale 2.

If you use a different theme, you're pretty much on your own.
Comment 2 Olivier Fourdan editbugs 2019-08-27 11:32:55 CEST
Sorry, I replied in a hurry, that might deserve a slightly longer explanation...

Basically, the default theme upstream comes in 3 different flavors, “Default”, “Default-hdpi” and “Default-xhdpi”.

When SCALE=2 is used along with the “Default” theme, xfwm4 will automatically select the “Default-xhdpi” themes in place.

But downstream, custom themes don't ship with such options, so that mechanism does not work with distro customized themes. 

xfwm4 /could/ scale the theme itself, but that kinda defeat the purpose of using a HiDPI monitor I reckon, because it would be just a pixmap scaling.

So I would recommend either of those solutions:

 - Switch back to the “Default” theme
 - Nag your favorite distro so they provide higher DPI designed variants of their themes
 - Create your own variant of your distro theme scaling the pixmaps yourself

Either options would work, but the first option would be my recommendation, as it is the easiest one.

Bug #15860

Reported by:
Reported on: 2019-08-21
Last modified on: 2019-08-27


Olivier Fourdan
CC List:
0 users




tiny titlebars :( (447.11 KB, image/png)
2019-08-21 05:49 CEST , waylonpeng
no flags

Additional information