Feedback channel for KAbstractFileItemActionPlugin
Open, Needs TriagePublic

Description

There should be a way for a KAbstractFileItemActionPlugin to provide feedback whether an action succeeded or failed, so e.g. Dolphin could show a message widget or highlight a newly created file or something.

Use case:
When sharing a file in Dolphin using Purpose, it then has to show a KNotification in case of error. Ideally, this was instead done as a KMessageWidget in Dolphin in response to a signal of some sort.

Other potential usecase:
When creating a compressed file, it could then show a success message and/or then automatically select the newly created file.

Related Objects

broulik created this task.Nov 23 2019, 4:23 PM
alex claimed this task.Apr 17 2021, 2:22 PM
alex added a comment.Apr 18 2021, 6:52 AM

When creating a compressed file, it could then show a success message and/or then automatically select the newly created file.

That should be done in the ark plugin and does not require any new public API. I will look into it, currently we directly call the ark executable, which is not ideal if we want to display error messages or react to the file creation in the plugin.

alex moved this task from Backlog to In Progress on the KF6 board.Apr 18 2021, 6:52 AM