Calc: Converted Reference Edge from ValueSet to IconView

Why to switch from ValueSet to IconView?

No Native Accessibility support: With ValueSet widget, screen readers (like Orca) only saw a single flat image. It was not possible to provide individual accessible names and appropriate roles for the specific edge options. For JSDialogs, we need to send a bitmap of the entire widget to the client. We then have to listen for mouse coordinates on that single image and map them back to the core to “guess” which edge was clicked.

Solution:

Use IconView widget instead of ValueSet widget for Reference Edge

Reference edge with ValueSet Widget:

Advantages:

Individual Objects: Each edge option is now rendered as individual image which allowed us to provide correct accessible names and roles to each item.

Better Interaction: we now have native click and keyboard events for the specific IconView item selected.

Enhanced UI Layout: Reference Edge now uses GtkIconView with better spacing and alignment within the Format Cells dialog.

Tooltips: It is now possible to add tooltip text as GtkIconView treats each item individual. User now find out which edge (i.e., “Text Extension Inside Cell”) is being selected.

Leave a Reply