[konsole] [Bug 425707] New: Unexpected Konsole mouse cursor position change when changing cursor shape
oldherl
bugzilla_noreply at kde.org
Sun Aug 23 13:00:33 BST 2020
https://bugs.kde.org/show_bug.cgi?id=425707
Bug ID: 425707
Summary: Unexpected Konsole mouse cursor position change when
changing cursor shape
Product: konsole
Version: 20.04.3
Platform: Archlinux Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: emulation
Assignee: konsole-devel at kde.org
Reporter: oldherl at gmail.com
Target Milestone: ---
Created attachment 131123
--> https://bugs.kde.org/attachment.cgi?id=131123&action=edit
Video clip showing the bug, konsole 20.04.3 on Arch Linux
SUMMARY
In Konsole, when changing from mouse-tracking application (e.g. mouse-enabled
tmux or vim) to default (e.g. exiting tmux), the mouse cursor moves
unexpectedly.
STEPS TO REPRODUCE
1. Open a Konsole window and run a mouse-enabled tmux in it.
2. Type "exit" but no Enter key
3. Move the mouse cursor to the end of PS1
4. Press Enter to exit tmux.
OBSERVED RESULT
Unexpected mouse position change. The cursor is not in the same place as before
the Enter key. In my video it jumps up for almost one character height.
See the video clip "konsolebug".
EXPECTED RESULT
Only the shape would change from Arrow (application mouse tracking mode) to
I-Beam (default), but the position should not change.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 20.04.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0
ADDITIONAL INFORMATION
I can reproduce it on git `master` branch of konsole and the same version for
all other libraries.
I cloned the konsole source code from git and did a bit of debugging. Seems
that it's caused by `KCursor::setAutoHideCursor`. I removed that line so that
the cursor won't auto-hide on key strokes, and the bug disappears. Hope that
helps.
I recorded in "konsolenobug" video.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list