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
 editor refresh problem vs2008/va1859
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Michal Puczynski
Ketchup Master

Poland
85 Posts

Posted - Nov 24 2011 :  04:06:09 AM  Show Profile  Reply with Quote
Hi,

I am having problems refreshing contents of editor after changing size of VS main widow size.

Reproduce:
1) Start VS maximixed.
2) Select a file in editor window.
3) Change size by clicking "Restore down"
4) Select another file editor
5) Maximize VS window
6) Try scrolling source code....

After these steps, the editor is not refreshing contents properly repeating lines while scrolling down beyond previously visible source code part and even sometimes drawing scrollbars within edited file...

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Nov 24 2011 :  1:27:52 PM  Show Profile  Reply with Quote
Which OS are you using, and is this a 32 or 64bit OS?

How are you selecting another file to show in the editor? Clicking on an open tab with the mouse?
Using VA's OFIW dialog?
Selecting a file in the Solution Explorer?

I have tried this here under winXP SP3, and so far I cannot reproduce this problem.

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

Michal Puczynski
Ketchup Master

Poland
85 Posts

Posted - Nov 25 2011 :  05:06:29 AM  Show Profile  Reply with Quote
Hi Feline,
It is Windows 7 Pro 64-bit. I am selecting files with mouse.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Nov 25 2011 :  10:37:20 AM  Show Profile  Reply with Quote
I still cannot reproduce this problem, now testing under Windows 7 64bit.

Do you have any tools or utilities installed that might effect how windows are drawn or resized? Any tools for working with multiple monitors? WindowBlinds?

Do you have any other IDE plugins installed?

If not, can you please export your VA and IDE settings and send them to me:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

I can then import them here and see if I can reproduce the problem. Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

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

Seb85
New Member

5 Posts

Posted - Dec 25 2011 :  10:04:59 AM  Show Profile  Reply with Quote
quote:
Originally posted by Michal Puczynski

Hi,

I am having problems refreshing contents of editor after changing size of VS main widow size.

Reproduce:
1) Start VS maximixed.
2) Select a file in editor window.
3) Change size by clicking "Restore down"
4) Select another file editor
5) Maximize VS window
6) Try scrolling source code....

After these steps, the editor is not refreshing contents properly repeating lines while scrolling down beyond previously visible source code part and even sometimes drawing scrollbars within edited file...



I have exactly the same problem as Michal. There are regions of the editor that scroll and some that don't. Besides the editor is broken even if I only scroll up and down.

System:
VS 2005
Windows 7 Home Premium x64
VAX 10.6.1862.0 build 2011.12.13 (last test version)
QT4

To solve it temporally you can manually resize the editor, but it is annoying.
Only uninstall of VAssistX solve the problem permanently. After reinstall VAssistX it is there again, without any changing of settings.

I have no other add-ins or IDE. Single display.

Did you find a solution already?

Thanks for suggestions!

Sebastian
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 25 2011 :  3:24:58 PM  Show Profile  Reply with Quote
Can you guys post a screenshot of your problem? Does it help if, before the problem start happening, you use [windows button]+[up] to maximize the window instead of using the corresponding icon on the top of the window? It is a workaround for a specific problem, and I'm wondering whether you are experiencing that problem.
Go to Top of Page

Seb85
New Member

5 Posts

Posted - Dec 26 2011 :  04:46:31 AM  Show Profile  Reply with Quote

Hi accord,
thanks for your answer. Here are pictures without the workaround:
Pic 1 to 4:











With the workaround it seems better, but there are little bugs too: Pic5:








Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 27 2011 :  7:44:15 PM  Show Profile  Reply with Quote
Michal and Seb85: Can you please download and run the following (unsigned) program, and then resize or maximise it, are all of the child windows resized correctly?

http://forum.wholetomato.com/colin/forumimages/case_46555_NestingExample.zip

Seb85: Regarding the last screenshot: have you only used Windows+up to maximize after you have started VS? Maximizing with the icon can trigger the problem.
I am trying to identify the problem that you are seeing.
Go to Top of Page

Seb85
New Member

5 Posts

Posted - Dec 27 2011 :  9:47:38 PM  Show Profile  Reply with Quote
quote:
Originally posted by accord

Michal and Seb85: Can you please download and run the following (unsigned) program, and then resize or maximise it, are all of the child windows resized correctly?

http://forum.wholetomato.com/colin/forumimages/case_46555_NestingExample.zip

Seb85: Regarding the last screenshot: have you only used Windows+up to maximize after you have started VS? Maximizing with the icon can trigger the problem.
I am trying to identify the problem that you are seeing.




I do it again for a while only by using the keyboard. It seems the keyboard doesn't trigger the problem.

But if I press [Windows]+[down] twice the Window is minimized. The problem in picture 5 occurred again after maximize the Window by pressing the symbol on the task bar und continue minimize and maximize by the [Windows] + [up] and [down].

I have tested NestingExample.exe on another machine (XP Pro 32 Bit SP3), but I get an error: cannot initialize (0xc0000135)...

Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 28 2011 :  5:06:46 PM  Show Profile  Reply with Quote
What you see is probably a Windows problem that occurs sometimes for some reason, but very rarely. It is more likely to occur on Windows x64. A more technical answer is that there is a limit to the number of times the WM_SIZE message can recurse down a control hierarchy and this limit is due to the size of the windows kernel stack. VA surely adds additional complexity into resizing process.

This is the bug report for this issue:

http://connect.microsoft.com/VisualStudio/feedback/details/525237/visual-studio-ide-does-not-resize-correctly-in-vista-x64#details

We also have a ticket number for this:

case 46555

According to a Microsoft reply in the linked report "Thanks to shell architecture change in Visual Studio 2010, this issue should no longer exist for Visual Studio 2010."

Currently, we are trying to find a "workaround", some kind of fix, so it wouldn't happen for VA users.
Does it occur if you invoke the maximize command via:
alt+space, x

If not, we may be able to do something about it.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Apr 11 2012 :  12:39:48 AM  Show Profile  Reply with Quote
case=4655 is fixed in build 1903
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