[dolphin] [Bug 422006] [Dolphin] Emptying trash does not trigger view refresh
Méven Car
bugzilla_noreply at kde.org
Wed Sep 18 08:59:07 BST 2024
https://bugs.kde.org/show_bug.cgi?id=422006
--- Comment #39 from Méven Car <meven29 at gmail.com> ---
(In reply to Pete from comment #38)
> (In reply to Méven Car from comment #36)
> > (In reply to Pete from comment #35)
> > > (In reply to Méven Car from comment #34)
> > > > (In reply to Pete from comment #33)
> > > > > (In reply to Méven Car from comment #32)
> > > > > > (In reply to Pete from comment #31)
> > > > > > > (In reply to Méven Car from comment #30)
> > > > > > > > Which desktop layout are using desktop or folder view ?
> > > > > > > > You have folder view if you have icons of your wallpaper/desktop.
> > > > > > > >
> > > > > > > > Simply put, do you have icons on your desktop ?
> > > > > > > > Does opening `desktop:/` in dolphin change the behavior ?
> > > > > > > >
> > > > > > > > A component watching for trash updates, is not started if you use the
> > > > > > > > "desktop" layout and might explain why I don't reproduce this.
> > > > > > > > Haven't checked myself.
> > > > > > > > https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kioworkers/
> > > > > > > > desktop/desktopnotifier.cpp
> > > > > > > >
> > > > > > > > Another to check is to launch `kcmshell6 kcm_kded` and whether or not
> > > > > > > > "Directory Watcher" is launched/running.
> > > > > > >
> > > > > > > Why should folder or desktop view affect the behaviour of a file manager's
> > > > > > > ability to monitor its own trash?
> > > > > >
> > > > > > Because dolphin is mostly tested/used in plasma with default settings, this
> > > > > > hasn't been noticed.
> > > > > >
> > > > > > KDE code spans decades, that we inherit as-is by from previous maintainers,
> > > > > > that had limited resources as do we always.
> > > > > > Code evolves organically often without overarching design, this is
> > > > > > especially true for old components such as trash:/.
> > > > > >
> > > > > > > A file manager should be entirely independant of a user's desktop settings.
> > > > > >
> > > > > > You are correct dolphin shouldn't depend on this, not primarly for design
> > > > > > but for not-plasma users of dolphin. Fixing this might be a fix for this bug.
> > > > > >
> > > > > > But please answer to my questions so I actually _know_ that's the issue.
> > > > > > That would be more valuable to fix the bug than having to explain the past.
> > > > >
> > > > > Understood. But I just tested Dolphin in both folder and desktop view and
> > > > > the results are the same for both. Emtpy trash continues to show contents
> > > > > until refreshed manually.
> > > >
> > > > I should have added you need to logout for the desktop view change to have
> > > > an effect.
> > > >
> > > > You can use, to otherwise check:
> > > > > Another to check is to launch `kcmshell6 kcm_kded` and whether or not
> > > > > "Directory Watcher" is launched/running.
> > > >
> > > > If my hypothesis is correct:
> > > > If it is running the bug would not happen, if it is not running the bug
> > > > would be present.
> > >
> > > Am pretty sure its running, Screenshot of my background services:
> > >
> > > https://imgur.com/a/hPCX0rA
> >
> > You need to filter at the top right for launched ones.
>
> Sorry about that. Filtered it and Directory Watcher is running. Seems others
> aren't having this issue anymore just me which is weird.
>
> Operating System: Arch Linux
> KDE Plasma Version: 6.1.5
> KDE Frameworks Version: 6.6.0
> Qt Version: 6.7.2
> Kernel Version: 6.10.9-arch1-2 (64-bit)
> Graphics Platform: Wayland
I confirmed on my side the kded not running is not sufficient to explain the
bug.
The far-fetched hypothesis is inotify not working (it has a limited number of
watches it can handde).
That would happen if you have for instance an IDE without a lot of
files/folders opened, or more generally a lot of applications.
Or a specific that would be buggy.
Or dbus not working properly/not installed.
But without dbus a lot of other things would be degraded like any
notifications.
Given you are using arch they are a thousand ways to shout you in the foot.
How custom is your arch install ? Did you use infamous plasma-meta package by
any chance ? (I am using Arch myself).
Then you are missing something from the plasma group
https://wiki.archlinux.org/title/KDE
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list