Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 8.0.1
-
None
-
9456052207 (qt-creator/qt-creator/8.0) 9456052207 (qt-creator/qt-creator/master) 9456052207 (qt-creator/qt-creator/9.0) 9456052207 (qt-creator/qt-creator/qds-3.7)
Description
When text is dragged and dropped from one editor window to another, if there is any selected text within the destination editor, it is being deleted when the new text is dropped. This is serious because the selected text might not even be within the current view and you wouldn't know that Qt Creator is silently deleting chunks of your code.
Steps to reproduce
- Open one text file.
- In another split/editor, open a second text file.
- Select some text near the top of the second text file.
- Select some text in the first text file and drag and drop it onto the second text file, near the bottom.
Might be related to QTCREATORBUG-28125 (i.e. the bug is that the text selected in the destination editor is being erased instead of the text selected in the source editor).
Attachments
For Gerrit Dashboard: QTCREATORBUG-28126 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
430329,2 | Editor: do not replace selection in drop editor | 8.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |