[Interest] QML: non scaled image strange issue under Linux
Roland Hughes
roland at logikalsolutions.com
Sat Jul 23 12:50:31 CEST 2022
On 7/23/22 05:00, Alexander Dyagilev wrote:
> I'm generating image (QR code) using QML image provider. Show it using
> Image control using actual size (i.e. width height are not specified,
> and I also set fill mode to Pad).
>
> Windows and macOS - works fine.
>
> Linux (Ubuntu) - it's shown blurred. If I set smooth property to false -
> it's shown as expected.
>
> Is it a bug? In docs it's stated that smooth has no effect if image is
> not scaled.
>
> Qt 5.12.12.
Just drawing a line from point A to point B without looking at the code,
the Ubuntu/Linux logic path appears to always execute the scale logic
even when the scale factor is 100%. I suggest you file a bug which will
probably be reclassified as a "performance enhancement request" to skip
image scaling when the scale factor is 100%
--
Roland Hughes, President
Logikal Solutions
(630)-205-1593
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
More information about the Interest
mailing list