Bug 399272 - Cannot select words using mouse till the the beginning of a line
Summary: Cannot select words using mouse till the the beginning of a line
Status: RESOLVED UPSTREAM
Alias: None
Product: frameworks-ktextwidgets
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.48.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Laurent Montel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-01 11:19 UTC by Alexander Potashev
Modified: 2018-10-27 15:02 UTC (History)
1 user (show)

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


Attachments
screenshot of Lokalize (the mouse pointer is on the left outside the text edit) (43.86 KB, image/png)
2018-10-01 11:22 UTC, Alexander Potashev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2018-10-01 11:19:27 UTC
SUMMARY
Double-click&drag selection does not let you select the first word in line.

STEPS TO REPRODUCE
1. Double click on a word in KTextEdit to start selection of several whole words.
2. Keep holding the left mouse button and move the pointer to the left of text edit.

OBSERVED RESULT
In the line "A set of blank cards is shown. Each card has a picture on the other side, ", the first word "A" is never selected.

EXPECTED RESULT
Every word till the beginning of the line should be selected.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.13.4
KDE Frameworks Version: 5.48.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION
lokalize-18.04.3-1.fc28.x86_64
Comment 1 Alexander Potashev 2018-10-01 11:22:37 UTC
Created attachment 115341 [details]
screenshot of Lokalize (the mouse pointer is on the left outside the text edit)
Comment 2 Laurent Montel 2018-10-01 12:04:45 UTC
I confirm it.
Comment 3 Laurent Montel 2018-10-01 13:23:38 UTC
it's not a ktextedit bug but a qtextedit bug
I reported bug:
https://bugreports.qt.io/browse/QTBUG-70872

I provided a test apps
I tried to provide a patch.

I hope that it will be fixed soon by digia
Comment 4 Christoph Feck 2018-10-27 15:02:26 UTC
Thanks for reporting it upstream.