Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-60206

QQuickShortcut Shortcut::id is not initialized

    XMLWordPrintable

Details

    • b5d26157316877faa0f581a24ae106cb4a01d195

    Description

      I think this could lead to problems with shortcuts accidentally getting ungrabbed.

      ==4979== Conditional jump or move depends on uninitialised value(s)
      ==4979==    at 0x4F9F085: QQuickShortcut::ungrabShortcut(QQuickShortcut::Shortcut&) (qquickshortcut.cpp:412)
      ==4979==    by 0x4F9F112: QQuickShortcut::setSequence(QVariant const&) (qquickshortcut.cpp:177)
      ==4979==    by 0x519F762: QQuickShortcut::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_qquickshortcut_p.cpp:221)
      ==4979==    by 0x61C7D34: QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const (qqmlpropertycache_p.h:320)
      ==4979==    by 0x625614E: QQmlObjectCreator::setPropertyValue(QQmlPropertyData const*, QV4::CompiledData::Binding const*) (qqmlobjectcreator.cpp:344)
      ==4979==    by 0x625B37A: QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) (qqmlobjectcreator.cpp:989)
      ==4979==    by 0x625BE06: QQmlObjectCreator::setupBindings(bool) (qqmlobjectcreator.cpp:702)
      ==4979==    by 0x6258BF4: QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*) (qqmlobjectcreator.cpp:1354)
      ==4979==    by 0x6259917: QQmlObjectCreator::createInstance(int, QObject*, bool) (qqmlobjectcreator.cpp:1197)
      ==4979==    by 0x625A2E0: QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) (qqmlobjectcreator.cpp:750)
      ==4979==    by 0x625BE06: QQmlObjectCreator::setupBindings(bool) (qqmlobjectcreator.cpp:702)
      ==4979==    by 0x6258BF4: QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*) (qqmlobjectcreator.cpp:1354)
      

      Attachments

        For Gerrit Dashboard: QTBUG-60206
        # Subject Branch Project Status CR V

        Activity

          People

            w00t Robin Burchell
            w00t Robin Burchell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes