Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Searching for references is blocking user input.

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Predelnik Posted - Nov 20 2013 : 09:27:51 AM
During such kinds of refactoring as "rename" or "change signature" while program searches for references input is blocked which gives a slight discomfort and user have to wait for typing what he wants to do, while I believe there's obviously no harm in letting him input what he wants and apply it when searching is finished.

I guess on most of the projects this is not a problem at all since searching takes literally no time, but in really huge projects it matters.
4   L A T E S T    R E P L I E S    (Newest First)
Predelnik Posted - Nov 21 2013 : 02:27:02 AM
Thank you, this actually helps but not very much, I have 8 logical cores (4 - physical and 4 - hyperthread), if I put MaxConcurrency to 7 actually it doesn't change that behaviour that much, if I put it to 1-3 it surely helps but searching becomes slower.
sean Posted - Nov 20 2013 : 1:51:14 PM
Thanks for the animation. The UI thread is probably being choked off by the search threads. You might consider trying a reduced MaxConcurrency as described here:
http://docs.wholetomato.com?W134
Try setting it to the number of your system logical cores - 1.
Predelnik Posted - Nov 20 2013 : 1:33:20 PM
Sadly it doesn't look like it's happening on every project, maybe really large codebase needed. Not sure that I can produce it with some trivial example.
And actually it doesn't look like blocking of input, more like it's just a huge lag of it, since it's not becoming gray.
Anyway I've made a gif (blurred out code because of NDA and stuff :D ), I'm pressing Alt+Shift+R and starting to press keys 1 and 2 as fast as I could:
http://i.imgur.com/AcOhnX1.gif
sean Posted - Nov 20 2013 : 10:14:49 AM
I am able to type in the edit field while the dialog searches for references. Are you not able to type while the search is active? The checkboxes are disabled while the search is active, but not the edit field.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000