answered
2019-02-13 14:52:27 +0200
To solve the original question's problem, please consider the following method:
- Select text to be inserted (new_text from now on) - this will automatically be copied
- Place the cursor before the text to be replaced (old_text from now on)
- Paste new_text
- Select old_text - this will automatically be copied, but we won't use this copy
- Press backspace
Note: if you made a mistake in steps 4 and 5, the deleted text is still in the clipboard as a backup.
For completeness, here is what you would do with the copy-paste method that you suggest:
- Select text to be inserted (new_text)
- Press copy - new_text is in the clipboard
- Select text to be replaced (old_text)
- Press paste - old_text is replaced by new_text
Note: this procedure is one step shorter than what you have to do today in SFOS, however, if you made a mistake in step 4, you lost old_text as we don't have "undo"
While it would be nice to have an option to pick between copy-paste methods, it would add more time for Jolla to test, fix, etc.. We can argue for ever which method is best, and it will be down to usage and general statistics - the current method saves a significant amount of time by removing the need of a "copy" button, which would take time and real estate on the screen.
I'd go so far as consider it a bug. Selecting text doesn't meen copying it.
In X that's a different matter because there are two clipboard buffers just in case anyone wanted to argue that ;)
Tanghus ( 2013-12-30 02:17:43 +0200 )editThat's the Linux-way. All popular linux desktop environments have worked like this for at least 10 years, so I wouldn't call it a bug. Explicitly choosing 'copy' when selecting text is a redundant step.
Milo ( 2013-12-30 04:28:34 +0200 )editThat is a linux feature only in X Server context I think. This thing we use plays the game with wayland, not sure if it is reproducing the same behaviour.
vascorsd ( 2013-12-30 09:25:35 +0200 )editWayland should behave the same way with text selection and middle-click pasting as xorg-server.
Milo ( 2013-12-30 14:46:52 +0200 )editHm, I agree the autocopy may be useful. Then if copying stays automatic, what would be a good way to paste onto a selected area? Or just remove one while preserving the clipboard content?
Tegu ( 2014-01-01 02:20:30 +0200 )edit