Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: [1] 2  Send TopicPrint
Locked Topic SOLVED in 1905.29.4: Serial Monitor broken in VS2019 after Windows 1903 Update (Read 8477 times)
qrtio
Junior Member
**
Offline


Posts: 12
Joined: Mar 24th, 2019
SOLVED in 1905.29.4: Serial Monitor broken in VS2019 after Windows 1903 Update
May 27th, 2019 at 6: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

« Last Edit: Jun 1st, 2019 at 3:21pm by Tim@Visual Micro »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Serial Monitor broken
Reply #1 - May 27th, 2019 at 12: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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Serial Monitor broken
Reply #2 - May 27th, 2019 at 1: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
« Last Edit: May 27th, 2019 at 1:52pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
qrtio
Junior Member
**
Offline


Posts: 12
Joined: Mar 24th, 2019
Re: Serial Monitor broken
Reply #3 - May 27th, 2019 at 2: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?
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Serial Monitor broken
Reply #4 - May 27th, 2019 at 2: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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Serial Monitor broken
Reply #5 - May 27th, 2019 at 3: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
Joined: Mar 24th, 2019
Re: Serial Monitor broken
Reply #6 - May 27th, 2019 at 4:02pm
 
The version you gave me shows the same behavior.

Attached is the exact VS version.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Serial Monitor broken
Reply #7 - May 27th, 2019 at 4: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.
« Last Edit: May 27th, 2019 at 4:56pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Adrian Lorenz
Newbies
*
Offline


Posts: 2
Joined: May 28th, 2019
Re: Serial Monitor broken
Reply #8 - May 28th, 2019 at 7: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
« Last Edit: May 28th, 2019 at 7:04am by Adrian Lorenz »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Serial Monitor broken
Reply #9 - May 28th, 2019 at 7: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
Joined: Mar 24th, 2019
Re: Serial Monitor broken
Reply #10 - May 28th, 2019 at 8: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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Serial Monitor broken
Reply #11 - May 28th, 2019 at 9: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
Joined: Mar 24th, 2019
Re: Serial Monitor broken
Reply #12 - May 28th, 2019 at 11:49am
 
Version 1905.26 did not bring any change.
  
Back to top
 
IP Logged
 
Adrian Lorenz
Newbies
*
Offline


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


  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Serial Monitor broken
Reply #14 - May 28th, 2019 at 2: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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Serial Monitor broken
Reply #15 - May 28th, 2019 at 2: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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Serial Monitor broken
Reply #16 - May 28th, 2019 at 4: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...

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Serial Monitor broken
Reply #17 - May 28th, 2019 at 6: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
Joined: Mar 24th, 2019
Re: Serial Monitor broken
Reply #18 - May 31st, 2019 at 1: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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Serial Monitor broken
Reply #19 - May 31st, 2019 at 1: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
« Last Edit: Jun 1st, 2019 at 3:20pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint