Bug 504538

Summary: Clicking and dragging to select text is interrupted by using the keyboard to page up or down in the scrollback
Product: [Applications] konsole Reporter: Alexander Potashev <aspotashev>
Component: copy-pasteAssignee: Konsole Developer <konsole-devel>
Status: CONFIRMED ---    
Severity: normal CC: john.kizer
Priority: NOR    
Version First Reported In: 24.12.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Potashev 2025-05-19 17:37:27 UTC
SUMMARY
Selection mode interrupts when pressing Shift+PgDn.

Use case: Use mouse click and paging (Shift+PgDn) to select a large snippet of text.

STEPS TO REPRODUCE
1. Click LMB where I want my selection to start, hold it.
2. Press Shift+PgDn to scroll one page down.
3. Move mouse pointer (while holding LMB pressed) to the exact location where the user wants to the selection to end.

OBSERVED RESULT
The selection is finalized in the state it was in when Shift+PgDn was pressed.

EXPECTED RESULT
Moving the mouse pointer (while holding LMB pressed) should continue changing one of the current selection's boundaries.

SOFTWARE/OS VERSIONS
Operating System: gLinux Rodete
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.7.2
Kernel Version: 6.12.20-1rodete1-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Xeon® W-2135 CPU @ 3.70GHz
Memory: 62.4 GiB of RAM
Graphics Processor: Quadro P1000/PCIe/SSE2

ADDITIONAL INFORMATION
Workaround #1: Instead of using Shift+PgDn, move the mouse pointer below the window edge and wait for the log to scroll sufficiently. It's ~10x slower though (the exact difference factor may vary), compared to scrolling with Shift+PgDn.

Workaround #2: Export the whole log to a file, then edit that file to keep the desired part.
Comment 1 John Kizer 2025-05-23 05:49:28 UTC
I can reproduce on Konsole 25.04.1, thanks!