Bug 264299 - "Find-as-you-type" not available with WebKit mode
Summary: "Find-as-you-type" not available with WebKit mode
Status: RESOLVED WORKSFORME
Alias: None
Product: kwebkitpart
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 23:40 UTC by jammer
Modified: 2012-02-04 21:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.