Keyboard navigation: no public API to know the current Laucher Icon selected when key nav is activated

Bug #722660 reported by Alejandro Piñeiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Undecided
Alejandro Piñeiro
unity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When you press Alt+F1 it is stated the key nav mode on the Launcher

Internally it maintains a variable called _current_icon_index, that modifies when the user press the up and down keys.

My idea was an API like this:

   LauncherIcon* GetSelectedMenuIcon

That would return NULL if the Launcher is not on key nav mode, and the specific launcher icon pointed by that index otherwise.

I was willing to start to create that, but I found this method on Launcher.h:

    LauncherIcon* GetActiveMenuIcon() {return m_ActiveMenuIcon;}

m_ActiveMenuIcon is never updated on the code, and as it doesn't have documentation at all, I don't know the real purpose of this method.

So:
   * Should I just add that new method?
   * Should I use that method in order to return the information I want?

About why I need it:
  * From the a11y POV the easiest way to give support to this key support is use AtkSelection
  * As the launcher accessible object is implemented in other object, it would require to ask Launcher about the item selected
  * In the same way, each LauncherIcon should update properly his state, specifically ATK_STATE_SELECTED. So it should require a way to ask the Launcher if he is selected or not.

Tags: a11y

Related branches

Revision history for this message
Alejandro Piñeiro (apinheiro) wrote :

After a brief chat with Jay, we concluded that it would be better to add a new method, GetSelectedMenuIcon, as it is not clear the meaning of the current GetActiveMenuIcon

I will assign the bug to myself, as it seems easy enough to be done by myself as part of the accessibility support.

Changed in unity:
assignee: nobody → Alejandro Piñeiro (apinheiro)
Alex Launi (alexlauni)
Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Triaged
Changed in unity:
status: Confirmed → Triaged
Changed in unity:
status: Triaged → In Progress
Changed in unity (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Alejandro Piñeiro (apinheiro) wrote :

Branch merged, closing bug

Changed in unity:
status: In Progress → Fix Committed
Changed in unity:
milestone: none → 3.6
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * New upstream release.
    - Menu bar becomes blank periodically (LP: #683065)
    - Unity does not update when screen resolution changes (LP: #684539)
    - [dash] Keyboard navigation not implemented as specified (LP: #608132)
    - Dash - build the Desktop Dash (LP: #683719)
    - Quicklists not working (LP: #719780)
    - Launcher auto hide animation has a life of it's own / Unity launcher
      constantly sliding in and out without user interaction (LP: #717364)
    - compiz crashed with SIGSEGV in PrivateWindow::getModalTransient()
      (LP: #726235)
    - Don't show launcher number overlays on tap of super (LP: #726630)
    - Optimize texture memory usage for unexposed view icons (LP: #609994)
    - Unity should handle video-out keycodes that correspond to Super + P +
      Enter (LP: #632632)
    - dash - wrong count of remaining items to see (LP: #662605)
    - dash - x search box button visibility (LP: #662614)
    - Touch window management gesture previews (LP: #683688)
    - unity not working on rotated displays (LP: #694596)
    - unity main top bar in displays in wrong area (multi-head issue)
      (LP: #707209)
    - unity place group visual improvements (LP: #714528)
    - Implement ref_state_set for toplevel ATK objects in the panel service
      (LP: #715299)
    - Alt + F1 doesn't show the launcher if hidden (LP: #717125)
    - Keyboard navigation: Choosing a window from launcher doesn't change
      input focus. (LP: #721811)
    - Quicklists not closing when losing focus (LP: #724739)
    - wrong animation in the launcher (LP: #724956)
    - Window management - windows go below launcher and panel (LP: #725463)
    - Media and PrintScreen keys don't work (LP: #621887)
    - super-shortcuts should be "serializable" (LP: #638936)
    - Chromium icon in Unity is distorted / some scaled distored in the unity
      place applications (LP: #670169)
    - launcher stays on screen when it shouldn't | false show/hide positives
      on the launcher (LP: #711176)
    - Keyboard navigation: no public API to know the current Laucher Icon
      selected when key nav is activated (LP: #722660)
    - Require to implement AtkSelection on the Launcher (LP: #723804)
    - LauncherIcon accessibility support requires to expose the selection
      state (LP: #723806)
    - Add keyboard shortcuts for launching separate instances of applications
      (LP: #724865)
  * debian/control:
    - dep on latest nux
 -- Didier Roche <email address hidden> Tue, 01 Mar 2011 14:27:16 +0100

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.