Bug 398181 - Make value text fields be selected and copied
Summary: Make value text fields be selected and copied
Status: RESOLVED INTENTIONAL
Alias: None
Product: kinfocenter
Classification: Applications
Component: All KCMs (show other bugs)
Version: 5.13.4
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Hubner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-03 08:02 UTC by dufferzafar
Modified: 2020-07-21 17:30 UTC (History)
6 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 dufferzafar 2018-09-03 08:02:44 UTC
This is a minor usability issue.

The text where it says "KDE Plasma Version: 5.13.4" etc. is not copyable.

I feel it should be as it allows for easier sharing.

I tested other KCMs as well, and none of the text can be copied.
Comment 1 Antonio Rojas 2018-09-03 08:17:33 UTC

*** This bug has been marked as a duplicate of bug 366266 ***
Comment 2 dufferzafar 2018-09-03 10:25:04 UTC
Wow, I created bug-report for a bug that was fixed _yesterday_

The solution suggested in that thread is of adding a button, which seems fair.

But do you think we should still make the text elements selectable?
Comment 3 Gregor Mi 2018-09-03 19:42:48 UTC
> But do you think we should still make the text elements selectable?
I like that idea. Recently, there was a change written for the file properties dialog: The value fields are now also selectable and copyable.
Comment 4 Gregor Mi 2018-09-03 19:52:55 UTC
> Wow, I created bug-report for a bug that was fixed _yesterday_

This is one of those cool moments when you work for Free Software projects :-)
Comment 5 Harald Sitter 2019-02-20 14:22:20 UTC
I am not sure this necessarily make sense from an effort vs. use point of view with the new copy button in the picture.

Conceptually the about-distro module does not have a string "KDE Plasma Version: 5.13.4". It has the two strings "KDE Plasma Version:" and "5.13.4" (and it doesn't even particularly know that the two belong to one another). We could easily make either side selectable, but then does that really have a lot of use?

You can actually see the problem in the Memory module. The text in the memory table is selectable, but each line is really comprised of 3 distinct elements that you can copy individually instead of as a whole.

On top of that there's the problem that by default non-interactive space is dragable space (i.e. if you click and press anywhere on empty space you can drag the window). Which makes selecting by dragging a bit hit-and-miss at the best of times.
Comment 6 Nate Graham 2020-07-21 17:30:02 UTC
I agree with Harald that the "Copy to Clipboard" button resolves this in a way that's good enough. :)