Qt Contributors Summit 2019 HighDpi: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== High DPI Session at Qt Contributors Summit 2019 == === Topics === * Icons always scaled with fractional factors in QPixmap QIcon::pixmap(QWindow *...) const qicon.cpp:899...") |
|||
Line 1: | Line 1: | ||
== High DPI Session at Qt Contributors Summit 2019 == | == High DPI Session at Qt Contributors Summit 2019 == | ||
=== Topics === | === Topics === | ||
* Icons always scaled with fractional factors in QPixmap QIcon::pixmap(QWindow *...) const qicon.cpp:899 | * Icons always blurry/scaled with fractional factors in QPixmap QIcon::pixmap(QWindow *...) const qicon.cpp:899 , (Milian W to report bug), fix it to always downscale? | ||
(Milian W to report bug), fix it to always downscale | * Alternative proposal to fix blurry icons: Use fractional factors only for fonts. For icons, choose closest match and have layout adapt size? | ||
* | |||
* Tor Arne: Concerns about complexity ; Wayland and macOS have scaling built in whereas Windows/Linux require Qt handling. Move scaling code to QPlatformWindow, etc? | * Tor Arne: Concerns about complexity ; Wayland and macOS have scaling built in whereas Windows/Linux require Qt handling. Move scaling code to QPlatformWindow, etc? | ||
* David Edmundson: QML Image's sourceSize property is buggy/misleading, clarify docs at least | * David Edmundson: QML Image's sourceSize property is buggy/misleading, clarify docs at least |
Revision as of 07:25, 21 November 2019
High DPI Session at Qt Contributors Summit 2019
Topics
- Icons always blurry/scaled with fractional factors in QPixmap QIcon::pixmap(QWindow *...) const qicon.cpp:899 , (Milian W to report bug), fix it to always downscale?
- Alternative proposal to fix blurry icons: Use fractional factors only for fonts. For icons, choose closest match and have layout adapt size?
- Tor Arne: Concerns about complexity ; Wayland and macOS have scaling built in whereas Windows/Linux require Qt handling. Move scaling code to QPlatformWindow, etc?
- David Edmundson: QML Image's sourceSize property is buggy/misleading, clarify docs at least
References
- Code with inline docs
- High DPI Docs
- API Docs , see also QT_SCALE_FACTOR_ROUNDING_POLICY