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

App UI is freezing after returning from Windows Lock screen.

XMLWordPrintable

    • Windows

      Hi,
      I'm trying to create something similar to sliding notification windows near system tray. Notifications data will be stored in a ListModel later on, so to maximize simplicity I used Repeater, Loader, and Window with appropriate flags (Loader was used because Repeater as a delegate requires an element derived from Item)

      I noticed that the application can freeze, especially when the user is on the login screen (WinKey + L for quick access there) After returning from this screen (few secs is enough) the application interface is frozen. Not always but often. I also noticed that this has some connection to the x/y coordinates when creating the notification window. If I set them somewhere off-screen, it freezes much more frequently after returning from the lock screen

      I've prepared a minimalistic code fragment that frequently triggers the mentioned problem (see attachment) On my laptop it's enough to go to the lock screen (WinKey + L) 2-3 times to freeze the UI. On much stronger PC its way more difficult to reproduce it at least for me.

      The app works except that its not updating UI anymore. To see UI update its enough to grab the window outside the screen for a while. Colleagues told me that app can often freeze when they use multiple screen.

       

      For some reason on Qt 6.8 everything works just fine.

       

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            zkrzysztoff7 Krzysztof Zając
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes