Accessibility object parent-child hierarchy on unity panel-service is broken

Bug #732049 reported by Alejandro Piñeiro on 2011-03-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Medium
Rodrigo Moya
unity (Ubuntu)
Undecided
Unassigned

Bug Description

This is a bug equivalent to 727908 but on the panel-service.

Using a little script that dumps the object tree and tries to print the parent name:

Application name: unity-panel-service
Application elements: 7
 -- Role: panel parent=NULL
   -- Role: label parent=NULL Name: Edit
     -- Role: invalid parent=NULL Name:
   -- Role: label parent=NULL Name: View
     -- Role: invalid parent=NULL Name:
   -- Role: label parent=NULL Name: Search
     -- Role: invalid parent=NULL Name:
   -- Role: label parent=NULL Name: Terminal
     -- Role: invalid parent=NULL Name:
   -- Role: label parent=NULL Name: Tabs
     -- Role: invalid parent=NULL Name:
   -- Role: label parent=NULL Name: Help
     -- Role: invalid parent=NULL Name:
 -- Role: panel parent=NULL
 -- Role: panel parent=NULL
   -- Role: image parent=NULL
   Wrong node
 -- Role: panel parent=NULL
   -- Role: image parent=NULL
   Wrong node
 -- Role: panel parent=NULL
   -- Role: label parent=NULL Name: e/menu
   Wrong node
 -- Role: panel parent=NULL
   -- Role: image parent=NULL
     -- Role: invalid parent=NULL Name:
 -- Role: panel parent=NULL
   -- Role: image parent=NULL Name: Session
   Wrong node

As you can see in most cases the parent is NULL.

In theory, you should be able to navigate from any child to the root object, what it is not the case.

Anyway, a consistent parent-child hierarchy is not only required to navigate to the root (as there are easier ways to do that) but just to get information from the parent, or to search for the container of the child of a specific role etc.

In order to solve that it would be required to use atk_object_set_parent or redefine ->get_parent on some of those objects.

Branch https://code.launchpad.net/~apinheiro/unity/fix-parent-child-hierarchy can be used as a example to solve that.

Related branches

Changed in unity:
status: New → Confirmed
assignee: nobody → Rodrigo Moya (rodrigo-moya)
Didier Roche (didrocks) on 2011-03-11
Changed in unity (Ubuntu):
status: New → Confirmed
Changed in unity:
status: Confirmed → In Progress
Changed in unity:
status: In Progress → Fix Committed
Didier Roche (didrocks) on 2011-03-14
Changed in unity:
milestone: none → 3.6.6
David Barth (dbarth) on 2011-03-15
Changed in unity:
importance: Undecided → Medium
Didier Roche (didrocks) on 2011-03-16
Changed in unity (Ubuntu):
status: Confirmed → Fix Committed
Didier Roche (didrocks) on 2011-03-17
Changed in unity:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :
Download full text (4.8 KiB)

This bug was fixed in the package unity - 3.6.6-0ubuntu1

---------------
unity (3.6.6-0ubuntu1) natty; urgency=low

  * New upstream release:
    - drag and drop from dash to launcher issues (LP: #727675)
    - unity-panel-service crashed in g_type_class_meta_marshal (LP: #727788)
    - Dash: first-use text entry does not work until Alt-F2 version is used
      (LP: #735342)
    - compiz crashed with SIGSEGV in g_type_check_instance_is_a()
      (LP: #734721)
    - drag from dash to launcher (LP: #662616)
    - Dash - Create single widget for Dashboard (LP: #683729)
    - [FFe] Recently installed applications should be easy to run
      (LP: #670403)
    - Pressing Alt key does not underline mnemonics (LP: #689179)
    - indicator-appmenu breaks Alt accelerator keys (LP: #663030)
    - can't pin KTouch to the launcher (LP: #693755)
    - Unity paints multiple times with multi-screen (LP: #727116)
    - unitymtgrabhandles crashes when no key is set (LP: #727144)
    - SIGSEGV in PlaceEntryHome::SetSearch (LP: #731927)
    - [launcher] New Default favorites (LP: #714707)
    - Dash: Alt-F2 Pressing enter on the dash can start the first entry of the
      second group from the history (LP: #734738)
    - Dash: keyboard arrow navigation disappears off bottom (LP: #735347)
    - Increase the size of the top left Launcher reveal area from 1px to a 3px
      by 3px square (LP: #736034)
    - [dash] scrollbar's clickable zone should extend to the right border of
      the dash border (LP: #651398)
    - Launcher - Replace Dash lens Launcher icons with updated versions
      (LP: #676613)
    - NuxUtilAccessible requires to implement support to key event listeners
      (LP: #702672)
    - launcher icons dnd doesn't behave correctly when the dash is in use
      (LP: #708885)
    - Keyboard-navigation: highlight stays after losing focus (LP: #713632)
    - Implement AtkComponent for ATK objects in the panel service
      (LP: #715297)
    - Super shortcuts for application place and worskspace swither conflicts
      with compiz keys (LP: #723273)
    - Use DeeIndex instead of strcmp in PlaceEntryHome (LP: #724886)
    - [dash] text cursor not vertically centred in the entry (LP: #724927)
    - Moving cursor in dash text entry field causes cursor artifacts
      (LP: #725493)
    - Missing "children_changed" event emission from the atk support
      (LP: #727137)
    - Typing should immediately search; focusing the search field is fiddly
      (LP: #727295)
    - "Find Internet Apps", "Browse the Web", and "Check Mail" are scattered
      in default Dash (LP: #729009)
    - Press-holding on a icon in the Launcher should de-couple the icon and
      enable the user to reorder the icon vertically without leaving the
      Launcher. (LP: #727922)
    - "Shortcuts" heading in Dash seems pointless (LP: #729000)
    - intellihide is incompatible with totem fullscreen / Still some false
      positive on ws switch (LP: #730679)
    - Launcher - provide visual design for launcher keyboard navigation
      (LP: #702490)
    - Dash - Update the 'Shortcuts' dash home icon (LP: #689763)
    - The Unity panel service Does not connect to the
      INDICATOR_OBJECT...

Read more...

Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers