From 2ab0c6033620137291f9c4b8c109b26533cbcf95 Mon Sep 17 00:00:00 2001 From: Jeremy Wootten Date: Wed, 5 Apr 2023 17:28:17 +0000 Subject: [PATCH] Ensure overlay appears after drag-dropped files are selected (#2157) --- data/io.elementary.files.appdata.xml.in.in | 4 ++-- src/View/AbstractDirectoryView.vala | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/data/io.elementary.files.appdata.xml.in.in b/data/io.elementary.files.appdata.xml.in.in index ccf0b4e5c..f55285047 100644 --- a/data/io.elementary.files.appdata.xml.in.in +++ b/data/io.elementary.files.appdata.xml.in.in @@ -42,8 +42,8 @@ Reinstate mount option in storage menu Fix crash when entering path on other Linux Fix no norubberband selection in List View if started outside list - Fix List View selection not persisting when changing to Icon View - + Fix List View selection not persisting when changing to Icon View + Property overlay doesn't appear when selection is created by drag-drop or paste diff --git a/src/View/AbstractDirectoryView.vala b/src/View/AbstractDirectoryView.vala index 3b4902cc2..cd78c76f1 100644 --- a/src/View/AbstractDirectoryView.vala +++ b/src/View/AbstractDirectoryView.vala @@ -1686,6 +1686,11 @@ namespace Files { timestamp ); + Idle.add (() => { + update_selected_files_and_menu (); + return Source.REMOVE; + }); + break; default: