Skip to content

Update gnome-ponytail-daemon + some fixes#66

Merged
jstodola merged 3 commits intomainfrom
gpd-update
Aug 7, 2025
Merged

Update gnome-ponytail-daemon + some fixes#66
jstodola merged 3 commits intomainfrom
gpd-update

Conversation

@jikortus
Copy link
Contributor

@jikortus jikortus commented Aug 7, 2025

  • Update g-p-d and ponytail to current version in RHEL-10.1
  • Workaround: add a dummy click as a first action before clicking on an actual button - for some reason it may happen that the first button click doesn't do anything and doing a dummy click first outside of any active area works this issue around quite well.
  • Fix/Workaround: the current version of at-spi present in current RHEL-10.1 composes has changed the button ATK node name from push button to button. It would be easy to replace all occurrences, but we need to retain backward compatibility (mainly for RHEL-9), so I'm introducing a check for this node name change that will eventually translate all of the relevant function calls using push button.

Changes tested on both RHEL-9.7 and RHEL-10.1.

The ideal solution would be to identify the node types by values from Atspi.Role instead of strings (e. g. BUTTON or PUSH_BUTTON, instead of the strings). However, it doesn't seem the benefits would outweigh the effort needed to implement such changes.

Another option could be to use a newer version of dogtail and provide a specific configuration file for dogtail, but again, from what I've learned, I'm under an impression that this is rather a temporary workaround in dogtail and it's not guaranteed to work also in the future.

to content from gnome-ponytail-daemon-0.0.11-5.el10
On the contemporary RHEL-10 composes, it sometimes happens that
the first click on a button (on welcome screen) doesn't do anything,
and the subsequent actions naturally fail. Adding a dummy click
before performing an actual button click works around this problem.
@jikortus jikortus requested a review from jstodola August 7, 2025 13:40
@jikortus jikortus self-assigned this Aug 7, 2025
A new version of at-spi2 renamed the button ATK node type from
'push button' to 'button', thus we need to take this into account
and translate the calls to make the existing code work.

The ideal solution would be to use node types from Atspi.Role enum
instead of the string identifiers, but refactoring the code doesn't
look to be worth the effort.
Copy link
Collaborator

@jstodola jstodola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me, thanks for the fixes!

@jstodola jstodola merged commit 38ca278 into main Aug 7, 2025
3 checks passed
@jstodola jstodola deleted the gpd-update branch August 7, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants