Bug 428564 - expose smartdialog for third party user
Summary: expose smartdialog for third party user
Status: CONFIRMED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-01 14:54 UTC by proteus5
Modified: 2021-06-04 17:52 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
SMARGART on Kde partition manager (236.10 KB, image/jpeg)
2020-11-01 14:54 UTC, proteus5
Details

Note You need to log in before you can comment on or make changes to this bug.
Description proteus5 2020-11-01 14:54:56 UTC
Created attachment 132942 [details]
SMARGART on Kde partition manager

SUMMARY
request for SMARTGART to show analytics list of data such as those appears on KDe partition manager when those information are accessed.

STEPS TO REPRODUCE
1. run information manager
2. access SMARTGART on Device page
3. look at information

OBSERVED RESULT
SMARTGART information is exposed in a simple way

EXPECTED RESULT
SMARTGART information is analytics.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma:Operating System: KDE neon 5.20
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.0
Kernel Version: 5.4.0-52-generic
OS Type: 64-bit

ADDITIONAL INFORMATION
Comment 1 Andrius Štikonas 2020-11-01 21:38:33 UTC
Note that KDE Partition Manager also struggles a bit with this. It doesn't work with NVMe drives.
Comment 2 proteus5 2020-11-30 13:12:02 UTC
(In reply to Andrius Štikonas from comment #1)
> Note that KDE Partition Manager also struggles a bit with this. It doesn't
> work with NVMe drives.

It's relevant for non-NVMe mass memory devices.
Comment 3 Harald Sitter 2021-02-01 13:57:47 UTC
@stikonas Have you considered turning the PM view into a KCM? I don't much see the point in reimplementing a view PM already has that is entirely irrelevant (because too techy) to all but one of our design personas.
Comment 4 Andrius Štikonas 2021-02-06 21:50:07 UTC
(In reply to Harald Sitter from comment #3)
> @stikonas Have you considered turning the PM view into a KCM? I don't much
> see the point in reimplementing a view PM already has that is entirely
> irrelevant (because too techy) to all but one of our design personas.

I haven't considered it myself.

Very early versions of PM had KCM but Volker Lanz removed it. I think because it was lagging some features compared to the main app.
Comment 5 Harald Sitter 2021-02-08 15:41:51 UTC
I'll move the bug to PM for now.

IMO ideally the SMART table view that already exists in PM could be exposed as a (unlisted - i.e. not in systemsettings) KCM. KCM is really just fancy plugin tech here and can take an argument on construction [1] to wrap the actual widget.

SmartKCM(QWidget *parent, const QVariantList &args) : KCModule(parent, args)
{
new SmartDialog(Device::fromPath(args['path']);
}

Obviously much the same could be achieved through a standalone binary partitonmanager-smartviewer that takes an argument. Makes little difference I suppose.

Either approach would allow kinfocenter to show a "Details" button when partitionmanager is installed.

[1] https://api.kde.org/frameworks/kconfigwidgets/html/classKCModule.html