Multi Commander Support Forum

Multi Commander => Feature Requests and Suggestions => Topic started by: AlanJB on July 18, 2016, 18:06:11

Title: Empty Search Results Tab
Post by: AlanJB on July 18, 2016, 18:06:11
Hi Mathias.

I know you plan to eventually do away with Search Results in explorer panel tabs, but in the meantime...

The File Search Results tab is created as soon as the Find Files dialog is instantiated.
If the Find is then cancelled, the dialog is dismissed but the empty File Search Results tab remains.

Is it relatively simple to implement a change in behaviour such that the tab is closed if the Find is cancelled (one less tab to close or to be distracted by)?


TIA

Alan
Title: Re: Empty Search Results Tab
Post by: Mathias (Author) on July 19, 2016, 00:24:16
It is not really connected like that.

I don't think closing the dialog should close the tab.  You can start a search, then close the dialog
and the search continues and result is poping in into the list.
The only time I see a reason is if you return 0 result, but that would give the close of the dialog two very different behaviors.
sometimes it just closes the dialog, sometimes it closes the entire search module.

However if you close the tab.. the dialog will also be closed.