diff --git a/src/widgets/properties_view.rs b/src/widgets/properties_view.rs index 95b4e59..5dfb461 100644 --- a/src/widgets/properties_view.rs +++ b/src/widgets/properties_view.rs @@ -233,6 +233,11 @@ impl LpPropertiesView { self.notify("file-info"); } + // Determines the dimensions of the file asyncronously. We do this + // asycnhronously to avoid blocking the UI as we parse the file info. + // In addition, we're loading the image metadata separately from the file + // here so that the properties sidebar's information can load separately + // from the current file. fn build_dimensions(&self, info: &gio::FileInfo, file: &gio::File) { let imp = self.imp();