Bug 474237

Summary: Word disappears with cursor on first letter in vim on konsole with "Use the same attributes for whole word"
Product: [Applications] konsole Reporter: Raziman T V <razimantv>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 23.08.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Buggy version
Working version with the option disabled

Description Raziman T V 2023-09-06 20:25:33 UTC
Created attachment 161451 [details]
Buggy version

SUMMARY
***
When the "Appearance→Complex Text Layout→Use the same attributes for whole word" option is selected in konsole, something weird happens in vim: When the cursor is on the first letter of a word, the rest of the word disappears. This only happens when Appearance→Cursor→Shape is set to "Block", not if it is "I-Beam" or "Underline".
***


STEPS TO REPRODUCE
1. Open konsole with a new profile
2. Settings->Edit Current Profile and check Appearance→Complex Text Layout→Use the same attributes for whole word
3. Open vim without any user config with "vim -u NONE"
4. Type any word
5. Move cursor to the first letter of the word

OBSERVED RESULT
Only the first letter of the word is visible

EXPECTED RESULT
The whole word should be visible

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ArchLinux with kernel 6.4.11-arch1-1 (64 bit)
(available in About System)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
vim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 06 2023 19:21:59)
Included patches: 1-1882
Compiled by Arch Linux
Huge version with GTK3 GUI.
Comment 1 Raziman T V 2023-09-06 20:26:19 UTC
Created attachment 161452 [details]
Working version with the option disabled