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

Elvis Angelaccio <elvis.angelac...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/ark/commit/9074c10373
                   |                            |681de1567fef0ee35a690d8514b
                   |                            |4b5
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #16 from Elvis Angelaccio <elvis.angelac...@kde.org> ---
Git commit 9074c10373681de1567fef0ee35a690d8514b4b5 by Elvis Angelaccio, on
behalf of Jan Paul Batrina.
Committed on 15/02/2021 at 22:17.
Pushed by elvisangelaccio into branch 'master'.

Display confirmation dialog only once when files in archive are modified

Since QFileSystemWatcher::fileChanged is emitted everytime flush()
is called on a file, slotWatchedFileModified gets called multiple times,
especially for large files. (see https://bugreports.qt.io/browse/QTBUG-8244)

If no new fileChanged signal is emitted 200ms after the last one,
we interpret that as "the file has been fully written"

200ms was arbitrarily chosen to be a balance between a long enough flush
interval
and "instant" feedback to the user, but it can be fine tuned later.

M  +28   -1    part/part.cpp
M  +5    -0    part/part.h

https://invent.kde.org/utilities/ark/commit/9074c10373681de1567fef0ee35a690d8514b4b5

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

Reply via email to