Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-580

On first boot, HomeScreen sometimes starts without apps being ready

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Dab
    • None
    • None

      This issue appears to occur only on first boot. Sometimes HomeScreen will start, but there will be no icons because the apps are not yet initialized. If you then do:

      systemctl restart user@

      Then HomeScreen will restart with the apps visible.

      Given that this occurs only on first boot, I'm guessing it is caused by some race condition between agl-postinsts and HomeScreen.service, and then we need to explicitly mark some dependency.

      I've noticed that this issue appears to reproduce better using Qt 5.8. I'm guessing Qt 5.8 exposes some race condition that was previously hidden, due to timing differences.

      To reproduce, just build qemux86-64 with this branch for meta-agl-demo:

      sandbox/mkelly/qt58

      And this branch for meta-qt5:

      github/master

      commit 5f837b4

      If it doesn't immediately reproduce, also try doing runqemu with kvm, as it will change the timing.

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

            scottm Scott Murray
            mkelly Martin Kelly
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: