Opened 12 years ago

Closed 10 years ago

#3557 closed defect (fixed)

Tree (List) view of Activities should be searchable when the Tree view has focus

Reported by: greenfeld Owned by:
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Sugar Version: 0.95.x
Severity: Minor Keywords:
Cc: Distribution/OS: OLPC
Bug Status: Unconfirmed


The Tree (List) view of Activities should be searchable for activities using the keyboard when the Tree view has focus, like the Spiral view is.

The Tree view is willing to take keyboard focus; the Spiral view does not. There is a Search dialog up top in both cases we could give focus to solve this.

The Tree view does listen for some keys it is interested in such as Up/Down/Page Down/Page Up, so we should not enable the Search dialog if they are used.

Seen in OLPC 12.1.0 os8.

Change History (3)

comment:1 Changed 12 years ago by greenfeld

  • Component changed from untriaged to sugar
  • Severity changed from Unspecified to Minor

comment:2 Changed 12 years ago by humitos

I was taking a look at this but it's not so easy.

First of all I think that the TreeView should not be able to get the focus[1] and we should call HomeToolbar.__entry_activated_cb if the key is not neither "Up" nor "Down"[2] but I didn't find how to get access to that function.

[1] using self.set_can_focus(False) in ActivitiesTreeView

[2] line 339 of

comment:3 Changed 10 years ago by godiard

  • Resolution set to fixed
  • Status changed from new to closed

Working on 0.102

Note: See TracTickets for help on using tickets.