Bug 397235 - Ability to close/remove all instances of system widget using the Widget Explorer
Summary: Ability to close/remove all instances of system widget using the Widget Explorer
Status: CLOSED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Widget Explorer (show other bugs)
Version: 5.12.6
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL: https://imgur.com/2RLgrOD
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-07 09:34 UTC by boaz.dodin
Modified: 2018-08-07 14:54 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description boaz.dodin 2018-08-07 09:34:59 UTC
If for any reason, a widget non-visible on the desktop [1], the Widget Explorer is the only way it's expected to be able to remove it.

Right click on any item inside the Widget Explorer, doesn't open any option.
Tried to lock and unlock widgets - same behavior.

Kubuntu 18.04.1 64bit
KDE Plasma 5.12.6

[1]: A real example of this situation https://www.kubuntuforums.net/showthread.php/74165-Default-panel-disappeared
Comment 1 Kai Uwe Broulik 2018-08-07 09:36:17 UTC
You mean being able to remove all instances of that widget?
Comment 2 boaz.dodin 2018-08-07 09:46:39 UTC
(In reply to Kai Uwe Broulik from comment #1)
> You mean being able to remove all instances of that widget?

I mean an "Unistall" button (example screenshot added as URL) on all widgets, not only on user installed plasmoids.
Currently, all of my running widgets (Digital Clock, for example), miss this option.
Comment 3 David Edmundson 2018-08-07 09:49:41 UTC
You can't uninstall widgets that come from your system.
Comment 4 boaz.dodin 2018-08-07 09:55:03 UTC
(In reply to David Edmundson from comment #3)
> You can't uninstall widgets that come from your system.

I am not sure I understand it.
If not inside the Widget Explorer, there should be a way to remove non-visible widget (beside messing with system files).

Should I open a new bug (not related to Widget Explorer)?
Comment 5 boaz.dodin 2018-08-07 10:04:01 UTC
(In reply to David Edmundson from comment #3)
> You can't uninstall widgets that come from your system.

In fact, may I ask why if the logic already exist for user installed plasmoids, it can't be available for system widgets as well?!?
Comment 6 David Edmundson 2018-08-07 10:10:40 UTC
your package manager already manages installing/uninstalling those so it makes no sense, also you don't have write access to those files anyway
Comment 7 boaz.dodin 2018-08-07 10:21:33 UTC
(In reply to David Edmundson from comment #6)
> your package manager already manages installing/uninstalling those so it
> makes no sense, also you don't have write access to those files anyway

Your suggestion not even close to the "Uninstall widget" I am talking about.

I just tried to remove Digital Clock (a simple widget, not application launcher, etc. I have 2 such clocks installed. Only 1 visible.) via Discover. This is about removing the package at all (with pretty much half of KDE/Plasma).
Comment 8 boaz.dodin 2018-08-07 10:50:33 UTC
I am considering to open a new bug called "Ability to remove non-visible system widget".

As an option, this bug may be reopened.

David, why do you closed this bug?
Comment 9 Christoph Feck 2018-08-07 11:07:36 UTC
If you want to uninstall invididual widgets, your distribution would have to ship them as separate packages. Splitting each widget into it's own git repository will not be done.

Please ask in a forum of your distribution whether the maintainers of those packages are willing to take the burden of increased maintainance cost by splitting. Alternatively, you could offer to help the maintainers.
Comment 10 boaz.dodin 2018-08-07 11:19:00 UTC
(In reply to Christoph Feck from comment #9)
> If you want to uninstall invididual widgets, your distribution would have to
> ship them as separate packages. Splitting each widget into it's own git
> repository will not be done.
> 
> Please ask in a forum of your distribution whether the maintainers of those
> packages are willing to take the burden of increased maintainance cost by
> splitting. Alternatively, you could offer to help the maintainers.

I want to uninstall (installed/added via Widget Explorer or Add Panel option) system widget, not to remove any package.
Your reply not explain why this can't be done from Widget Explorer, by other way, or why this bug been closed.
Comment 11 Nate Graham 2018-08-07 13:53:59 UTC
Boaz, are you using the word "uninstall" to mean "remove visible and invisible instances of the widget from my desktop?" I think you may be confusing the developers, because everyone thinks you're asking for an ability to delete widgets that are shipped with Plasma off of your whole computer, which is not possible.

Can you clarify what it is you want to do?
Comment 12 boaz.dodin 2018-08-07 14:19:54 UTC
(In reply to Nate Graham from comment #11)
> Boaz, are you using the word "uninstall" to mean "remove visible and
> invisible instances of the widget from my desktop?" I think you may be
> confusing the developers, because everyone thinks you're asking for an
> ability to delete widgets that are shipped with Plasma off of your whole
> computer, which is not possible.
> 
> Can you clarify what it is you want to do?

Nate, I think it's clear from my several comments and the linked image, that I am talking about "remove visible and invisible instances of the widget from my desktop".

Reopening this bug will be appreciated.
Comment 13 Nate Graham 2018-08-07 14:24:13 UTC
The image you linked to shows uninstallation.

Removing all open instances of a widget not not the same as uninstallation. Think of it like programs: if a program is open, you can CLOSE it to make it stop running, but leave it available on your computer. If you UNINSTALL the program, it will be removed from the computer entirely and you will not be able to open it again.

If you just want to close/remove all instances of a widget, you don't need to uninstall it.

Are you looking for a way to close/remove all instances of a widget? Or are you trying to uninstall widgets such that they are no longer available on your computer?
Comment 14 boaz.dodin 2018-08-07 14:40:31 UTC
I am sorry if the image confusing.

Nate, thanks for your detailed replies.

I am looking for a way to close/remove all instances of a widget.

How about to show "Close/remove all instances" icon instead of "Uninstall widget", for system widgets that can't be uninstalled?
Comment 15 Christoph Feck 2018-08-07 14:52:12 UTC
Please change the title to not read "remove from Widget explorer", because everyone will be confused. Additionally, just replying "yes" to comment #1 would have helped to understand what you want to do.