Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1542

Blocking action causes instability under wayland

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Other, User Interface
    • Labels:
      None
    • Environment:
      Sway, Arch Linux

      Description

      Under a Wayland environment, apps that block UI updates whilst performing a long operation are likely to be disconnected by the Wayland compositor. In the case of Picard, the UI crashes (although any on-going file operations continue in the background).

       

      From #sway:

      <johanhelsing> milkii: That bug is more of a core wayland issue than a qtwayland one
      <johanhelsing> if we work around it in qtwayland, then the same hack would be needed for all other toolkits (and I don't think they do)
      <johanhelsing> the answer I got over in the wayland irc is basically: applications shouldn't be blocking the gui thread for that long, they should do the heavy tasks on separate threads

       

      See also: https://bugreports.qt.io/browse/QTBUG-66997

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              milk Milkii Brewster
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package