Bug 399273 - when renaming and using the ctrl + shift + end or pgdn selection leaves the text area
Summary: when renaming and using the ctrl + shift + end or pgdn selection leaves the t...
Status: REPORTED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: 2.7.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
: 318022 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-10-01 11:25 UTC by Ariel Rosenfeld
Modified: 2020-05-08 10:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ariel Rosenfeld 2018-10-01 11:25:08 UTC
when renaming and using the ctrl + shift + end or pgdn the selection goes outside the text area and selects files like you arent renaming in a text area

the expected result is selecting and navigating to end of text area (end) or next word (pgdn)
Comment 1 Davide Gianforte 2019-07-13 20:18:21 UTC
*** Bug 318022 has been marked as a duplicate of this bug. ***
Comment 2 Davide Gianforte 2020-05-02 12:03:08 UTC
The KLineEditor we are using for renaming operation has its own shortcuts:

- CTRL + LEFT/RIGHT : move to the left/right word;
- CTRL + SHIFT + LEFT/RIGHT : select next left/right word;
- SHIFT + END : select text from cursor the to end;
- SHIFT + HOME : select text from cursor the to start;

Are these working for you?

The shortcut you have used are not taken by KLineEditor and are passed to the panel which effectively select a range of files (the fix could be to avoid some events while renaming a file).
Comment 3 Ariel Rosenfeld 2020-05-02 12:47:43 UTC
Yes, these shortcuts work correctly.

its just easier in a file with multiple dots in the name to skip to the end with CTRL + SHIFT + END and go back from the file extension then to move one word at a time.

so disabling the range of file selection when renaming would be very helpful.

thank you
Comment 4 Davide Gianforte 2020-05-08 10:34:17 UTC
Thanks for the tests