MikePohatu / TsGui

Custom GUIs in ConfigMgr
GNU General Public License v3.0
47 stars 5 forks source link

Application not captured in Remote sessions. #4

Closed Josch62 closed 3 years ago

Josch62 commented 3 years ago

In Windows PE (typically ConfigMgr/MDT running ADK 2004) Controls with the property "AllowsTransparency"="True" fails being captured. The applicaton works perfectly well locally but is completely invisible in the Remote Control Window. As a test I flipped the property on the Main Window and the TsDropDownListUI.Control ComboBox, it then worked as expected. Not sure though which other, possibly negative, impact the changes could have?

MikePohatu commented 3 years ago

Thanks for the diagnostics. I actually had another support request regarding that so you saved me a bunch of time. I'm not aware of anything that would cause issues with setting that property so will try updating everything and do some testing.

Josch62 commented 3 years ago

Brilliant; a few more pieces of information... The ComboBox doesn't expose the property, you need a custom control template, and set it on this part <Popup x:Name="PART_Popup" AllowsTransparency="False"..../> I also ran into some problems creating the template while on .Net 4.0 - a switch to 4.6.2 solved that issue.

MikePohatu commented 3 years ago

Cool thanks. I try to hold the .Net version back so it will work for people updating their OS from an older version. Will be interesting to see if I can make it go in .Net 4.0

MikePohatu commented 3 years ago

Fixes applied in the dev branch. So far working fine, but still needs a full test run and a couple of tweaks if I can figure them out

MikePohatu commented 3 years ago

Fixed now in 1.2.5.0. There were issues with the validation popups and dropdownlist which are now resolved. Has passed my tests.