Bug 341361

Summary: Support hi-dpi scaling meta-bug (QT_DEVICE_PIXEL_RATIO)
Product: [Applications] konversation Reporter: Eike Hein <hein>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: CONFIRMED ---    
Severity: normal    
Priority: NOR    
Version: frameworks   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 341364, 341365    
Bug Blocks: 337512    

Description Eike Hein 2014-11-28 14:41:05 UTC
Konversation should properly support the new hi-dpi scaling in Qt. As of now, various things are broken - check the DEPENDs of this bug.

To try it out:

a) Enable this line in main.cpp: 
   app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
   (Line 106 at the time of writing.)

b) Grep the source for other "FIXME HIDPI" instances that might be relevant.

c) Export QT_DEVICE_PIXEL_RATIO=2

d) Make sure your font DPI is set to something high like 192 (you can override it in System Settings)


Useful links:
http://blog.davidedmundson.co.uk/blog/kde_apps_high_dpi
http://doc-snapshot.qt-project.org/qt5-5.4/highdpi.html

Reproducible: Always
Comment 1 David Edmundson 2015-03-04 14:54:30 UTC
Git commit fe62d6e5df5c06e7de0581731ebb23e90dbfeccb by David Edmundson.
Committed on 04/03/2015 at 14:54.
Pushed by davidedmundson into branch '1.6'.

Enable high DPI pixmaps

Even though there are some high DPI issues left to fix, enabling the
high DPI pixmaps does not cause any regressions and greatly improves the
experience.

Reviewed-by: Eike Hein

M  +1    -3    src/main.cpp

http://commits.kde.org/konversation/fe62d6e5df5c06e7de0581731ebb23e90dbfeccb