-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 17.0.1
-
None
-
Ubuntu 24.04 LTS
- Stop at a breakpoint.
- In the "Stack" view, select some lines.
- 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:
- 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. - Type a character into the editor.
The combo changes to "View (1) (1)*" - Press "Ctrl+Z" to undo your change.
The combo changes to "View (1) (1) (1)". On each edit and undo, the text keeps growing.