https://bugs.kde.org/show_bug.cgi?id=446189
Bug ID: 446189 Summary: Arrow keys sometimes wrongly extend selection Product: frameworks-ktexteditor Version: 5.88.0 Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: kishor...@gmail.com Target Milestone: --- SUMMARY When a block of text is already selected, pressing the arrow keys sometimes unexpectedly extends the selection. This may cause the user to unintentionally overwrite or delete text. STEPS TO REPRODUCE 1. Go to System Settings > Keyboard > Advanced (tab) > Compatibility Options and enable 'both Shift together enable caps lock'. Click 'Apply'. 2. Find a text file that contains long lines, and open it in Kate (we need a line long enough that it is displayed as, say, four lines) 3. Enable view > word wrap > dynamic word wrap 4. Put cursor in the middle of the first 'display line' of a very long line that is wrapped into at least four 'display lines'. 5. Shift+down arrow 6. Down arrow 7. Down arrow OBSERVED RESULTS After step 5, a block of text is selected. In step 6, the cursor behaves as if shift is still being pressed (i.e. it still extends the selection even though the user is not pressing shift). After step 7, the selection is discarded. EXPECTED RESULTS With step 5, shift+arrow selects a block of text. The selection should be discarded at step 6 itself. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.23.3 KDE Frameworks Version: 5.88.0 Qt Version: 5.15.2 Kernel Version: 5.15.5-arch1-1 (64-bit) Graphics Platform: X11 Processors: 8 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx Memory: 21.5 GiB of RAM Graphics Processor: AMD Radeon Vega 8 Graphics ADDITIONAL INFORMATION Same issue is reproducible in Kile, so I am reporting it under ktexteditor. -- You are receiving this mail because: You are watching all bug changes.