gtk-window-decorator incorrectly draws the title bar if GDK_SCALE is set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
compiz (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
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_
The font rendering DPI is set to 240.
Unfortunately, this breaks decorations drawn by gtk-window-
[Test case]
1) In mate or pure compiz session run:
env GDK_SCALE=3 GDK_DPI_
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
Related branches
- Marco Trevisan (Treviño): Approve
-
Diff: 39 lines (+11/-0)2 files modifiedgtk/window-decorator/decorator.c (+10/-0)
gtk/window-decorator/gwd-theme-metacity.c (+1/-0)
- Marco Trevisan (Treviño): Approve
-
Diff: 346 lines (+207/-5)5 files modifiedgtk/CMakeLists.txt (+2/-0)
gtk/config.h.gtk.in (+3/-0)
gtk/window-decorator/gwd-theme-metacity.c (+27/-0)
gtk/window-decorator/gwd-theme.c (+165/-5)
gtk/window-decorator/gwd-theme.h (+10/-0)
- Andrea Azzarone: Approve
-
Diff: 1777 lines (+936/-94)31 files modifiedVERSION (+1/-1)
debian/changelog (+28/-0)
debian/mate.ini (+9/-9)
debian/profile_upgrades/com.canonical.unity.unity-lowgfx.01.upgrade (+12/-0)
debian/unity-lowgfx.ini (+8/-2)
debian/unity.ini (+0/-1)
gtk/window-decorator/decorator.c (+2/-0)
gtk/window-decorator/metacity.c (+2/-0)
gtk/window-decorator/util.c (+1/-1)
include/core/abiversion.h (+1/-1)
include/core/atoms.h (+2/-0)
include/core/screen.h (+7/-1)
include/core/string.h (+3/-0)
plugins/grid/grid.xml.in (+10/-0)
plugins/grid/src/grid.cpp (+67/-22)
plugins/grid/src/grid.h (+0/-1)
plugins/move/move.xml.in (+58/-0)
plugins/move/src/move.cpp (+326/-2)
plugins/move/src/move.h (+16/-1)
plugins/neg/neg.xml.in (+5/-0)
plugins/neg/src/neg.cpp (+1/-1)
plugins/resize/resize.xml.in (+15/-0)
plugins/resize/src/logic/src/resize-logic.cpp (+8/-6)
plugins/resize/src/resize.cpp (+137/-37)
src/atoms.cpp (+4/-0)
src/event.cpp (+5/-0)
src/privatescreen.h (+6/-0)
src/privatescreen/tests/test-privatescreen.cpp (+2/-0)
src/screen.cpp (+137/-6)
src/string/src/string.cpp (+61/-0)
src/window.cpp (+2/-2)
- Compiz Maintainers: Pending requested
-
Diff: 1684 lines (+1650/-0) (has conflicts)3 files modifieddebian/changelog (+93/-0)
gtk/window-decorator/decorator.c (+2/-0)
gtk/window-decorator/metacity.c.OTHER (+1555/-0)
Changed in compiz: | |
status: | New → Fix Committed |
Changed in compiz (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
Forgot to say: this is about Compiz 0.9.12.2-10 as compiled on Arch Linux from AUR. See https:/ /aur.archlinux. org/packages/ compiz/