Position of some labels is incorrect on Accessibility side
Relevant information
Positions on Accessibility side for some menus are not correct. I found an instance where the combo box menu is expanding up but the Atspi has positions expanding down. Most of the other labels have positions set correctly.
-
GNOME Settings version
- gnome-control-center-46.0.1-1.el10.x86_64
- gnome-control-center-46.0.1-1.fc41.x86_64
-
Operating system (distribution)
- RHEL-10
- Fedora Rawhide
-
Screenshot
Steps to reproduce:
- Open GNOME Settings
- Go to Privacy & Security
- Go to File History & Trash
- Expand Automatic Delete Period combo box
- Run the python reproducer via Atspi, that will check positions of those labels present in the menu.
What happens:
On the screenshot you can see combo box expands up, but the positions of all of those labels in the combo box are starting bellow the combo box itself and is expanding down.
reproducer2.py The output of the python script is:
['30 days: (834, 526)',
'1 hour: (934, 565)',
'1 day: (934, 602)',
'2 days: (934, 639)',
'3 days: (934, 676)',
'4 days: (934, 713)',
'5 days: (934, 750)',
'6 days: (934, 787)',
'7 days: (934, 824)',
'14 days: (934, 861)',
'30 days: (934, 898)']
From the output you can see it expands bellow the combo box, and in my case bellow my screen as my resolution is 1024x768
What was expected:
The positions will be correct and expanding up.
Additional info:
Currently working on updating automation testing suite for RHEL-10 and most of other labels are positioned correctly on Atspi side. If you can, please check even other menus, it seems that those that do expand down are also have offset in X axis but that can be worked around.