Bug 264299

Summary: "Find-as-you-type" not available with WebKit mode
Product: [Frameworks and Libraries] kwebkitpart Reporter: jammer
Component: generalAssignee: webkit-devel
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: adawit
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description jammer 2011-01-25 23:40:33 UTC
Version:           4.4.4 (using KDE 4.4.4) 
OS:                Linux

Using KHTML mode I can invoke "find-text-as-you-type" using the "/" key.
Using WebKit mode the only comparable functionality is the "Find" searchbar. I can set a shortcut key to invoke "Find" when pressing "/" however I then cannot dismiss the searchbar without a mouse click.

Reproducible: Always

Steps to Reproduce:
Set "View Mode" to KHTML. 
Type "/"
Starting -- "find text as you type"
Search begins as expected.



Actual Results:  

Set View Mode to WebKit
Type "/"
Nothing happens.
Configure a shortcut to map "/" to "Find".
Type "/"
Searchbar appears with similar functionality however I cannot dismiss this searchbar without mouse interaction.


Expected Results:  
Searchbar is not a suitable functional replacement for the "find as you type" functionality provided with KHTML.
Comment 1 Dawit Alemayehu 2012-02-04 21:24:35 UTC
(In reply to comment #0)
> Version:           4.4.4 (using KDE 4.4.4) 
> OS:                Linux
> 
> Using KHTML mode I can invoke "find-text-as-you-type" using the "/" key.
> Using WebKit mode the only comparable functionality is the "Find" searchbar. I
> can set a shortcut key to invoke "Find" when pressing "/" however I then cannot
> dismiss the searchbar without a mouse click.

Just like in KHTML, you can press the ESC key and the search bar is dismissed.

> Reproducible: Always
> 
> Steps to Reproduce:
> Set "View Mode" to KHTML. 
> Type "/"
> Starting -- "find text as you type"
> Search begins as expected.
> 
> 
> 
> Actual Results:  
> 
> Set View Mode to WebKit
> Type "/"
> Nothing happens.
> Configure a shortcut to map "/" to "Find".
> Type "/"
> Searchbar appears with similar functionality however I cannot dismiss this
> searchbar without mouse interaction.

Press the ESC key just like in KHTML works fine. You can add the "/" as a shortcut yourself, but it does not make any sense to have that by default since it might cause a conflict on content editable pages. However, one can set whatever additional shortcut is desired through the shortcut configuration dialog as you have already done here.