Non-modal search window

Only forum where polls are allowed. You may announce a new poll in the matching support forum.

Moderators: Stefan2, white, sheep, Hacker

Non-modal search window

Yes
125
91%
No
13
9%
 
Total votes: 138

User avatar
mnerec
Junior Member
Junior Member
Posts: 25
Joined: 2005-07-04, 14:00 UTC
Location: Denmark

Non-modal search window

Post by *mnerec » 2005-07-04, 14:39 UTC

When you set TC to do an extensive search, you cannot continue
working as the windows is modal.

For this reason I use several instances of TC, whick kinda work
against the whole tabbed panes feature set.

What about making it run in a seperate thread, non-modal?

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36554
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2005-07-04, 14:45 UTC

I'm sorry but this is technically impossible. Most unpackers like the external unrar.dll do not work correctly or even crash when called multiple times, e.g. for unpacking and searching at the same time. The same is true e.g. for plugins.
Author of Total Commander
http://www.ghisler.com

User avatar
mnerec
Junior Member
Junior Member
Posts: 25
Joined: 2005-07-04, 14:00 UTC
Location: Denmark

Post by *mnerec » 2005-07-04, 14:55 UTC

I'm sorry for sounding silly, or even a bit dumb,but what does the unpacker have to do with searching for files?

As far as I noticed you cannot search for filenames inside a RAR file with the search.

What part of the search is the problem? You can copy files in the background, why is scanning for filenames not possible, or for that matter strings inside binary files?

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36554
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2005-07-04, 15:30 UTC

Of course you can search for file names and even for text inside of archives - just check the option "search archives"...
Author of Total Commander
http://www.ghisler.com

User avatar
mnerec
Junior Member
Junior Member
Posts: 25
Joined: 2005-07-04, 14:00 UTC
Location: Denmark

Post by *mnerec » 2005-07-04, 16:06 UTC

Fair enough, I missed that option :-)

Your search dialog is SOO much faster than the one in windows, and this is one of the reasons that TC is the first program put onto my personal computers.

But when searching my companys server for "that particlular source file", I really regret having to open another TC for, for what seems to me, a simple task.

Maybe searching in archives and/or plugins could be disabled if the window is not modal? These are not features I've ever used, let alone noticed.

That way everyone would be satisfied ;-)

User avatar
Hacker
Moderator
Moderator
Posts: 11062
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker » 2005-07-04, 17:09 UTC

Christian,
IIRC you never responded to the idea that you could make the window modeless when searching in archives is not enabled.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz » 2005-07-04, 20:02 UTC

One of the MOST WANTED features!
I switched to Linux, bye and thanks for all the fish!

User avatar
Hacker
Moderator
Moderator
Posts: 11062
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker » 2005-07-04, 21:21 UTC

Another approach could be to "queue" unpacking operations, so for instance when you search in archives and a RAR is being searched and the user wants to open another RAR in the main window, a message could pop up saying, "Another archive of this type already opened by the search operation, please wait..."

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz » 2005-07-05, 08:48 UTC

2Hacker
I like the idea! It is really rare when i open a rar, which i just search. Besides, i only use the internal zip ;-)
I switched to Linux, bye and thanks for all the fish!

User avatar
Lefteous
Power Member
Power Member
Posts: 9433
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous » 2005-07-05, 08:58 UTC

I have written down my thoughts about that here:
http://www.ghisler.ch/board/viewtopic.php?p=45498#45498

User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz » 2005-07-05, 22:15 UTC

2Lefteous
And I agreed there too! ;-)
I switched to Linux, bye and thanks for all the fish!

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36554
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2005-07-07, 15:49 UTC

IIRC you never responded to the idea that you could make the window modeless when searching in archives is not enabled.
This would be possible, but would cause even more support e-mails, like "the search archives functions cannot be checked" when users switch to and back to the search function...
Author of Total Commander
http://www.ghisler.com

User avatar
Flint
Power Member
Power Member
Posts: 3160
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2005-07-07, 17:26 UTC

ghisler(Author)
This would be possible, but would cause even more support e-mails, like "the search archives functions cannot be checked" when users switch to and back to the search function...
This could be implemented as a "hidden" option, turned off by default. To enable it the user will need to write a particular key in wincmd.ini - and in the description of this key (in the help file) there would be a BOLD warning. :)
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

User avatar
Hacker
Moderator
Moderator
Posts: 11062
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker » 2005-07-07, 23:06 UTC

ghisler(Author) wrote:
IIRC you never responded to the idea that you could make the window modeless when searching in archives is not enabled.
This would be possible, but would cause even more support e-mails, like "the search archives functions cannot be checked" when users switch to and back to the search function...
I think you misunderstood. The search window would become modeless after the search is invoked and only if search in archives is disabled. So the modality would depend on the search in archives checkbox, not the other way round.

And what do you think about my other proposal?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36554
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2005-07-11, 09:54 UTC

Unfortunately this would require a major redesign of all the various unpacking functions. One alternative would be to start the search in a separate program instance (launch a hidden TC with just the search window), but then "feed to listbox" would no longer be possible.
Author of Total Commander
http://www.ghisler.com

Post Reply