So we've recently had our dev machines replaced with 4k laptops and windows 10. I've got visual studio set up, the DPI scaling has worked for the most part to make things usable. The only problem is errors / dialog boxes.
I can't find a way to make them scale up to something readable. Instead I'm getting unintelligable errors written for ants.
Has anyone had any experience of this issue on high DPI screens? And if so did you find a way to fix the problem?
As an example of what I'm talking about, content is scaled, but the options to the left are not. If I get an error popup (exceptions, build failed etc) then everything is in that tiny text, making it unreadable.
Related
My MFC app written with VS2019 displays correctly at 1920x1080, but when I deploy it to a 1920x1080 laptop it shows up at about 1/4 size. I have toggled DPI Awareness, but without effect. When I deploy it on a laptop that already has VS2019 on it, it displays correctly.
Problem solved. I had been using a font that didn't exist on the target machines. It is 20 points high, and the default font is 8 points high. MFC sizes the dialog to fit the font size. All I had to do was copy and install the font file. Thanks for your thoughts and suggestions. For what it is worth, in the past I have always used a 3rd party deployment tool that packaged in the fonts, and now I have learned that the Visual Studio supplied tool doesn't do that.
I'm using visual studio C# and have a weired problem, i closed the IDE and open it in again the next day and now the design view the icons and text become oversized like the screenshot below but when i run the the App the icon/text has normal size
Even when i open an old project i got an oversized button/text.
I was able to overcome this problem two times by installing an update of the software when it's available. but now the same problem happened but unfortunately there is no software update available.
Thanks,
I had a 4k screen connected to my computer along with my 2 1080p main screens.
i uplugged the 4k screen calbe and i restarted visual studio and it seems working. the text/button .. are back to normal.
it's weired because the 4K screen is disabled inside my windows OS.
I've got a VB.Net Windows Form application containing several controls (labels, groupboxes, comboboxes, etc.) This application is deployed to several PCs running Windows 10. There are also Win10 tablets connecting to these PCs via Remote Desktop. The issue is that the text on the form sometimes gets resized and overlaps onto other controls when viewed on the tablet. In other words, the text becomes too big.
I thought this was only happening when using Remote Desktop but today I saw it happen on a PC too. This is the first time this has happened. One difference is that the PC was re-imaged in the field instead of being brought back to the office first. The monitors used between the two locations are different, and I'm suspecting this has something to do with it. I know there are DPI and resolution factors to consider but don't fully understand how to rectify them in this case, or if they're even applicable.
Here's how it looks as designed and running on my dev PC:
And here's how it looks when running on the production PC (sorry for the grainy image):
Of note is that some text doesn't appear to get oversized, for example the "Currently: 6 ft/min". All fonts are Microsoft Sans Serif.
Suggestions?
The answer provided here worked for me by changing the compatibility settings for the executable. Another method is provided here but I haven't had a chance to test it yet.
I have installed Xamarin under Visual Studio 2015 Community Edition, including the intel HAXM hardware acceleration, but I have a problem with the emulator:
None of the default Xamarin avd's seem to have been installed
When I create one myself and run it, it doesn't look right.
The attached image should make it clear. As you can see the top bar takes up about 1/5th of the screen height, and the bottom bar about 1/4.
Does anyone know what is wrong?
I'm also confused by the buttons on the right hand side. Are they supposed to be there?
VS can use AVDs but it's better to use emulators for Android for VS. It is using Hyper-V virtual PCs.You need to download and run Visual Studio Emulator for Android, then download VMs
Because the screen display size is too small. You should use an AVD Device Template to get a normal size:
When you launch it, make sure that the display doesn't get scaled. You can scale this, but you might accidentally make it too small
The buttons on the right are due to the Skin you have selected.
Based on your screenshot, it looks like you potentially are using the old version of emulators. Make sure to update your Android SDK tools and then re-create an emulator to benefit from the 2.0 emulators:
https://developer.android.com/studio/run/emulator.html#dependencies
After a reboot things seem to be working which weren't before, so I guess something hadn't finished installing. I still find that when I use a skin I don't see any message about hardware acceleration HAXM working, but I think it probably is. With regards to speed, it improved dramatically when I selected the option to 'Use host GPU'.
The HVGA skin still looks wrong, but I downloaded some ones for the Samsung Galaxy which work well.
This issue is driving me crazy. I'm on a corporately controlled network but have local administrator rights. This issue is happening with all versions of Visual Studio installer where you initiate the install, then you see the initial splash screen and then that vanishes and it looks like nothing is there. But if you click and drag that area you can see the window borders during the drag. Some portions of the invisible window even respond to mouse clicks. There's even a task bar indication that is blank when you hover over it. I can't even update the current 2013 installation to SP5 because even that window behaves the same way.
However, it just totally hangs the install and since I can't see the install options I don't know if there's a failure or it's just waiting on me to do something.
I've seen several posts about this outside of here but all of them lead to a dead-end.
I have installed Studio on this machine before - actually all versions since 2005 and never have seen this issue until it started about 2 months ago. I did updates galore and all that. Updated my video drivers, blah, blah, blah. I've even tried remoting into this this box and seeing if that would alter the display enough to see what is going on...all to no avail.
The box is beefy (i5, 16GB, 500GB SSD...triple display, etc...) so it more than meets the requirements.
When I try to install any version of Visual Studio, the install window briefly appears and then disappears. However, it is still there, just 100% transparent. Has anyone else seen this before?
I was able to finally find an answer to the invisible install dialog question, it is however not an adequate solution, but an answer. I have to run only one monitor then the install dialog is visible and things proceed normally.
My solution was to disable the graphics card I have on my computer and run on onboard graphics card. It seems that the issue is with the graphics, so forcing the system to use the "regular" graphics card did the trick.
I have to use /Full /Passive from the command line to install on a build server. I would prefer less flashy installer for a more robust one. I am sure its a combination of the graphics card etc. But other installers work.