Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,557
    • Issues 1,557
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 219
    • Merge requests 219
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gtkgtk
  • Issues
  • #4944
Closed
Open
Issue created May 24, 2022 by Sebastian Keller@skellerDeveloper

ATSPI: GtkStackPage has no parent

When trying to iterate up through the parents of an Accessible, I noticed that in gtk4 applications this iteration stops too soon due to one get_parent() call returning NULL unexpectedly. So far I've noticed this only in GtkStackPages.

Here is a small python script to show the issue with gtk4-widget-factory when focusing different widgets: iterate_parents.py

When focusing the combo box in the first page (or any other widget on that page), the output is:

begin
'GtkEntry' is a 'text'
'' is a 'panel'
'GtkComboBoxText' is a 'combo box'
'' is a 'panel'
'' is a 'panel'
'' is a 'panel'
'Page _1' is a 'panel'
end

However when focusing one of the stack switcher buttons or the menu button I get:

begin
'Page _1' is a 'page tab'
'GtkStackSwitcher' is a 'page tab list'
'' is a 'panel'
'' is a 'panel'
'' is a 'panel'
'GTK Widget Factory' is a 'frame'
'gtk4-widget-factory' is a 'application'
'main' is a 'desktop frame'
end
Assignee
Assign to
Time tracking