I love project providers! I recently downloaded and installed the Open Diagram First from the example code page here:
https://forums.ni.com/t5/Example-Code/Open-Diagram-First-Project-Provider/ta-p/3530287
It works as expected, what a click saver! One small change I wanted to make is that after opening and showing the block diagram, I wanted to minimize the front panel. So, I made the following very minor edit by adding the function to set the front panel state = minimized:
Original

My change:

After restarting LV, it worked as expected with one quirk. The front panel is indeed minimized, but its Window thumbnail preview is blank, including the taskbar, or Winkey+Tab, but only on the second and subsequent VIs opened using this method. As you can see in the taskbar snapshot, the first VI's front panel's thumbnail is painted correctly but the second one is not.

I'm though it had something to do with Windows not having time to grab a snapshot for thumbnail preview purposes, so I added a bit of code to show the FP first using Front Panel:Open, wait a few hundred ms, then set the FP.State = minimize. Still the same behavior.
I am using LV 2023
Thanks in advance for any tips.