samth/test-bugs — Issue #99: The docked search tool is hard to use without any keybindings
Author: racket-bug-submit
Created: 2012-03-08 02:04:21+00:00
State: open
Labels: anon-submit, drracket, gnats-migrated

###### Originally submitted by Ittai Balaban on: Fri Jun 16 19:05:00 -0400 2006

DrScheme's find (Ctrl+F) tool is annoying:

1. In undocked mode, this is a modal dialog. I think it should not be
modal.

2. When docked (which is really its only usable mode of operation),
there is no keybinding to take focus away from the search box. I'd
like to have similar behavior as in emacs:
1. ctrl+s (or however you activate i-search)
2. Type in your search string
3. If a match is found, type some keybinding (e.g., ctrl+s) to search
again, or -
4. type another keybinding to move focus to the window being
searched.

Item 2 can be implemented by adding keyboard shortcuts to each of the
dock's buttons (Find, Replace, etc.), and adding a separate shortcut to
switch to the main window (e.g., the mysterious undocumented ctrl-x o).

As for Item 1, maybe the undocked mode can be done away with completely.
This would be following the lead of search in Firefox.

##### Steps to Reproduce:

In DrScheme, press ctrl+F, then click "Dock".
Now type a search term. Other than doing stuff with the mouse, it is
impossible to shift focus away from the search box.

##### Release:

349.100

##### Environment:

unix "Linux ittai 2.6.15-23-k7 #1 SMP PREEMPT Tue May 23 14:20:54 UTC 2006 i686 GNU/Linux" (i386-linux) (get-display-depth) = 24
Docs Installed:
(("/usr/local/plt-349.100/doc" "r5rs" "mzscheme" "mred" "help" "tour" "drscheme" "srfi" "mzlib" "misclib" "mrlib" "framework" "foreign" "mzc" "tools" "insidemz" "web-server" "swindle" "plot" "release-notes" "t-y-scheme" "tex2page" "beginning" "beginning-abbr" "intermediate" "intermediate-lambda" "advanced" "teachpack" "teachpack-htdc" "profj-beginner" "profj-intermediate" "profj-advanced"))
Collections:
(("/home/ittai/.plt-scheme/349.100/collects" "G22.2110" "info-domain") ("/usr/local/plt-349.100/collects" "r5rs" "browser" "errortrace" "htdp" "htdch" "version" "slideshow" "mztake" "setup" "ffi" "defaults" "make" "slatex" "openssl" "embedded-gui" "mred" "syntax-color" "dynext" "net" "framework" "games" "web-server" "profjWizard" "help" "mzlib" "swindle" "graphics" "compiler" "mzscheme" "eopl" "xml" "lang" "string-constants" "frtime" "tex2page" "slibinit" "teachpack" "hierlist" "trace" "syntax" "html" "mrlib" "icons" "profj" "afm" "launcher" "test-suite" "drscheme" "algol60" "info-domain" "parser-tools" "srfi" "sgl" "planet" "plot" "config" "profjBoxes" "preprocessor" "texpict" "stepper"))
Human Language: english
Teachpack filenames: ()
Computer Language: (("Teaching Languages" "G22.2110" "G22.2110 Class") #6(#t current-print mixed-fraction-e #t #t test-coverage))

###### This bug was converted from Gnats bug [8123](http://bugs.racket-lang.org/query/?cmd=view&pr=8123).

[anon-submit ittaibalaban AT gmail.com]