[Interest] QML: non scaled image strange issue under Linux
roland at logikalsolutions.com
Tue Jul 26 21:28:13 CEST 2022
Lazy is as lazy does <Grin>
Hey. I have just gotten contact about the isDigit() bug I filed back in
I haven't looked at the code, but, if it is blurring at 100% scale
factor, I would be looking for floating point math.
Inconsistent behavior between Linux and other supported platforms is
definitely a bug. If you cannot get the screen to behave the same across
platforms you cannot release a viable cross platform product.
On 7/26/22 14:22, Alexander Dyagilev wrote:
> OK, I can live with scale logic always active. But why is it so
> blurred when scale is 100%... For me, it's definitely a bug... But it
> seems I'm too lazy to file one yet bug report...
> On 7/23/2022 1:50 PM, Roland Hughes via Interest wrote:
>> 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
More information about the Interest