Visual Studio 2012 doesn't theme multiline textbox with initial scrollbar on add-in toolwindow - by Carlos J. Quintero

Status : 

  Not Reproducible<br /><br />
		The product team could not reproduce this item with the description and steps provided.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 766960 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 10/10/2012 3:30:38 PM
Access Restriction Public


Visual Studio 2012 automatically themes scrollbars of controls on toolwindows of add-ins (and packages).

However, if a toolwindow hosts a Windows Forms usercontrol that contains a multiline System.Windows.Forms.TextBox (or System.Windows.Forms.RichTextBox) with the scrollbar set initially (TextBox.Scrollbars = Vertical), the scrollbar is not themed until you write something.
Sign in to post a comment.
Posted by Cathy [MSFT] on 12/18/2012 at 9:20 AM
Hi Carlos - Thank you for trying to reproduce the issue again. We unfortunately can't reproduce the issue on our end, so we have no choice but to resolve this bug as Not Repro.

I'd encourage you to maybe have someone else try to run your add-in project to see if the scrollbars are themed by default as you would expect.

Cathy Sullivan
Posted by Carlos J. Quintero on 12/5/2012 at 1:08 AM
Yes, I have recreated a new add-in project and the problem is reproduced. That is:

- You set VS 2012 to use the dark theme
- The add-in shows a toolwindow with a Windows Forms (not WPF) usercontrol inside it
- The usercontrol has a textbox with the properties Multiline = True, Scrollbars = Scrollbars.Vertical, and the Text properties with several lines so that the vertical scrollbar is shown
- When the add-in is loaded and the toolwindow shown, the vertical scrollbar is not themed (see the UnthemedScrollbar.jpg to see what I mean). If you add some more line to the textbox, the scrollbar is themed.
Posted by Cathy [MSFT] on 12/3/2012 at 8:33 AM
Hi Carlos,

Can you try recreating your addin project and see if you can reproduce your issue in the new project?

Posted by Carlos J. Quintero on 12/1/2012 at 1:20 PM

I have downloaded the attached .zip file and I still can reproduce the problem, as shown in the UnthemedScrollbar.jpg image that I attached.

I am using:

Microsoft Visual Studio Ultimate 2012
Version 11.0.50727.1 RTMREL
Microsoft .NET Framework
Version 4.5.50709

Installed Version: Ultimate
Posted by Cathy [MSFT] on 11/30/2012 at 8:47 AM
Thanks for reporting this issue and using Visual Studio! We're unable to reproduce your issue with the attached project. Your scrollbar should be themed by default without having to do anything special.

Are you still experiencing an issue with your scrollbars being unthemed?

Cathy Sullivan
Posted by Macy [MSFT] on 10/10/2012 at 3:52 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(