Summary: | Widget trash not correctly updated | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Nicofo <nicofo> |
Component: | widget-trashcan | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | chaofeng111, dev.dliw, fitzcarraldo1, kde, tsujan2000 |
Priority: | NOR | ||
Version: | 4.11.10 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
screenshot_1 (trash has been emptied, but the widget says '8 items')
screenshot_2 (file 'aaa.txt' put to trash BUT trash widget still believes 'trash empty') |
Description
Nicofo
2013-04-05 19:03:53 UTC
Created attachment 78662 [details]
screenshot_1 (trash has been emptied, but the widget says '8 items')
Created attachment 78663 [details]
screenshot_2 (file 'aaa.txt' put to trash BUT trash widget still believes 'trash empty')
I also confirm that, in 4.10, the trashcan Plasmoid shows an empty trash when a single file or folder is moved to trash. It shows a full trash when a second file/folder is trashed. Either the bug is fixed with the recent updates in Debian or it's random. I'll add a comment if it's random. This is the pattern I see: If, after log-in, the first file/folder is trashed from Dolphin, the trashcan plasmoid will show an empty trash. With a second file/folder it'll show a full trash. However, if a single file/folder is trashed from the Folder View plasmoid, trashcan's state will be updated correctly and after that, it'll also show a full trash with any single file/folder deleted from Dolphin. As the main reporter explained, trashcan worked OK before 4.10. Persists in KDE-4.11.3. A file is trashed and '~/.kde/share/config/trashrc' says Empty=false, while the trashcan widget shows an empty trash, Still present in 4.12.4. I'm still experiencing this bug in KDE 4.13.0. I can confirm that bug for KDE 4.13.3. Still present in KDE 4.14.0. This issue seems to be related to nVidia. I don't see it on another computer with an Intel graphics card, while it still occurs with nVidia. (In reply to Tsu Jan from comment #11) > This issue seems to be related to nVidia. I don't see it on another computer > with an Intel graphics card, while it still occurs with nVidia. No, it is not specific to nvidia: I have a radeon graphic card (with open source driver). (In reply to Nicofo from comment #12) > No, it is not specific to nvidia: I have a radeon graphic card (with open > source driver). OK. Just a guess: It may still be related to how Plasma interacts with the graphics card because I don't see it with the Intel card, while it often happened with nVidia and, as you mentioned, it happens with Radeon. I mean this issue may not be just a bug in widget-trashcan. I remember that I looked into its code when I had KDE-4.10 and found nothing suspicious. The code isn't changed since then, I suppose. I can also confirm that the problem is not limited to NVIDIA GPUs, because I experienced it (see Comment 8) on my laptop using the FGLRX driver for an ATI Mobility Radeon HD5650 GPU, running in 64-bit Gentoo Linux. However, I am no longer experiencing the problem in KDE 4.14.3 on the same laptop. (In reply to Fitzcarraldo from comment #14) > ... However, I am no longer experiencing the problem in KDE 4.14.3 on the same > laptop. I use Debian Testing with KDE 4.14.2 on two computers, one of which is nVidia based and the other is a laptop with an Optimus system (with Intel as the active card). The issue frequently occurs on the first but it has never occurred on the second. I'll post a comment as soon as KDE >= 4.14.3 comes to Debian Testing. (In reply to Fitzcarraldo from comment #14) > However, I am no longer experiencing the problem in KDE 4.14.3 on the same > laptop. The same for me. Seems fixed ;) |