Uploaded image for project: 'Qt Automotive Suite'
  1. Qt Automotive Suite
  2. AUTOSUITE-141

Crash after toggling ApplicationManagerWindow.visible

    XMLWordPrintable

Details

    • Bug
    • Resolution: Moved
    • Not Evaluated
    • None
    • 2.0
    • Qt Application Manager
    • None

    Description

      Changing the visible property of a (visible) ApplicationManagerWindow to false and back to true again in one slot causes appman to crash. This only happens in multi-process mode. To reproduce, apply the following patch to the minidesk example:

      — a/examples/minidesk/apps/tld.minidesk.app1/app1.qml
      +++ b/examples/minidesk/apps/tld.minidesk.app1/app1.qml
      @@ -81,14 +81,15 @@ ApplicationManagerWindow {
                           rotation.pause();
                           root.setWindowProperty("rotation", parent.rotation);
                       }
      -                popUp.visible = !popUp.visible;
      +                popUp.visible = false;
      +                popUp.visible = true;
                   }
               }
           }
       
           ApplicationManagerWindow {
               id: popUp
      -        visible: false
      +        visible: true
               color: "lightcoral"
       
               Text {

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              rgriebl Robert Griebl
              bweimer Bernd Weimer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes