! 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 !
Font size of window's title size is not scaled in HiDPI in xfwm4 4.14.1
Status:
RESOLVED: FIXED
Component:
Decorations

Comments

Description Yonggang Li 2020-04-18 12:10:27 CEST
Created attachment 9740 
Up: Incorrect title text font size in HiDPI; Down: Correct one after maually reverting 34a31e

After upgrading xfwm4 to 4.14.1, font size of window's title text is no longer scaled, as shown in upper part of attachment.

Values of some possible related xfconf properties are:

```
gnaggnoyil@gnaggnoyil-archlinux ~ % xfconf-query -c xsettings -p /Gdk/WindowScalingFactor -v
2
gnaggnoyil@gnaggnoyil-archlinux ~ % xfconf-query -c xsettings -p /Xfce/LastCustomDPI -v      
192
gnaggnoyil@gnaggnoyil-archlinux ~ % xfconf-query -c displays -p /Default/VGA-0/Resolution
3840x2160
gnaggnoyil@gnaggnoyil-archlinux ~ %
```

This bug seeems to related to commit 34a31e274af2636d7bcb7cba833738ef4ff1be3e and if I manually revert this commit on current master HEAD and then build it, this bug will disappear with the font size of window's title text back to normal, being scaled correctly, as shown in lower part of attachment.
Comment 1 Git Bot editbugs 2020-04-20 22:40:12 CEST
Olivier Fourdan referenced this bugreport in commit fbd078082dddb5b27b92fdf5b3d058baf6bd06bc

Revert "frame: Fix title align"

https://git.xfce.org/xfce/xfwm4/commit?id=fbd078082dddb5b27b92fdf5b3d058baf6bd06bc
Comment 2 Olivier Fourdan editbugs 2020-04-24 08:29:16 CEST
*** Bug 16751 has been marked as a duplicate of this bug. ***
Comment 3 Git Bot editbugs 2020-05-01 17:47:01 CEST
Olivier Fourdan referenced this bugreport in commit bdb4f706597450371dd719709c565b1bc43123d7

Revert "frame: Fix title align"

https://gitlab.xfce.org/xfce/xfwm4/commit/bdb4f706597450371dd719709c565b1bc43123d7
Comment 4 Olivier Fourdan editbugs 2020-05-01 18:06:43 CEST
Fixed in 4.14.2
Comment 5 Yonggang Li 2020-05-02 20:16:28 CEST
Confirmed this bug has been fixed in 4.14.2. Thanks a lot for your work.

Bug #16711

Reported by:
Yonggang Li
Reported on: 2020-04-18
Last modified on: 2020-05-02
Duplicates (1):
  • 16751 Title bar is not scaled when window scaling is set to 2x

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
GIT Master

Attachments

Additional information