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

Ctrl-clicking symbols under the cursor in editor does not open in the desired split

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 14.0.2
    • Editors
    • Linux/X11

    Description

      How to recreate:

      1. Configure editor to have multiple splits open. In my example I have two horizontal editor splits.
      2. Open a source file in first split
      3. Click in the second split to give it focus
      4. ctrl+click on a symbol in the first split

      Expected outcome:

      1. The the file where the symbol is defined should open in the split that was focused (the second split)

      Actual outcome:

      1. The file where the symbol is defined opens, but not in the desired split. It opens in the first split instead.

      This behavior started happening a few versions back, I think when the icons changed to the slimmer profile.

      Being able to designate which split to open symbols in is IMO very important.

      NOTE: the designation of split by clicking still works as expected when opening files from the file chooser/project view in the left sidebar, suggesting this is a bug.

      Please find the short screen capture showing that designation of split to open files works while the designation of splits to open files for ctrl+clicking of symbols does no:

       

      ctrl-click-split-focus-text.mkv

      Attachments

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

        Activity

          People

            davschul David Schulz
            lennartrolland@gmail.com Lennart Rolland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes