Merge lp:~junrrein/synapse-project/indicator-non-instant-search into lp:~elementary-apps/synapse-project/indicator-search
Status: | Work in progress |
---|---|
Proposed branch: | lp:~junrrein/synapse-project/indicator-non-instant-search |
Merge into: | lp:~elementary-apps/synapse-project/indicator-search |
Diff against target: |
39 lines (+12/-4) 1 file modified
src/indicator/menu.vala (+12/-4) |
To merge this branch: | bzr merge lp:~junrrein/synapse-project/indicator-non-instant-search |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
elementary Apps team | Pending | ||
Review via email: mp+182796@code.launchpad.net |
Commit message
Use Granite.
Description of the change
Use Granite.
This is how the indicator behaves in trunk -> http://
Every time I press a letter key, the indicator starts searching, regardless of additional input. This makes it function slowly, and look wonky.
Also, notice that after clearing the entry, there are still search results being displayed.
This is how the indicator behaves in this branch -> http://
Granite's SearchBar triggers searching only when some time has passed since the last user input (300 milliseconds, in this case).
The indicator performs faster this way, and the results view is correctly cleared when the entry is empty.
Unmerged revisions
- 527. By Julián Unrrein
-
Replace spaces with tabs.
- 526. By Julián Unrrein
-
Use Granite.
Widgets. SeachBar instead of Gtk.Entry.
This makes the indicator search after a certain time has passed since user input.
The branch is set to "work in progress" for now, I hope we can get a different solution than delaying the search going to make the indicator more stable. If not, we'll merge this branch instead.