← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

Compiz 0.9.14.0 was released today, which includes this fix.

** Changed in: compiz
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1530277

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

Status in Compiz:
  Fix Released
Status in Compiz xenial series:
  New
Status in compiz package in Ubuntu:
  Fix Released
Status in compiz source package in Xenial:
  Fix Released

Bug description:
  [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

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