Bug 341361 - Support hi-dpi scaling meta-bug (QT_DEVICE_PIXEL_RATIO)
Summary: Support hi-dpi scaling meta-bug (QT_DEVICE_PIXEL_RATIO)
Status: CONFIRMED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: frameworks
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on: 341364 341365
Blocks: 337512
  Show dependency treegraph
 
Reported: 2014-11-28 14:41 UTC by Eike Hein
Modified: 2015-03-04 14:54 UTC (History)
0 users

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 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