Select a piece of text. Then press Control Left Mouse and drag it to some place.
Then release the buttons. The text gets pasted, but remains selected.
It should not remain selected.
Remaining selected could be the standard behaviour of some text editors,
but it is nonetheless
inconsistent with Control-C, Control-V copy&paste, which is the most common
way to
copy and paste text.
It is also debatable that it is the most reasonable choice: when one makes
no mistakes when
dropping (which might be the most frequent case), it has to click again in
order to de-select
the text and start typing.
Remaining selected is standard behaviour for text editors including Visual
Studio, Qt Creator, WordPad, Xcode, VS Code, and LibreOffice Writer. It is
even the behaviour of the text box in Chrome where I am writing this
response.
Keeping the dropped text selected is also the more reasonable choice as it
makes it easier to fix any mistake in positioning the cursor before
dropping the text.
Status: open-rejected Group: Bug Labels: scintilla drag and drop Created: Mon Aug 07, 2023 06:33 AM UTC by Angelo Borsotti Last Updated: Mon Aug 07, 2023 10:25 AM UTC Owner: nobody
Select a piece of text. Then press Control Left Mouse and drag it to some
place.
Then release the buttons. The text gets pasted, but remains selected.
It should not remain selected.
Remaining selected is standard behaviour for text editors including Visual Studio, Qt Creator, WordPad, Xcode, VS Code, and LibreOffice Writer. It is even the behaviour of the text box in Chrome where I am writing this response.
Keeping the dropped text selected is also the more reasonable choice as it makes it easier to fix any mistake in positioning the cursor before dropping the text.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This issue was found by a Notepad++ user and was mentioned tangentially in an issue here: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13944#issuecomment-1665094241
Subsequently, a formal N++ dedicated to it was opened here: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13969
Hi,
Remaining selected could be the standard behaviour of some text editors,
but it is nonetheless
inconsistent with Control-C, Control-V copy&paste, which is the most common
way to
copy and paste text.
It is also debatable that it is the most reasonable choice: when one makes
no mistakes when
dropping (which might be the most frequent case), it has to click again in
order to de-select
the text and start typing.
-Angelo Borsotti
On Mon, 7 Aug 2023 at 23:50, Neil Hodgson nyamatongwe@users.sourceforge.net
wrote:
Related
Bugs:
#2398For paste, the position is chosen and can be corrected before the command is performed.
Text can be deselected after drop with a left or right arrow key instead of a click.
Remaining selected is standard behaviour for text editors including Visual Studio, Qt Creator, WordPad, Xcode, VS Code, and LibreOffice Writer. It is even the behaviour of the text box in Chrome where I am writing this response.
Keeping the dropped text selected is also the more reasonable choice as it makes it easier to fix any mistake in positioning the cursor before dropping the text.