https://bugs.kde.org/show_bug.cgi?id=468505

adalbert.hans...@gmx.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WAITINGFORINFO              |---
             Status|NEEDSINFO                   |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #3 from adalbert.hans...@gmx.de ---
(In reply to Alex Bikadorov from comment #2)
> You can go to "virt:///" - the root directory of all virtual directories and
> delete the directories you want.
> Deleting single files in a virtual directory is currently not supported.
> 
> Does this solve your issue?

Thank you for your hint. It solves my problem even better than my script, which
requires you to create the ~/.config/krusaderrc_reset file before using it for
the first time.

There is no directory with the name "virt:" or "virt" in the directory tree of
my computer. virt:/// looks to be a purely krusader-internal entity.

In my post I mentioned the file ~/.local/share/krusader/virtualfilesystem.db,
which changes its content after feeding search results to a listbox or after
the operation which you describe. I guess, this file physically is what is
called the virtual file system.

Trying out your advice I created several such search result listboxes. I can
select n of them (internal to krusader) in "virt:" and delete them. Then a
message appears asking me whether I wanted to delete theses n entries, the
physical files are kept.
So your advice solves my problem.

But I think the user interface should becomre clearer and it should enable one
to manually manipulate the listbox too (as an alternative to manipulating
physical files).

One often has to refine some search by by excluding some found items manually
and possibly applying another search to the manipulated search results. So it
probably would be a good thing to be able to delete single found files from a
listbox (without deleting the files) and then continue searches from such a
manually modified set.

As I have observed, this can be done by manipulating the proper line in
~/.local/share/krusader/virtualfilesystem.db. But that's cumbersome and error
prone. To enable such search refinements with manual manipulations of search
results, I suggest 
1. to add a checkbox switching between manipulating selected file in the
listbox rather than the physical files (it should default to that) or really
manipulate the physical files themselves. 
2. when it comes to delete physical files by a listbox operation, there always
should be a safety question..

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to