After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 676328 - Searching back and forth ...
Searching back and forth ...
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: shell
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-18 15:36 UTC by Florian Müllner
Modified: 2012-05-18 17:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
shell: Fix resetting page selection (1.30 KB, patch)
2012-05-18 16:42 UTC, Bastien Nocera
committed Details | Review

Description Florian Müllner 2012-05-18 15:36:19 UTC
(1) Search something
    => search results are shown
(2) Select the search term (using mouse, ctrl-a, ctrl-f or ctrl-s)
(3) Search something else
    => view switches back to the overview
Comment 1 Bastien Nocera 2012-05-18 16:42:05 UTC
Created attachment 214391 [details] [review]
shell: Fix resetting page selection

When the page selection happens when another page selection hasn't
started yet, we need to cancel the previous animation, or only one
of them might be effectively acted upon.

This fixes the page from being selected if the search term is changed
quickly (you'd end up at the overview page instead of staying on the
search results page).

Requires the clutter patch from:
https://bugzilla.gnome.org/show_bug.cgi?id=676334
Comment 2 Bastien Nocera 2012-05-18 16:44:26 UTC
Attachment 214391 [details] pushed as 948867b - shell: Fix resetting page selection
Comment 3 Florian Müllner 2012-05-18 17:44:43 UTC
(In reply to comment #0)
> (1) Search something
>     => search results are shown
> (2) Select the search term (using mouse, ctrl-a, ctrl-f or ctrl-s)
> (3) Search something else

      => works now \o/

(4) Try to get back to the overview (escape, ctrl-w)
    => nothing :(