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

show() + activateWindow() might not activate the window on X11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 4.7.0
    • GUI: Window management
    • None
    • X11

    Description

      If you call show() and then activateWindow() right away this might result in a race and the window will not be activated because the window might not be viewable by the time when we call XSetInputFocus, so activateWindow() will not do anything.

      We should probably remember that the user asked to activate the window and do that when we get MapNotify event, i.e. when the window becomes viewable.

      Attachments

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

        Activity

          People

            dzyubenk Denis Dzyubenko (Inactive)
            dzyubenk Denis Dzyubenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes