Automation - No elements in collapsed Groups

Ribbon for WPF Forum

Posted 6 months ago by Martin Obrusnik
Version: 24.1.2
Platform: .NET 6.0
Environment: Windows 11 (64-bit)
Avatar

Hi,
We migrated to .NET 6/.NET 8 from .NET Framework and are experiencing issues with Collapsed Groups in the ribbon.

The problem is that there are no child elements in the collapsed group element of the TabItem (it is collapsed if it has too many items), which should be returned by automation peer.
In the .NET Framework version, these elements are present.

Short sample of XAML:

<ribbon:Ribbon>
<ribbon:Ribbon.ContextualTabGroups>
	<ribbon:ContextualTabGroup x:Name="UIrResultGrp" Label="´TabGroup 1" IsActive="True">
		<ribbon:Tab x:Name="UIrResult" Label="Tab One" KeyTipAccessText="L">
			<ribbon:Group Label="Collapsed Group">
				...Many Buttons...
			</ribbon:Group>
		</ribbon:Tab>
	</ribbon:ContextualTabGroup>
</ribbon:Ribbon.ContextualTabGroups>
</ribbon:Ribbon>

A good tool to demonstrate this problem is FlaUInspect.

I am aware that there were some automation issues during the transition to .NET 6. Could this be another such issue, or is there something else we should consider?
I can provide screenshots or test projects if needed.

Best regards,
Martin.

Comments (3)

Posted 6 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Martin,

Thank you for reporting this.  This does appear to be another area that needed adjustments to compensate .NET 8 updates to UIA peers by Microsoft.  We are adjusting some things for the next maintenance release to help with this.


Actipro Software Support

Posted 6 months ago by Martin Obrusnik
Avatar

Hi,
Thank you for your response, that's good to hear.
Could you please let me know when we can expect the new release?

Thanks,
Martin.

Answer - Posted 6 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

The next maintenance release should be within the next several weeks.


Actipro Software Support

The latest build of this product (v24.1.4) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.