Bug 2449945 - KDE editor (kwrite, kate...) corrupts text on selection
Summary: KDE editor (kwrite, kate...) corrupts text on selection
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: plasma-keyboard
Version: 44
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Steve Cossette
QA Contact:
URL:
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F44FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2026-03-21 12:20 UTC by Guilherme D. da Fonseca
Modified: 2026-04-13 01:11 UTC (History)
10 users (show)

Fixed In Version: plasma-keyboard-6.6.3-2.fc44 plasma-keyboard-6.6.4-1.fc43
Clone Of:
Environment:
Last Closed: 2026-04-06 22:12:32 UTC
Type: ---
Embargoed:
gfonsecabr: needinfo+


Attachments (Terms of Use)

Description Guilherme D. da Fonseca 2026-03-21 12:20:45 UTC
When selecting text on kwrite, the text gets corrupted and in an inconsistent state. Undo does not undo the corruption. The same problem happens on Fedora 44 beta KDE live boot, and on Fedora 43 with the latest updates.

Reproducible: Always

Steps to Reproduce:
1. Open kwrite on a new file.
2. Type a line with "//test" (without the quotes)
3. Press home to go the beginning of the line
4. Hold down the shift key and press the right arrow a few times to select the text
Actual Results:
The two initial slashes // disappear. Control z does not bring them back. Trying to select text from the beginning of the document remains broken.

Expected Results:
The text is selected and not changed.

Additional Information:
There are many other cases where similar problems happen. For example, when starting a line with backslash \ instead of slash.

Comment 1 Guilherme D. da Fonseca 2026-03-23 12:49:33 UTC
Bug 2441633 is a duplicate of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2441633

Comment 2 John Kizer 2026-03-23 21:06:44 UTC
For reference, the upstream bug report on this is here: https://bugs.kde.org/show_bug.cgi?id=516511 - I don't know that it's clear right now where this one falls in the stack, but this impacts all Qt applications in Wayland seemingly?

Comment 3 Guilherme D. da Fonseca 2026-03-24 11:13:55 UTC
Thanks for the mainstream bug link. It gives a good workaround: Goto to settings -> Virtual Keyboard and choose anything other than Plasma Keyboard.

Comment 4 Guilherme D. da Fonseca 2026-03-24 12:37:34 UTC
The problem arrives even when renaming files on Dolphin. Select a hidden file (for example .bashrc), press F2 to rename it. Try to select the beginning of the file. The dot in the beginning of the file disappears!

Comment 5 Fedora Blocker Bugs Application 2026-03-24 17:01:39 UTC
Proposed as a Blocker for 44-final by Fedora user gfonsecabr using the blocker tracking app because:

 The bug affects essentially all text input of all KDE and QT applications of the KDE editon, from editing a text on kwrite to renaming a file on dolphin. The problem happens when selecting (either with the mouse or the keyboard shift key) from left to right a text that starts with a symbol (punctuation, slash, backslash, greater than...). The start symbols get removed and the text remains in a weird inconsistent state.

Comment 6 John Kizer 2026-03-27 19:14:41 UTC
If there isn't an upstream fix in time for Fedora 44, perhaps a workaround would be to override the default Virtual Keyboard to anything other than Plasma Keyboard?

Another user summarized the likely related ways this issue can manifest on the Fedora Discussion board here: https://discussion.fedoraproject.org/t/plasma-keyboard-can-cause-various-input-issues-on-kde-plasma-6-6-systems/184098

Comment 7 Jan Grulich 2026-03-30 07:56:15 UTC
I can reproduce, but I don't think the issue is in qt6-qtbase, because I can reproduce with Qt 6.10.0 (released in October 2025) and this issue is somewhat new.

Comment 8 Jan Grulich 2026-03-30 09:44:39 UTC
Looks like a bug in plasma-keyboard, see https://bugs.kde.org/show_bug.cgi?id=516511#c37.

I can get rid of it with older checkouts of plasma-keyboard. As we workaround we can disable plasma-keyboard for now?

Comment 9 Adam Williamson 2026-03-30 16:31:19 UTC
Can we just revert the problematic commit you identified, instead? Disabling OSK entirely seems a radical step and is bad for a11y and tablets.

Comment 10 Lukas Ruzicka 2026-03-30 18:08:02 UTC
AGREED AcceptedFinalBlocker

Discussed at the 2026-03-30 (blocker / freeze exception) review meeting:

accepted as a violation of Final criterion "For all release-blocking desktop / arch combinations, the following applications must start successfully and withstand a basic functionality test: ... text editor."

https://meetbot-raw.fedoraproject.org//blocker-review_matrix_fedoraproject-org/2026-03-30/f44-blocker-review.2026-03-30-16.00.log.txt

Comment 11 Jan Grulich 2026-03-31 07:33:01 UTC
F44 scratch build with revert: https://koji.fedoraproject.org/koji/taskinfo?taskID=143883609
F43 scratch build with revert: https://koji.fedoraproject.org/koji/taskinfo?taskID=143884030

Seems to work here, but I would appreciate anyone else giving this a try.

Comment 12 Geraldo Simião 2026-04-01 04:18:45 UTC
(In reply to Jan Grulich from comment #11)
> F44 scratch build with revert:
> https://koji.fedoraproject.org/koji/taskinfo?taskID=143883609
> F43 scratch build with revert:
> https://koji.fedoraproject.org/koji/taskinfo?taskID=143884030
> 
> Seems to work here, but I would appreciate anyone else giving this a try.

I tested your F44 scratch build with revert on my baremetal F44 KDE system and the fix works fine.

Operating System: Fedora Linux 44
KDE Plasma Version: 6.6.3
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.19.10-300.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 24 GiB of RAM (22.8 GiB usable)
Graphics Processor: AMD Radeon Graphics

Comment 13 Fedora Update System 2026-04-01 13:02:38 UTC
FEDORA-2026-172dd38027 (plasma-keyboard-6.6.3-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-172dd38027

Comment 14 Fedora Update System 2026-04-01 13:02:41 UTC
FEDORA-2026-0fb6ca0047 (plasma-keyboard-6.6.3-2.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0fb6ca0047

Comment 15 Fedora Update System 2026-04-02 01:28:30 UTC
FEDORA-2026-0fb6ca0047 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-0fb6ca0047`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-0fb6ca0047

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2026-04-02 01:44:00 UTC
FEDORA-2026-172dd38027 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-172dd38027`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-172dd38027

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2026-04-06 22:12:32 UTC
FEDORA-2026-0fb6ca0047 (plasma-keyboard-6.6.3-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2026-04-13 01:11:00 UTC
FEDORA-2026-90336e873b (aurorae-6.6.4-1.fc43, bluedevil-6.6.4-1.fc43, and 145 more) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.