Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Pages: 1 2 
Send Topic Print
SOLVED in 1905.29.4: Serial Monitor broken in VS2019 after Windows 1903 Update (Read 1997 times)
qrtio
Junior Member
**
Offline



Posts: 12
SOLVED in 1905.29.4: Serial Monitor broken in VS2019 after Windows 1903 Update
May 27th, 2019 at 7:41am
 
The Serial Monitor shows but it stays empty with no buttons, sometimes the text behind the window looks through. I can only resize, drag or close it.

Upload to board works fine.
External terminal program like putty receives serial data from arduino.

Windows 1903
Microsoft Visual Studio Community 2019 - Version 16.1.1
Arduino 1.8.9
Visualmicro 1905.5.24.0

Back to top
« Last Edit: Jun 1st, 2019 at 4:21pm by Visual Micro »  

ser.png (7 KB | 6 )
ser.png
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Serial Monitor broken
Reply #1 - May 27th, 2019 at 1:17pm
 
Thanks for the report. Th monitor is probably showing the data but the textbox is not being displayed. You can see the "footer" bar at the top of the window which is wrong.

This is an issue related to screen resize because of high dpi. I guess you are using a larger dpi than normal what is it?

Back to top
 
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Serial Monitor broken
Reply #2 - May 27th, 2019 at 2:50pm
 
Please try this version and also make sure you undock your serial monitor window(s). Looking again at your screen shot it looks like that somehow there are two serial monitors open on the same power docked into the same frame.

https://1drv.ms/u/s!AsT00oFsGAmRncEPNouKetMMMdzvew
Back to top
« Last Edit: May 27th, 2019 at 2:52pm by Visual Micro »  
WWW  
IP Logged
 
qrtio
Junior Member
**
Offline



Posts: 12
Re: Serial Monitor broken
Reply #3 - May 27th, 2019 at 3:33pm
 
thanks for your quick reply.

My DPI setting is 175% on the PC with 4k screen and 200% on a laptop. Both show the same problem. Here is an other screenshot, sometimes half of the window is white or black, the other half transparent.

For your download link I have to enter _my_ Microsoft credentials?
Back to top
 

ser2.png (18 KB | 6 )
ser2.png
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Serial Monitor broken
Reply #4 - May 27th, 2019 at 3:43pm
 
Oh I see that is an issue with the new themes I think. Please state which exact version of vs you are using from help about.

I didn't realize that one drive need the credentials. It's a public share. Does this link require credentials?
https://1drv.ms/u/s!AsT00oFsGAmRncEPNouKetMMMdzvew
Back to top
 
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Serial Monitor broken
Reply #5 - May 27th, 2019 at 4:04pm
 
Another thought, the update might actually resolve the issue. It contains a fix for a missing color for the outbound serial data textbox which might be interfering with the 4k side of things.
Back to top
 
WWW  
IP Logged
 
qrtio
Junior Member
**
Offline



Posts: 12
Re: Serial Monitor broken
Reply #6 - May 27th, 2019 at 5:02pm
 
The version you gave me shows the same behavior.

Attached is the exact VS version.
Back to top
 

ser3.png (5 KB | 7 )
ser3.png
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Serial Monitor broken
Reply #7 - May 27th, 2019 at 5:20pm
 
Thanks, can you confirm if the Micro Explorer has same issue? I have tested same vs version with different dpi and can not replicate.

EDIT: This release sets theme colors at a slightly later time and hopefully avoids wasting time
https://1drv.ms/u/s!AsT00oFsGAmRncM2cKpJLaaN_lXrxg

If the Micro explorer is the same, I know this sounds like a waste of time because you have same on multiple machines but can you please try to run a vs2019 repair. It seems like vs doesn't want to load the win form user controls.

Can you also give a htlp>about diag report with your installed extensions?

Thanks for the help.
Back to top
« Last Edit: May 27th, 2019 at 5:56pm by Visual Micro »  
WWW  
IP Logged
 
Adrian Lorenz
Newbies
*
Offline



Posts: 2
Re: Serial Monitor broken
Reply #8 - May 28th, 2019 at 8:02am
 
I have the same problem since yesterday, my serial monitor remains empty.

After the update to Windows 1903

the version from the dropbox, does not work, I now see the serial window. it remains empty
Back to top
« Last Edit: May 28th, 2019 at 8:04am by Adrian Lorenz »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Serial Monitor broken
Reply #9 - May 28th, 2019 at 8:34am
 
