Summary: | File operations that are completed faster than 500ms do not send notifications | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Patrick Silva <bugseforuns> |
Component: | Notifications | Assignee: | Kai Uwe Broulik <kde> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | meven29, noahadvs, notuxius, plasma-bugs |
Priority: | NOR | ||
Version: | 5.12.3 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | notification while Dolphin deletes permanently a folder containing many files and subfolders |
Description
Patrick Silva
2018-03-09 02:25:00 UTC
Is this could be due to very short time of the file operation? (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. Does this still occurs ? (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 (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. 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.
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. 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. |