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

Aggressive Mac OS X Dock bouncing during modal dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.8.4
    • GUI: Window management
    • None
    • Mac OS 10.8.3
    • macOS

    Description

      I've observed this bug in the Anki app during syncing:
      https://anki.tenderapp.com/discussions/ankidesktop/1043-crazy-jumping-in-mac-os-x-dock-during-sync

      When the app is in the background and processes events while a modal dialog is open, the app's Dock icon jumps too quickly.

      What I found out during my brief debugging session: -[NSApplication requestUserAttention:] (which causes the Dock jumping) is called by -[NSApplication beginModalSessionForWindow:], and beginModalSessionForWindow is called more often than necessary because temporarilyStopAllModalSessions() is called when processing events, which causes the next call to currentModalSession to call beginModalSessionForWindow again.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            mstange Markus Stange
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes