Bug 391590 - File operations that are completed faster than 500ms do not send notifications
Summary: File operations that are completed faster than 500ms do not send notifications
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.12.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-09 02:25 UTC by Patrick Silva
Modified: 2023-08-02 21:38 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
notification while Dolphin deletes permanently a folder containing many files and subfolders (66.43 KB, image/png)
2019-10-28 20:26 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2018-03-09 02:25:00 UTC
Plasma randomly does not show some notifications.
For example, notifications after dolphin to copy, move or delete files
and notifications after Ark to compress, extract or open files.

I already noticed this behavior in previous plasma releases, but since update to plasma 5.12.3 the problem occurs more often.
Comment 1 Alexander Mentyu 2018-03-11 07:57:56 UTC
Is this could be due to very short time of the file operation?
Comment 2 Patrick Silva 2018-03-11 17:05:52 UTC
(In reply to Alexander Mentyu from comment #1)
> Is this could be due to very short time of the file operation?

The problem already happenned when I copied a 400 MiB file to another partition using Dolphin. I do not use SSD.
Comment 3 Méven Car 2019-10-19 09:19:27 UTC
Does this still occurs ?
Comment 4 Patrick Silva 2019-10-19 13:23:59 UTC
(In reply to Méven Car from comment #3)
> Does this still occurs ?

yes. Apparently the behavior varies according to the amount of data involved.
For example, if I copy  176.6 MiB (54 jpg files) to another partition, Plasma does not show a notication from Dolphin when the file transfer is completed.
But it does when I copy 180.3 MiB (55 jpg files).

Plasma does not show a notification from Ark after I compress a 2.2 jpg file to tar.gz format, but it does after I compress a 5.7 jpg file.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.17.80
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.1
Comment 5 Patrick Silva 2019-10-19 19:50:12 UTC
(In reply to Patrick Silva from comment #4)
> (In reply to Méven Car from comment #3)
> > Does this still occurs ?
> 
> 
> Plasma does not show a notification from Ark after I compress a 2.2 jpg file
> to tar.gz format, but it does after I compress a 5.7 jpg file.
> 

Sorry, I meant 2.2 MiB jpg file and 5.7 MiB jpg file.
Comment 6 Patrick Silva 2019-10-28 20:26:40 UTC
Created attachment 123549 [details]
notification while Dolphin deletes permanently a folder containing many files and subfolders

Notifications are also inconsistent when I delete data. Sometimes plasma shows a notification (see the attached screenshot please) while Dolphin deletes permanently (shift+del) a folder containing many files and sub-folders (a folder containing the source code of kwin with 1,435 files and 268 sub-folders, for example). 
But plasma does not show the same notification while Dolphin deletes permanently thousands of jpg files or a single big (6.7 GiB) file, for example.
Comment 7 Méven Car 2019-10-29 07:16:13 UTC
KIO Notification currently are displayed only when the operation lasts at least 500ms (half second). This is to avoid potential flickering of notifications that need to be hidden by the time their UI is ready.

> deletes permanently (shift+del) a folder containing many files and sub-folders (a folder containing the source code of kwin with 1,435 files and 268 sub-folders
That is a lot slower process, because kio will inspect every sub-folders and their files before deleting them one by one.

> while Dolphin deletes permanently thousands of jpg files or a single big (6.7 GiB) 
Single folder deletion, how-ever big it is, can be very fast, especially with an SSD for instance.

If you notice the notifications now, if may be that the io operations got faster.

Perhaps that's this behavior that is the issue, and that you suggest we should change.
Comment 8 Noah Davis 2023-08-02 21:38:46 UTC
I've changed the title to reflect the true issue. Do we want notifications for every user initiated file operation? I suppose if 500ms isn't considered too short, then possibly.