[REQ] Quicksearch dialog with branch view

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

[REQ] Quicksearch dialog with branch view

Post by *StickyNomad »

When using branch view (CTRL+B) and moving the cursor to any file, the path of this file is shown in the status bar, which makes it easy to spot the directory containing the actual file.

But this convenient feature unfortunately vanishes in a puff of logic when the quicksearch(QS) dialog is used, because:

a. the path in the status bar is not refreshed as long as the QS-dialog is opened.
and
b. the QS-dialog covers the status bar so the beginning of the path is not visible anyway.

Is it possible to enhance the QS-behaviour so that the status bar will be refreshed while the dialog is still opened? If this could be implemented, then a solution for b is also mandatory.

Maybe an option like 'ShowQuicksearchAboveFileList=0/1' could be added to wincmd.ini?

Another possibility would be to place it above the status bar, but then it would cover a part (the last one or two files) of the file list...
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Indeed. Not even the tooltip works with quickview window open.

Support.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Best would be to make that box movable and save location separately per file panel.

Are you interested in an AutoHotkey script to move that box? :)

Icfu
This account is for sale
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

icfu wrote:Are you interested in an AutoHotkey script to move that box? :)
That would only be necessary if the statusline is updatet in quickview mode. But thanks for the offer.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Status line is updated when box is closed, so all there is to do is close it after each keypress and then reopen it with the former content, right?
Ah well, ghisler should implement that, can't be that difficult.

Icfu
This account is for sale
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

icfu wrote:Status line is updated when box is closed, so all there is to do is close it after each keypress and then reopen it with the former content, right?
I still underestimate the power of both of you: AHK and you. ;) :lol:

Ah well, ghisler should implement that, can't be that difficult.
Yeah, that would be the clean solution.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Edit:
Moved the script to the Wiki:
http://www.ghisler.ch/wiki/index.php/AutoHotkey:_Move_Quicksearch_Box_To_Make_Status_Bar_Visible

Press Shift-Q to activate the Quicksearch box, it will be docked below TC window, then use the box as usual.
Make sure that you always end the box with pressing Escape till further notice.

Try it out, hope you like it. ;)
If you encounter any problems let me know.

Icfu
Last edited by icfu on 2006-01-28, 12:13 UTC, edited 3 times in total.
This account is for sale
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2icfu
Great work, dude! :D On the first try it seems to work fine, gonna use it a bit and see...
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Nice work. What I miss: You can switch through the matches with Ctrl+Enter. That works with the script , too. But that does not refresh the statusline.
If there were a quick solution: fine. If not, don't bother. I don't need that path very much.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Fixed. ;)

Icfu
This account is for sale
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

icfu wrote:Fixed. ;)

Icfu
Danke :lol:

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

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

Post by *SanskritFritz »

Wow, that is an advanced script, taking advantage of brand new AHK features!
I switched to Linux, bye and thanks for all the fish!
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Thanks, but which feature is new? No idea right now. ;)
I have corrected a little glitch btw.

Icfu
This account is for sale
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

which feature is new?
If ... Else
.. but i just see now, only OTB is new, not the else statement ;-)
I switched to Linux, bye and thanks for all the fish!
Post Reply