Bug 479540 - Trash applet icon remains full after emptying
Summary: Trash applet icon remains full after emptying
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Trash widget (other bugs)
Version First Reported In: 5.27.10
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-08 15:08 UTC by marav
Modified: 2024-01-08 15:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marav 2024-01-08 15:08:15 UTC
SUMMARY

The trash icon (widget) remains non-empty after emptying 

STEPS TO REPRODUCE
1.  Add trash widget icon
2.  Delete a file or a folder
3.  Empty the trash

OBSERVED RESULT
The trash is emptied, but the icon remains as if there were things in it
Also, I have this log :

** (process:3381): WARNING **: 15:52:24.579: *** Unsupported operation detected on trash directory
** (process:3381): WARNING **: 15:52:24.579:     A trash files/ directory should only have files linked or unlinked (via moves or deletes).  Some other operation has been detected on a file in the directory (eg: a file has been modified).  Likely, the data reported by the trash backend will now be inconsistent.
** (process:3381): WARNING **: 15:52:24.579:   dir: /home/marav/.local/share/Trash/files, file: test, type: 4
** (process:3381): WARNING **: 15:52:24.579: *** Unsupported operation detected on trash directory
** (process:3381): WARNING **: 15:52:24.579:   dir: /home/marav/.local/share/Trash/files, file: test, type: 4


EXPECTED RESULT
Have a "empty style" icon

SOFTWARE/OS VERSIONS

Slackware Linux 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11

INFOS:
panel height : 44
icons space : normal
Comment 1 marav 2024-01-08 15:11:52 UTC
(In reply to marav from comment #0)
> SUMMARY
> 
> The trash icon (widget) remains non-empty after emptying 
> 
> STEPS TO REPRODUCE
> 1.  Add trash widget icon
> 2.  Delete a file or a folder
> 3.  Empty the trash
> 
> OBSERVED RESULT
> The trash is emptied, but the icon remains as if there were things in it
> Also, I have this log :
> 
> ** (process:3381): WARNING **: 15:52:24.579: *** Unsupported operation
> detected on trash directory
> ** (process:3381): WARNING **: 15:52:24.579:     A trash files/ directory
> should only have files linked or unlinked (via moves or deletes).  Some
> other operation has been detected on a file in the directory (eg: a file has
> been modified).  Likely, the data reported by the trash backend will now be
> inconsistent.
> ** (process:3381): WARNING **: 15:52:24.579:   dir:
> /home/marav/.local/share/Trash/files, file: test, type: 4
> ** (process:3381): WARNING **: 15:52:24.579: *** Unsupported operation
> detected on trash directory
> ** (process:3381): WARNING **: 15:52:24.579:   dir:
> /home/marav/.local/share/Trash/files, file: test, type: 4
> 
> 
> EXPECTED RESULT
> Have a "empty style" icon
> 
> SOFTWARE/OS VERSIONS
> 
> Slackware Linux 
> KDE Plasma Version: 5.27.10
> KDE Frameworks Version: 5.113.0
> Qt Version: 5.15.11
> 
> INFOS:
> panel height : 44
> icons space : normal

Ok, so nevermind
I removed an artifact of probably an old file *.trashinfo
Now, everything is back to normal
Sorry for the noise and happy new year ! ;-)