← Back to team overview

compiz team mailing list archive

[Bug 1530277] Re: gtk-window-decorator incorrectly draws the title bar if GDK_SCALE is set

 

** Description changed:

+ [Impact]
+ 
  I have a HiDPI screen. For all other GTK3 applications (and, to some
  extent, GTK2) to deal with it, I have to set two variables:
  
  GDK_SCALE=3
  GDK_DPI_SCALE=0.33333
  
  The font rendering DPI is set to 240.
  
  Unfortunately, this breaks decorations drawn by gtk-window-decorator, as
  illustrated on the screenshot. I can work around this by creating a
  wrapper that sets these variables to 1, only for this broken decorator.
+ 
+ [Test case]
+ 
+ 1) In mate or pure compiz session run:
+    env GDK_SCALE=3 GDK_DPI_SCALE=0.33333 gtk-window-decoration --replace
+ 2) Check the decorations appearance
+ 3) They should look properly scaled without glitches
+ 
+ [Regression potential]
+ The scaling is wrong or the decorations aren't properly painted

** Also affects: compiz/xenial
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1530277

Title:
  gtk-window-decorator incorrectly draws the title bar if GDK_SCALE is
  set

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1530277/+subscriptions