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

mclan...@proton.me changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mclan...@proton.me

--- Comment #9 from mclan...@proton.me ---
I've made a merge request that speeds up making the compress context menu, and
which should also remove the delay when clicking on the "Compress to..."
dialog, because it reuses the filename prefix which was already computed for
the names of the actions like "Compress to abcdef.tar.gz".

I'm now looking into the extract context menu, and I don't see much that can be
done to stop it reading all the mime types. One idea I had was to use the
KFileItem mime type, which is probably already computed, but we use
Kerfuffle::determineMimeType() which has some logic specific to archive mime
types which I don't think can be touched. 

To me it seems like the best solution would be to only create the extract
context menu if every selected file is an archive file type. That way if we
have a bunch of files selected, we can bail early if one of the files isn't an
archive. This is what the Gwenview "Start a Slideshow" context menu service
does when not every selected file is an image. Would anyone have a problem with
this?

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

Reply via email to