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

"Open Documents" sidebar doesn't open in external ("New Window") editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 3.6.1
    • Editors
    • None
    • - Qt Creator 3.6.1 standalone installation.
      - Linux Mint 17.3, based on Ubuntu 14.04.
      - KDE platform 4.14.2
      - KDE Window Manager (KWin) 4.11.11, with _compositing_ all desktop effects disabled.

    Description

      The "Open Documents" view in the sidebar allows to change between documents on the currently active Editor Split. However, this doesn't always work when the Editor belongs to an external window, as created by the menu Window -> Open in New Window.

      Initially the functionality works for these kind of windows, however as soon as the Editor in the main Qt Creator window gets activated, the external windows lose the ability to change between documents by using the Open Documents sidebar.

      How to reproduce

      1. Open a project consisting of several files. The Editor is now empty.
      2. Open a New Window: Window -> Open in New Window.
      3. With the new window selected (ie. focused), open several of the project's files. All files are opened in the external window.
      4. Switch between opened documents by using the Open Documents sidebar. The Editor in the new window switches correctly between documents.
      5. Click on the main Editor to make it the currently active.
      6. Switch between files again just like previously. The Editor in the main window is now showing those files.
      7. Click on the new window's Editor to make it the currently active.
      8. Switch between files again just like previously. The files are opened in the Editor from the main window, which is incorrect.

      Expected behavior
      Expected to see the documents being opened in the external window's editor during the last step, instead of being opened in the main window's Editor.

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              oneorjuan Juan Navarro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes