Interesting hotkeys problem in Find dialog

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Interesting hotkeys problem in Find dialog

Post by *Valentino »

I have the following in LNG file:

Code: Select all

My English
5633="same &name"
but the bug is reproduced even with default English language settings.
(by the way, can you please add this hotkey by default?)

Steps to reproduce:
1. Launch TC.
2. Alt+F7
3. Type *.exe in "Search for" field.
4. Press Enter.
5. Press Escape to close Find dialog.
6. Alt+F7
7. Press Ctrl+PageDown to go to Advanced tab.
8. Press Alt+P to select "Find duplicate files" option.
9. Press Alt+N to select "same name" option. Surprisingly the first tab is selected! :)

If you repeat steps 5-9 again, the bug is not reproduced unless you restart TC.
User avatar
Dalai
Power Member
Power Member
Posts: 9968
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

I don't think that's a bug. If you look at the bottom of the dialog in step 6 you'll see that Alt+N is a shortcut for "New search". You'll also notice that TC clears the search results from the previous search when you use Alt+N in step 9. This can be repeated endlessly without restarting TC, so long as there's a search result.

So, I guess Alt+N can't be used for "same name" since it is already used in that dialog.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

Indeed, I didn't notice this button :)
I have "5633="same &name"" in my LNG file, so Alt+N work for me most of the time (except second search during one TC session).

I've just added "5662="New search"" and this fixed the problem.
Thanks Dalai.

This still can be considered as a minor bug because Alt+N should always work either as New Search or Same Name, even if there is a conflict. Currently its behavior is different for second search during one TC session.
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

After more consideration I think this is not bug.
Post Reply