Select to view content in your preferred language

Regression - Docked Windows in Light Theme

156
3
11-25-2024 06:36 AM
KrisCulin
Frequent Contributor

Hi All,

We just got the announcement that ArcGIS Pro 3.4 was released and when we get that type of notification, we always do some internal testing to see if there are any issues using our integrated produts.

It turns out that there is a regression with ArcGIS Pro 3.4.

We have a number of docking windows, which are all Windows Forms controls.  They are hosted in WindowsFormsHost elements since AGP uses WPF.

This worked fine in AGP 3.3.  With 3.4, if you are using *light* theme, then when you dock any of our windows, the foreground text is set to white, or near white, with a white background effectively making the text invisible.

Here is our property grid:

KrisCulin_0-1732545182591.png

Here is our scenario manager (also note the color of the text in the "Search" button in the toolbar):

KrisCulin_1-1732545210691.png

If you switch the theme in ArcGIS Pro to dark, then everything works correctly.

If someone from ESRI could please look into this immediately, it would be greatly appreciated. A patch would also be nice to have as we are about to release a new version of our software.

0 Kudos
3 Replies
KrisCulin
Frequent Contributor

We are hoping to get a response from ESRI.  This is working in AGP 3.3 and has regressed in 3.4.

We have investigated but are not sure how the forecolor is being altered when our windows dock.

We are interested in an assist in finding a work around. 

@UmaHarano @CharlesMacleod @Wolf 

0 Kudos
CharlesMacleod
Esri Regular Contributor

I think this is what u r running into:

https://community.esri.com/t5/arcgis-pro-sdk-questions/color-transparency-problem-in-arcgis-pro-3-4-...

I'll ask the Pro team if we can get a KB posted.

0 Kudos
UmaHarano
Esri Regular Contributor

Hi @KrisCulin 

Here is more information on this issue you are seeing: 

https://community.esri.com/t5/arcgis-pro-sdk-questions/color-transparency-problem-in-arcgis-pro-3-4-...

This post from @MichaelGrossman gives info on the BUG number and some workarounds. The fix is targeted for 3.4 sp1.  

So sorry about this issue that is affecting your add-ins.

Uma

0 Kudos