Bug 366266 - Add right-click context menu or button to copy system info
Summary: Add right-click context menu or button to copy system info
Status: RESOLVED FIXED
Alias: None
Product: kinfocenter
Classification: Applications
Component: general (show other bugs)
Version: 5.12.3
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Hubner
URL:
Keywords:
: 355460 391566 399939 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-30 01:54 UTC by KDE Neon user
Modified: 2018-10-17 20:03 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 KDE Neon user 2016-07-30 01:54:38 UTC
When one opens the info center, there's no way to copy the summary displayed on the first tab (Plasma version, frameworks version, QT version, kernel etc.).

Please add a right-click context menu or button to copy those pieces of info easily, so that we can submit bug reports or request support without having to copy those lines one by one by typing them in another program.

Reproducible: Always

Steps to Reproduce:
1. Open the KDE Info Center
2. Try to copy the system summary displayed
Comment 1 Gregor Mi 2017-08-03 09:47:35 UTC
The issue is being worked on here: https://phabricator.kde.org/D7087
Comment 2 Christoph Feck 2018-02-19 22:30:27 UTC
*** Bug 355460 has been marked as a duplicate of this bug. ***
Comment 3 Rog131 2018-03-08 20:09:44 UTC
*** Bug 391566 has been marked as a duplicate of this bug. ***
Comment 4 Gregor Mi 2018-09-02 15:25:10 UTC
Git commit c0f28efd280f4c22c1fc061c32827086c1c52388 by Gregor Mi.
Committed on 02/09/2018 at 12:34.
Pushed by gregormi into branch 'master'.

Add "Copy Info" button to the About System KCM

Summary:
Adds a new button with a "Copy to Clipboard" action to the "About" System module. The action copies the visible information to the clipboard. It can be used for quickly retrieving information for a bug report.

This is an example of how the copied text looks like:

Distro: openSUSE Tumbleweed 20180404
KDE Frameworks Version: 5.46.0
Qt Version: 5.10.0
Kernel Version: 4.15.13-2-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i3 CPU M 370 @ 2.40GHz
Memory: 7,7 GiB of RAM

(Note that in this example 'KDE Plasma Version' is missing here because it is hidden in the development version)

Screenshot:

{F5691627}

Also note, that the layout in Modules/about-distro/src/Module.ui had to be reworked in order to properly integrate the new button (see screenshots below). As a nice side effect is that the behavior of horizontal resizing is now better than before. The content is now always centered instead of shifted to the right.

Reviewers: ngraham, dhaumann, rkflx

Reviewed By: ngraham, dhaumann

Subscribers: rkflx, dhaumann, ltoscano, sebas, elvisangelaccio, cfeck, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D7087

M  +46   -6    Modules/about-distro/src/Module.cpp
M  +9    -0    Modules/about-distro/src/Module.h
M  +334  -294  Modules/about-distro/src/Module.ui

https://commits.kde.org/kinfocenter/c0f28efd280f4c22c1fc061c32827086c1c52388
Comment 5 Antonio Rojas 2018-09-03 08:17:33 UTC
*** Bug 398181 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2018-10-17 20:03:10 UTC
*** Bug 399939 has been marked as a duplicate of this bug. ***