Ticket #3205 (closed defect: fixed)

Opened 19 months ago

Last modified 13 months ago

Search entry not associated with activities list view and Journal

Reported by: godiard Owned by: godiard
Priority: Unspecified by Maintainer Milestone: 0.96
Component: sugar Version: Git as of bugdate
Severity: Unspecified Keywords: olpc-test-passed
Cc: erikos Distribution/OS: Unspecified
Bug Status: New

Description

If the user type something in the activities list view with focus in the the treeview a little entry appear at bottom/right, instead of sending the keys to the search control. The same happen in the Journal and in the ObjectChooser.

We can disable the search box, with set_enable_search(False) or probably better, use set_serch_entry

Change History

Changed 19 months ago by godiard

  • cc erikos added

I have tried using set_search_entry, but does not work as expected. I have sent a very simple patch to sugar-devel.

I think we can do self.set_can_focus(False) in the activity list too, to prevent the listview steal focus from the query entry, because right now, we can't do nothing with the keybord in the listview (scrolling?), but I am no so sure about this.

Changed 19 months ago by erikos

  • status_field changed from Unconfirmed to New
  • version changed from Unspecified to Git as of bugdate
  • milestone changed from Unspecified by Release Team to 0.96

Patch has been submitted for review and has been approved.

 http://lists.sugarlabs.org/archive/sugar-devel/2011-October/033882.html

Changed 14 months ago by manuq

  • status changed from new to closed
  • resolution set to fixed

Testcase: 1. focus on the tree view, 2. start typing, 3. the keys should be sent to the search box, not to a new entry that appears at bottom/right.

Tested in build os5 of olpc. Works as expected, I will close this ticket now.

Changed 14 months ago by manuq

  • keywords olpc-test added

Changed 14 months ago by manuq

  • keywords olpc-test-pending added; olpc-test removed

Changed 13 months ago by greenfeld

  • keywords olpc-test-passed added; olpc-test-pending removed

We no longer get the odd search dialog in OLPC 12.1.0 os8; but we do not shift focus when alphanumeric keys are used to the search dialog in the top corner either.

Filed #3557 to suggesting the offering the search dialog focus when certain keys are pressed (the Tree view intercepts some for scrolling purposes).

Note: See TracTickets for help on using tickets.