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

Issues with Stack view's "Copy to new Editor"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 17.0.1
    • Debugger
    • None
    • Ubuntu 24.04 LTS

      1. Stop at a breakpoint.
      2. In the "Stack" view, select some lines.
      3. Right-click and select "Copy Selected Items to New Editor" from the context menu.

      The editor which opens up then has some issues:

      • Clicking into the editor below the last line causes the editor to scroll to its right end. This could be avoided if the editor's content had a newline at the end.
      • The editor is in "unchanged" state but was not saved to a file. That means that the editor can be accidentally closed without any confirmation. As soon as I type a single character into the editor, it goes to "changed" state. That again means that whenever I trigger a build, Creator shows me a popup whether I want to save the editor. That can easily get annoying.
      • "Diff Against Current File" from the side bar's context menu does not work with this editor.

      Further, after the steps above, continue with:

      1. Repeat step 3
        Another editor opens up. The combo box which usually shows the filename then reads "View (1)", probably to differentiate it from the other editor.
      2. Type a character into the editor.
        The combo changes to "View (1) (1)*"
      3. Press "Ctrl+Z" to undo your change.
        The combo changes to "View (1) (1) (1)". On each edit and undo, the text keeps growing.

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

            hjk hjk
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes