Review Request 125991: [Widget Explorer] Allow uninstalling user-installed applets

Kai Uwe Broulik kde at privat.broulik.de
Sun Nov 8 00:23:33 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125991/
-----------------------------------------------------------

Review request for Plasma and KDE Usability.


Repository: plasma-desktop


Description
-------

The no longer enabled tooltip also contained the uninstall button. This restores the uninstall functionality similar to the wallpaper dialog.

User-installed applets get an uninstall button. I chose to always show it rather than on hover since only a few applets are likely to be uninstallable and I don't want to play the guessing-game, perhaps we should introduce a filter for "User-installed applets" similar to the (less useful) "running" ones. Clicking the button will queue the uninstallation which can be cancelled anytime the dialog is still opened. As soon as the dialog closes, the actual uninstall is executed.

Multiple applets can be enqueued simultaneously.


Diffs
-----

  desktoppackage/contents/explorer/AppletDelegate.qml 5a81b91 
  desktoppackage/contents/explorer/WidgetExplorer.qml af27229 

Diff: https://git.reviewboard.kde.org/r/125991/diff/


Testing
-------

Installed plasmoid through drag and drop, uninstalled after fixing an uninstall bug (Review 125990)

The tooltip says "Undo uninstall". I just noticed I should probably fade the applet name too.


File Attachments
----------------

Uninstall before
  https://git.reviewboard.kde.org/media/uploaded/files/2015/11/08/adcb91e0-a8c2-4481-89f1-139b4e716da3__uninstall1.png
Undo uninstall
  https://git.reviewboard.kde.org/media/uploaded/files/2015/11/08/ebdae6ad-28bd-42f0-bb36-bfa6dfd3cc30__uninstall2.png


Thanks,

Kai Uwe Broulik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151108/7c5ee216/attachment.html>


More information about the Plasma-devel mailing list