03-07-2018 05:21 PM
Anybody else running LabVIEW 2017 on Windows 10 see a missing pixel along the left, bottom, and right edges of LabVIEW windows when maximized, both in built executables AND in the development environment? By missing, I mean you can see the background image/color of the Windows Desktop.
TL;DR- If anybody knows how to set the color of this pixel (or the width to zero), you're the big winner 😉
I noticed this in one of my applications that runs maximized, and it turns out all of the EXEs from my team have this feature (as opposed to Outlook, Excel, Chrome, etc). After some time spent digging in the EXE ini file, build spec settings, VI window appearance settings, and VI property nodes, I couldn't find anything obvious.
Then I maximized my main VI in the IDE, same thing. Then I maximized a new blank VI, same thing.
Looks fine using Alt-PrintScreen (1px border, mid-grey). Looks fine un-maximized (1px border, mid-grey), see attached with MSPaint fill bucket set to red x2. Doesn't matter if the background is set to a picture or solid color, or if the desktop settings > Colors > Accent Color is picked or set to "Automatically pick... from my background". Duplicated the behavior on a Windows 10 box with no LabVIEW IDE (via a LabVIEW executable). Same behavior on 3 external monitors, 1 external HDMI monitor, or just my laptop monitor in both IDE and EXE. Any help is appreciated.
Solved! Go to Solution.
03-08-2018 04:12 AM - edited 03-08-2018 04:15 AM
Now that you mentioned it...
On my Windows 10) it isn't a single color. The 1 pixel is simply not drawn, and everything behind it shows through. It even updates, as windows behind it update...
Note that modal panels don't have this border. Although hardly worth the name (it would be terrible), it could be a workaround in some cases.
03-08-2018 09:07 AM
What have you done?? I haven't noticed this in the years of using LabVIEW on Win 10, but now I'll never be able to unsee it... Thanks for nothing
It definitely looks like a bug in LabVIEW, since no other applications that I can see have this 1-pixel gap. I have no idea how to get rid of it without some really weird LabVIEW wizardry which in my head feels like way more work than it's worth.
---
David Ladolcetta - Certified LabVIEW Architect
DSP Tools Engineer - Cirrus Logic
03-08-2018 09:51 AM
Here's a hack to " fix" it. Actually, just a potential starting point towards a solution.
Putting the attached VI (Rescale Fullscreen Window.vi) in any diagram will do it automagically.
There are a few known issues:
+ It will only work during run time (the VI needs to run).
+ It will resize even if there's no Windows 10 bug.
+ Even on Windows 10, it might not always be 1 pixel (probably a setting somewhere).
+ When the maximized title bar is dragged, normally the window resized back to the old size. It doesn't do that anymore...
+ It's completely untested, undocumented, and unfounded.
03-09-2018 09:10 AM
@David_L, I know, right?!? Welcome to team "can't un-see it"
@weibe@CARYA, Satisfying hack for the days when I want to claw my eyes out over this! Maybe I can add in an OS call to check if it's Windows 10, and store off the previous size from the Panel resize for the un-minimize action.
Sounds like a CAR for NI.
03-09-2018 10:30 AM
It's a (cosmetic) bug I never have noticed so far. Part of it may be that I pretty much hate to run maximized applications. Luckily I use a fairly dark background so it won't bother me, even if I now will be unable to not see it
03-09-2018 06:16 PM
Just confirmed it with a colleague who had Windows 10 and LabVIEW 2017 on their computer. A dark background does make it tougher to see, but it's definitely there. Nice catch! Filed a CAR under number 690324.
Have a great weekend, y'all!
03-12-2018 04:07 AM
@ybalam wrote:
Just confirmed it with a colleague who had Windows 10 and LabVIEW 2017 on their computer. A dark background does make it tougher to see, but it's definitely there. Nice catch! Filed a CAR under number 690324.
Have a great weekend, y'all!
BTW. LabVIEW 2013 has the same behavior.
09-09-2019 02:13 PM
Did anything ever come of this? A google search of the CAR turned up nothing but this thread...
09-10-2019 02:14 AM
@iannicholson wrote:
Did anything ever come of this? A google search of the CAR turned up nothing but this thread...
It probably isn't high priority (or even low priority).