Thanks for the info. I need the question answered "does the visual micro platform explorer have the same problem or work okay"?

Thanks
Back to top
 
WWW  
IP Logged
 
qrtio
Junior Member
**
Offline



Posts: 12
Re: Serial Monitor broken
Reply #10 - May 28th, 2019 at 9:12am
 
The 'Visual Micro Explorer' (same as visual micro platform explorer?) works well.

A new installation of VS did not resolve the problem.

Setting the system screen scaling to 100% did not resolve it too.


But I found a crude solution.

In short, despite the lack of a compatibility setting tab for the VS desktop icon, I managed to start VS in 100% scale mode, the UI is blurry now, but serial monitor shows up complete and it works correct.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Serial Monitor broken
Reply #11 - May 28th, 2019 at 10:53am
 
That's useful thanks

Please try this release 1905.26

https://1drv.ms/u/s!AsT00oFsGAmRncM8l2IoKbN2YJJSqQ
Back to top
 
WWW  
IP Logged
 
qrtio
Junior Member
**
Offline



Posts: 12
Re: Serial Monitor broken
Reply #12 - May 28th, 2019 at 12:49pm
 
Version 1905.26 did not bring any change.
Back to top
 
 
IP Logged
 
Adrian Lorenz
Newbies
*
Offline



Posts: 2
Re: Serial Monitor broken
Reply #13 - May 28th, 2019 at 3:06pm
 
this version does not bring any improvement, only now the Explorer does not work anymore


Back to top
 

screen_004.PNG (111 KB | 9 )
screen_004.PNG
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Serial Monitor broken
Reply #14 - May 28th, 2019 at 3:20pm
 
Thanks, we will resolve over the next few days. The version can be uninstalled using Extensions>Extension Manager and older versions of the extension are in the release section of this forum.

Thanks for all the effort
Back to top
 
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Serial Monitor broken
Reply #15 - May 28th, 2019 at 3:20pm
 
Thanks, we will resolve over the next few days. The version can be uninstalled using Extensions>Extension Manager and older versions of the extension are in the release section of this forum.

Thanks for all the effort
Back to top
 
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Serial Monitor broken
Reply #16 - May 28th, 2019 at 5:11pm
 
Can you please uninstall visual micro and install a version of visual micro from early April just to prove this is not build related. I found a similar post on the microsoft site which says the issue was fixed but it;s possible we have a variation. Based on your test results I think we can find a solution more quickly.

Thanks

https://developercommunity.visualstudio.com/content/problem/523457/the-data-sour
ces-tool-window-content-is-not-render.html

Back to top
 
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Serial Monitor broken
Reply #17 - May 28th, 2019 at 7:13pm
 
Hi all,

We have fully tested with high res and do not have the issue. So it seems entirely related to the 1903 windows update which is being rolled out slowly. We do not have access to it yet!

Microsoft are responsible for drawing the tool windows so please use "Help>Send Feedback>Report and issue" to notify microsoft of the problem.

I have also reported the issue but because you have the issue it would really help if you could do this.

Thanks very much

ps: we will soon convert from win forms tool windows to WPF which I doubt suffers the same issue. Microsoft have been trying to get the dpi auto scale right for standard windows forms controls and I suspect they have something tidy up work to do. Either that or we will be moving to wpf sooner than expected but the develop holds back more useful things.
Back to top
 
WWW  
IP Logged
 
qrtio
Junior Member
**
Offline



Posts: 12
Re: Serial Monitor broken
Reply #18 - May 31st, 2019 at 2:06pm
 
Some minutes ago I managed by chance to make the serial monitor showing up correct, even with scaled display

- if you start visual micro explorer and afterwords serial monitor all is shown correct

- if you start serial monitor first and then visual micro explorer both stay broken

So it must not necessarily be a 1903 related problem
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Serial Monitor broken
Reply #19 - May 31st, 2019 at 2:12pm
 
Showing the window before setting it up resolves the issue. Obviously no reason why windows 1903 should cause different behavior in all vs2019 versions but it is fixed now.

Requires Visual Micro 1905.29.4 or above
Back to top
« Last Edit: Jun 1st, 2019 at 4:20pm by Visual Micro »  
WWW  
IP Logged
 
Pages: 1 2 
Send Topic Print