Press Escape to exit Global Edit mode and return to single-file editing:
# From tagqt/ui/main.py - Exit global modedef exit_global_mode(self): self.sidebar.set_global_mode(False) files = self.get_selected_files() if files: first_file = files[0] # ... select and load first file ...
Empty fields in Global Edit mode preserve the original values for each file. Only fields with content will be applied.
When saving in Global Edit mode, TagQt processes all selected files:
# From tagqt/ui/main.py - Global save workflowdef save_metadata(self): if getattr(self.sidebar, 'is_global_mode', False): files = self.get_selected_files() if not files: return changes = self.sidebar.get_modified_fields() if not changes: self.show_toast("No fields were modified.") return if not self._prepare_batch("Global Save Status"): return self.progress_bar.setRange(0, len(files)) self.progress_bar.setFormat("Saving... 0%") self._start_batch_worker(SaveWorker(files, changes))
The Batch Status Dialog provides detailed information:
Per-file status - Success, Skipped, Error, etc.
Status messages - What happened to each file
Result summary - Total counts by status
# From tagqt/ui/main.py - Adding resultsdef on_batch_result(self, filepath, status, message): self.batch_dialog.add_result(filepath, status, message) if status in ["Updated", "Success", "Found"]: self.file_list.update_file(filepath)
Cancel long-running batch operations using the Cancel button:
# From tagqt/ui/main.py - Cancelingdef cancel_batch_operation(self): if hasattr(self, 'worker') and self.worker: self.worker.stop() self.batch_cancel_btn.setEnabled(False) self.batch_cancel_btn.setText("Stopping...")
Some operations like file renaming cannot be safely canceled mid-operation and may complete the current file before stopping.