ubuntu-webapps-bugs team mailing list archive
-
ubuntu-webapps-bugs team
-
Mailing list archive
-
Message #03348
[Bug 1488364] [NEW] [Qt 5.5] OxideQSslCertificate::issuer doesn't work in Qml
Public bug reported:
With older Qt versions, we use private APIs (QQmlValueType and friends)
for exposing value types, and managed to make it work so that when
OxideQSslCertificate::issuer() returns a null QVariant, the value is
converted to null in Qml.
However, with the built-in gadget support in Qt5.5, this is no longer
working and behaving inconsistently between 2 APIs:
- When OxideQSecurityStatus::certificate() returns a null QVariant, the value gets converted to null in Qml.
- When OxideQSslCertificate::issuer() returns a null QVariant, the value gets converted to an object in Qml (verified with typeof), and calling toString() on the object gives "QVariant(QVariant): undefined".
Both APIs return a null QVariant with a type of QMetaType::VoidStar
** Affects: oxide
Importance: Medium
Status: Triaged
** Changed in: oxide
Importance: Undecided => Medium
** Changed in: oxide
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1488364
Title:
[Qt 5.5] OxideQSslCertificate::issuer doesn't work in Qml
Status in Oxide:
Triaged
Bug description:
With older Qt versions, we use private APIs (QQmlValueType and
friends) for exposing value types, and managed to make it work so that
when OxideQSslCertificate::issuer() returns a null QVariant, the value
is converted to null in Qml.
However, with the built-in gadget support in Qt5.5, this is no longer
working and behaving inconsistently between 2 APIs:
- When OxideQSecurityStatus::certificate() returns a null QVariant, the value gets converted to null in Qml.
- When OxideQSslCertificate::issuer() returns a null QVariant, the value gets converted to an object in Qml (verified with typeof), and calling toString() on the object gives "QVariant(QVariant): undefined".
Both APIs return a null QVariant with a type of QMetaType::VoidStar
To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1488364/+subscriptions
Follow ups