Bug 418630 - Cannot select text in messaging app
Summary: Cannot select text in messaging app
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: messaging-application (show other bugs)
Version: 1.4
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Simon Redman
URL:
Keywords:
: 423769 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-03-08 15:32 UTC by Yaron Shahrabani
Modified: 2020-07-05 00:49 UTC (History)
4 users (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 Yaron Shahrabani 2020-03-08 15:32:15 UTC
I tried selecting part of a text message (instead of copying all of it) and I wasn't able to, is there a way to add such feature?

STEPS TO REPRODUCE
1. Open the SMS App
2. Try selecting part of the text
3. Copy it

OBSERVED RESULT
Impossible

EXPECTED RESULT
The text will be selected and when I right click it I have an option to copy it (same with Ctrl+C).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro 19.0.2 / 5.17.5
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Comment 1 Simon Redman 2020-04-23 01:14:59 UTC
Hi. Thanks for taking the time to submit this! It's something I have in mind, although I don't yet have a plan for how something like this would be implemented.
Comment 2 Simon Redman 2020-07-02 04:39:55 UTC
*** Bug 423769 has been marked as a duplicate of this bug. ***
Comment 3 Andrey 2020-07-02 11:27:13 UTC
Do we need external help to solve it?
Similar issue was resolved here: https://bugs.kde.org/show_bug.cgi?id=383765#c2
Comment 4 Aleix Pol 2020-07-02 13:56:43 UTC
I would expect that someone will come up with a working delegate once they're shared through kirigami-addons.

In general it's a matter of using TextField instead of Label.
Comment 5 Simon Redman 2020-07-05 00:49:36 UTC
Git commit c333f2af17817995ce3ccd5dcd355ae9fcb1fb2a by Simon Redman, on behalf of Ashvin Nihalani.
Committed on 05/07/2020 at 00:49.
Pushed by sredman into branch 'master'.

[SMS App] Select Message Text

Switched from QT Label to Text Edit as QA Label is not allowed to select text
https://stackoverflow.com/questions/49784099/qml-how-to-make-text-or-label-selectable
https://bugreports.qt.io/browse/QTBUG-14077

M  +1    -0    .gitignore
M  +40   -12   smsapp/qml/ChatMessage.qml

https://invent.kde.org/network/kdeconnect-kde/commit/c333f2af17817995ce3ccd5dcd355ae9fcb1fb2a