Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1609: find reference - find in results bug
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

eve
Tomato Guru

Belgium
101 Posts

Posted - Sep 27 2007 :  02:37:06 AM  Show Profile  Reply with Quote
Hi again,

I am really quite enthusiastic about the new find references dialog! Especially the clone button is what I have been waiting for.

The 'Find in Results' button is nice as well, although I found a very small bug in it: when you press 'Ctrl-F' in the find references window, then the find dialog pops up. But if you type 'Ctrl-F' when it is still finding references, then nothing happens (which is rather normal).
But if you then press 'Ctrl-F' again when searching has finished, then the dialog will not pop up neither.
The work-around is to press 'Ctrl-F' in the editor window, and from then on 'Ctrl-F' will work again in the find references window.

regards,
eli

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 27 2007 :  12:06:07 PM  Show Profile  Reply with Quote
Which IDE are you using?
Is the Find References Results window pinned open, or is it autohiding?
Are you doing this in the main results window or one of the cloned windows?

So far I cannot reproduce the problem. With a pinned open window, so it stays put, CTRL-F keeps on working for me.

zen is the art of being at one with the two'ness
Go to Top of Page

eve
Tomato Guru

Belgium
101 Posts

Posted - Sep 28 2007 :  02:20:35 AM  Show Profile  Reply with Quote
My find references window is pinned. I'll give a more precise method of reproducing it, since it is very easy to work around the bug:

- start a find references that will take long enough
- while it is busy, give focus to the find references window and press ctrl-f (nothing happens: ok)
- wait until the find references has finished, but keep the focus in the find references window
- press ctrl-f again
- nothing happens

As soon as you give focus to some other window, the ctrl-f works again.

these are my specs:
VA_X.dll file version 10.4.1609.0 built 2007.09.14
Licensed to:
VA X: [email protected](25-user license) Support ends 2008.09.14
DevEnv.exe version 8.0.50727.762
msenv.dll version 8.0.50727.762
Font: Courier New 17(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
2 processors
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 28 2007 :  5:48:25 PM  Show Profile  Reply with Quote
I now have a *large* test project, and have tried this.

For me, when the Find References scan finished focus jumped from the Find References Results window back to the editor. Are you seeing the same thing? If so this would explain why the second CTRL-F did not work as expected.

zen is the art of being at one with the two'ness
Go to Top of Page

eve
Tomato Guru

Belgium
101 Posts

Posted - Oct 01 2007 :  01:46:19 AM  Show Profile  Reply with Quote
No, my focus stays in the find references window (which seems normal).
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Oct 01 2007 :  4:47:48 PM  Show Profile  Reply with Quote
Can you post, or send me a screen shot showing your IDE window layout? This might be a factor, but I don't see why.

zen is the art of being at one with the two'ness
Go to Top of Page

eve
Tomato Guru

Belgium
101 Posts

Posted - Oct 02 2007 :  01:45:21 AM  Show Profile  Reply with Quote
Here is a screenshot:


http://img208.imageshack.us/img208/1072/layoutzj8.jpg

Edited by - eve on Oct 02 2007 01:48:02 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Oct 02 2007 :  2:30:18 PM  Show Profile  Reply with Quote
I am using the same window layout as you and VS2005 with VA 1609

With Find References Results pinned open if I do Find References or Find References in File then VA moves focus into the Find References Results window while the find is running, and then back to the editor window when the find has finished running.

I am seeing the same behaviour on two different machines, so this seems to be standard behaviour, at least for me.

If you trigger the Find References command via the VAssistX IDE menu do you see the same behaviour?

zen is the art of being at one with the two'ness
Go to Top of Page

eve
Tomato Guru

Belgium
101 Posts

Posted - Oct 03 2007 :  03:10:27 AM  Show Profile  Reply with Quote
Found it!

My colleague did not have this problem, so we compared our preferences. It turns out that if the 'highlight references' is automatically enabled, then the focus switches back to the editor, if it is not enabled, then the focus does not switch back and you then reproduce the bug mentioned above.

regards,
eli
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Oct 03 2007 :  3:29:59 PM  Show Profile  Reply with Quote
Easy when you know how I am seeing the same thing here:

case=9191

I have also put in a bug report for VA moving keyboard focus out of the results list when highlighting is enabled. I can see why that happens, but it isn't completely helpful:

case=9192

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000