Data displayed in the information panel cannot be selected or copied. I often find the need to copy a file size, or the dimensions of an image, or the bitrate of an audio file, etc., but I end up re-typing it by hand or copying it from some other program since I'm unable to copy it straight from Dolphin.
STEPS TO REPRODUCE
1. Select any file(s)/folder(s) in Dolphin
2. Try to select text displayed in information panel
Can't select text.
Being able to select and copy text.
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.3
Probably just needs a setTextInteractionFlags(whatever flags it already sets | Qt::TextSelectableByMouse) in the label factory in baloo-widgets. Sounds like an easy patch :)
Indeed. You can see how I did this for the Properties dialog here: https://cgit.kde.org/kio.git/commit/?id=025e5e9957ff92c8196f820e9490f337ebfbe317
You'd do the same here: https://cgit.kde.org/baloo-widgets.git/tree/src/filemetadatawidget.cpp#n121
Would you like to have a go at it, Pedro? I can help if you get stuck. Here's the documentation: https://community.kde.org/Get_Involved/development
(In reply to Nate Graham from comment #2)
> Indeed. You can see how I did this for the Properties dialog here:
> You'd do the same here:
> Would you like to have a go at it, Pedro? I can help if you get stuck.
> Here's the documentation: https://community.kde.org/Get_Involved/development
Considering Pedro didn't respond, may I tackle it?
Please feel free!
I submitted a fix: https://phabricator.kde.org/D21740
Git commit e5cc92b87ef1c1fc344e89bc7941303692e11a00 by Nate Graham, on behalf of Gabriel Felipe Huwe.
Committed on 11/06/2019 at 12:48.
Pushed by ngraham into branch 'master'.
Make text from Dolphin's information panel copyable
Fixed text from Dolphin's information panel not being copyable by adding the correct text interaction flags to the label.
Reviewers: #baloo, #dolphin, ngraham
Reviewed By: #baloo, #dolphin, ngraham
Subscribers: ngraham, #dolphin, #baloo
Tags: #dolphin, #baloo
Differential Revision: https://phabricator.kde.org/D21740
M +1 -0 src/filemetadatawidget.cpp
M +1 -0 src/widgetfactory.cpp