[Konsole-devel] [Bug 125929] New: Changing konsole font size produces inconsistent sizes after xrandr resolution switch
Jukka Laurila
jplauril at cc.hut.fi
Thu Apr 20 00:39:24 UTC 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=125929
Summary: Changing konsole font size produces inconsistent sizes
after xrandr resolution switch
Product: konsole
Version: unspecified
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: konsole-devel kde org
ReportedBy: jplauril cc hut fi
Version: (using KDE KDE 3.5.2)
Installed from: Ubuntu Packages
OS: Linux
To reproduce:
- start konsole
- set X to a low resolution mode using xrandr
- press ctrl-+ to enlarge the font
- press ctrl-- to reduce the font
- set X to a high resolution mode using xrandr
- press ctrl-+ to enlarge the font again
Expected result from last step: font gets bigger.
Actual result: font gets smaller.
Speculation: It seems like when a given font size is needed for the first time, konsole renders it into some cache based on the then-current DPI value of the screen. This cache is then not properly invalidated after the display resolution and DPI is changed with xrandr, and thus the font konsole gets from the cache is of the wrong size after the resolution change. Restarting konsole seems to clear this cache, and font resizing works as it should as long as the resolution stays the same.
More information about the konsole-devel
mailing list