[Interest] QML: non scaled image strange issue under Linux

Alexander Dyagilev alervdvcw at gmail.com
Tue Jul 26 21:22:42 CEST 2022


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


More information about the Interest mailing list