| Summary: | Arrow keys sometimes wrongly extend selection | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-ktexteditor | Reporter: | Kishore Gopalakrishnan <kishore96> | 
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> | 
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | christoph | 
| Priority: | NOR | ||
| Version First Reported In: | 5.88.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | https://invent.kde.org/frameworks/ktexteditor/commit/3b31919427baf3da1ab1a24f682a4cefc7e5106f | Version Fixed/Implemented In: | 5.91.0 | 
| Sentry Crash Report: | |||
| 
 
        
          Description
        
        
          Kishore Gopalakrishnan
        
        
        
        
          2021-11-28 09:34:50 UTC
        
       
    Reverting this commit fixes the issue: commit 5dce70a9693f8cce37f733b4687bb9b303376742 Author: Aleix Pol <aleixpol@kde.org> Date: Mon Sep 6 14:07:47 2021 +0200 Do not cancel mouse selection when using the keyboard Instead follow through with the selection after the key was pressed. This applies to different actions like page up, page down, home, end, up and down. src/view/kateview.cpp | 20 ++++++++++---------- src/view/kateviewinternal.cpp | 5 +++++ src/view/kateviewinternal.h | 2 ++ 3 files changed, 17 insertions(+), 10 deletions(-) I can no longer reproduce this on KDE Neon Unstable, so I'll mark this as fixed. SOFTWARE VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.23.80 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.3 Kernel Version: 5.11.0-43-generic (64-bit) Graphics Platform: X11 Processors: 2 × AMD EPYC-Rome Processor Memory: 1.9 GiB of RAM Graphics Processor: virgl (In reply to Kishore Gopalakrishnan from comment #2) > I can no longer reproduce this on KDE Neon Unstable, so I'll mark this as > fixed. > Actually, the non-reproducibility turns out to have been because of bug 448377 (so step 1 of the reproduction steps I initially posted did not work). That bug is fixed in master, and so this bug is reproducible again. If you are using a version which still has bug 448377, you need to run `/usr/bin/setxkbmap -option shift:both_capslock` (in a terminal) instead of step 1. REPRODUCIBLE ON Operating System: Arch Linux KDE Plasma Version: 5.23.90 (with a patch applied to plasma-desktop to fix bug 448377) KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.16.0-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 AND Operating System: KDE neon Unstable Edition (updated today) KDE Plasma Version: 5.24.80 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.3 Kernel Version: 5.11.0-46-generic (64-bit) Graphics Platform: X11 Processors: 2 × AMD EPYC-Rome Processor Memory: 1.9 GiB of RAM Graphics Processor: virgl Git commit 3b31919427baf3da1ab1a24f682a4cefc7e5106f by Christoph Cullmann. Committed on 16/01/2022 at 17:29. Pushed by cullmann into branch 'master'. Revert "Do not cancel mouse selection when using the keyboard" This reverts commit 5dce70a9693f8cce37f733b4687bb9b303376742. => this leads to regressions if somebody has time to properly reproduce and fix that, we can reapply this, otherwise it is better to have some always working state without this small usability improvement Related: bug 447525 frameworks/ktexteditor#11 M +10 -10 src/view/kateview.cpp M +0 -5 src/view/kateviewinternal.cpp M +0 -2 src/view/kateviewinternal.h https://invent.kde.org/frameworks/ktexteditor/commit/3b31919427baf3da1ab1a24f682a4cefc7e5106f  |