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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes