Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.6.1
-
None
Description
QML FontLoader component is crashing when Text component's elide property is set. We have this issue only on Android platform. Sharing you the sample code that is causing the crash. It is crashing on all the following devices available with us :
Galaxy s22 -> Android 13,
Galaxy s9 -> Android 10,
Galaxy note9-> Android 10,
Galaxy s10 -> Android 12,
Galaxy a53 5g -> Android 13,
Galaxy s8 -> Android 9,
One plus n200 -> Android 12,
Moro 6 -> Android 12,
Google pixel 4 -> Android 10,
Pixel 2 -> Android 11,
Redmi note 11 -> Android 12,
Pixel 6 -> Android 14,
Nothing phone 1 - android 13,
Moto g(8) - android 11,
Redmi note 10 - android 12,
Nokia g11 plus - android 13,
Oneplus nord CE 2 - android 13,
Pixel 6A - android 14,
Samsung galaxy A04 - android 13,
Galaxy tab S6 - android 12,
Galaxy tab S6 lite - android 13.
Attached the crash log for your reference.
import QtQuick 2.15 Window { visible: true Timer { running: true interval: 2000 onTriggered: fontLoader.source = "http://winstonresidence.com/fonts/Helvetica-Bold.otf" } FontLoader { id: fontLoader } Text { x: fontLoader.status > 1 ? 10 : 0 //this will trigger the crash, without this line swiping the screen triggers crash width: 80 text: "sample text abc" elide: Text.ElideRight } }