Bug 230190 - fonts way to small after resolution change through wine
Summary: fonts way to small after resolution change through wine
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Unspecified
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-10 13:10 UTC by Oliver Hoffmann
Modified: 2014-05-14 18:27 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Hoffmann 2010-03-10 13:10:41 UTC
Version:            (using KDE 4.4.1)
Installed from:    Gentoo Packages

I played a game with wine, that changed the resolution of my screen from 1920x1200 to 800x600.
After exiting the game, I had to manually switch back to my original resolution with the KDE system settings.
After that, all my fonts were unreadably small, but the font size was still at 9.0 according to KDE's font settings dialog.

Switching the resolution or the font size didn't help, I had to log out 
and back in to get fonts of normal size.

In case it matters, "Force Fonts DPI" was disabled all the time and "Use anti-aliasing" enabled.
Comment 1 Stefan Dotterweich 2011-05-03 18:53:25 UTC
The same thing is happening to me.

When the resoulution is changed by wine and wine crashes, the font size stays small even if I change my resolution via system settings.
Comment 2 Gregor Petrin 2011-05-26 09:20:48 UTC
Same thing happening on OpenSuse 11.4 and KDE 4.6.3. My game wasn't run through wine, it was a native Linux (SDL) binary.
Comment 3 Guido Schmidt 2013-01-20 14:09:45 UTC
I can confirm this bug on KDE 4.9.5 (OpenSuse 12.2) using nouveau-driver.

To trigger the bug I start a full-screen game (dark-oberon) in 800x600. The game crashes on exit, so I kill it on the console, then manually switch back to the native resolution (1920x1200).

xdpyinfo said 96x96 dpi before the game was run, afterwards 48x48 dpi.
Comment 4 Guido Schmidt 2013-01-20 15:05:08 UTC
I just tried the same with XFCE-Desktop. Turns out qt-based applications are affected, while GTK-based ones are not.
Comment 5 Bo 2014-05-14 13:13:14 UTC
This still happens even on 4.13.0. This is a 4 year old bug, will no one look at it?
Comment 6 Christoph Feck 2014-05-14 18:27:45 UTC
> xdpyinfo said 96x96 dpi before the game was run, afterwards 48x48 dpi

If the DPI information is not correctly restored, the bug is either in XRandR, or in Wine.