Bug 480902

Summary: Text selection gets removed instantly
Product: [Applications] khelpcenter Reporter: nilskemail+kde
Component: generalAssignee: Documentation Editorial Team <kde-doc-english>
Status: REPORTED ---    
Severity: normal CC: davidbryant
Priority: NOR Keywords: wayland
Version: 5.8.23084   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description nilskemail+kde 2024-02-05 14:30:17 UTC
SUMMARY
It is not possible to select text in the help center except for Ctrl+A. A selection created by dragging with the mouse is removed as soon as the click is released, or double/tripple clicking a word to select the word/sentence only highlights it for a brief moment before becoming deselected right afterwards.

STEPS TO REPRODUCE
1. Open any page in the help center (e.g. type 'man:bash' in KRunner)
2. Create a text selection

OBSERVED RESULT
The selection gets removed instantly. The copy button in the toolbar lights up very briefly and the selected content still lands in the middle-click paste buffer.

EXPECTED RESULT
The selection should stay active until dismissed (by clicking on some other text).

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 39
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
- Wayland
- (Also tripple clicking seems to select a line instead of a paragraph but that is only a minor detail and should most likely get its own bug report- please tell me if I should file on for that)
Comment 1 David C. Bryant 2024-02-05 15:45:05 UTC
I cannot confirm this bug. I'm using Gentoo Linux, 6.6.13 kernel, Plasma 5.27.10, Frameworks 5.113.0, Qt 5.15.12 and X11. No problems with selecting text in Khelpcenter with the mouse . I can't get the keyboard to select text , though (Shift + -->).
Comment 2 nilskemail+kde 2024-02-05 17:14:51 UTC
I can confirm that with 'QT_QPA_PLATFORM=xcb' this does not seem to happen whereas it does with 'QT_QPA_PLATFORM=wayland'