Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caja-file-operations: fixes the operations timer handling #1758

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Dec 31, 2023

  1. caja-file-operations: restart timer also for moves

    As done for copy/delete jobs, restart the operation timer also for move
    jobs. Thus preparations (e.g. `scan_sources`) later won't affect the
    later transfer rate calculation.
    basicmaster committed Dec 31, 2023
    Configuration menu
    Copy the full SHA
    7d86847 View commit details
    Browse the repository at this point in the history
  2. caja-file-operations: stop timer when waiting

    When a copy/move operation is created while another operation is already
    active, the new operation is queued. As the (already running) operation
    timer of the new operation is not stopped during the waiting period,
    that period is (erroneously) included in the transfer rate calculation
    and leads to initially low/slowly increasing transfer rates be shown.
    
    Hence stop the operation timer when the (queued) operation is waiting.
    
    Fixes mate-desktop#1420 and mate-desktop#1623.
    basicmaster committed Dec 31, 2023
    Configuration menu
    Copy the full SHA
    5b2192f View commit details
    Browse the repository at this point in the history