Bug 480902 - Text selection gets removed instantly
Summary: Text selection gets removed instantly
Status: REPORTED
Alias: None
Product: khelpcenter
Classification: Applications
Component: general (show other bugs)
Version: 5.8.23084
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Documentation Editorial Team
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2024-02-05 14:30 UTC by nilskemail+kde
Modified: 2024-02-06 22:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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'