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

After a Cmd+H (Hide) then an ApplicationActivate, the window that had focus does not reappear.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P1: Critical P1: Critical
    • None
    • 4.7.2
    • GUI: Window management
    • None
    • Mac OS X 10.6 Qt Cocoa Edition

      This is a regression from 4.7.0.

      Steps to reproduce (this is a Mac only issue):
      1. Open app, select a window that has a parent (call this window W). In the example app, select any window except Win MAIN.
      2. Press Cmd+H or choose Hide from the app menu.
      3. Click on the application icon or otherwise make the app active.

      The window W remains hidden even though it was visible before hiding the app.

      Notes:
      This happens for widgets with the Qt::Window window flag set that have a parent.

      In the attached file, this only happens for Win 0, Win 1, Win 2, etc., not Win MAIN.

        1. main.cpp
          0.7 kB
          Grant Yoshida
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            liaqi Liang Qi
            grant.yoshida Grant Yoshida
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes