Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30381

Window list is not accurate in Window menu when mid child windows are closed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • Qt Creator 13.0.0-beta2
    • Qt Creator 13.0.0-beta1
    • All Other Issues
    • None
    • Windows 10
      Product: Qt Creator 13.0.0-beta1 (12.0.82)
      Based on: Qt 6.6.0 (MSVC 2019, x86_64)
      Built on: Feb 14 2024 03:34:07
      From revision: 7b57ae31f6
    • Windows
    • 814e84a5e (13.0)

    Description

      Window list is not  accurate in Window menu when mid child windows are closed 
      (Mid child window means one of the windows which is NOT first or last in order of creation)

      STEPS:

      • Open Qt Creator.
      • From Window menu, select 'Open in New Window' 
      • A new window should be opened, call it C1
      • Observe list of windows in bottom of the 'Window' menu
      • Similarly open three more windows. Call them C2,C3,C4. 
      • There should be 5 windows shown in the menu.
      • Now close window C3. Observe the number of windows in Window menu.  

      OBSERVED: 

      • When C3 is closed, there are only 3 windows shown in the Window menu.
        There should have been 4 windows instead.
      • When the windows are closed in reverse order they were created, the count is proper in the Window menu

      WindowMenuWindowListIssue.mp4

      • Similar behavior is observed if the windows are open from child windows.
        ie. From main window open C1, then from C1 open C2, and then from C2 open C3 and so on.  If C2/C3 is closed, the count is incorrect in the main window

      EXPECTED:

      • The number of windows shown in 'Window' menu should be correct irrespective of the order they are closed
      • (Suggestion) : If there is only one window, ie Qt Creator window, then there should not be option to toggle it. It should be disabled.
        Rather there shouldn't be entry for main window. User will always focus on main window when trying to switch between child windows.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-30381
        # Subject Branch Project Status CR V

        Activity

          People

            con Eike Ziller
            aamershaikh23 Aamer Shaikh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes