Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440692 - www-client/dwb-2012.10.28 - adding search engine function fails
Summary: www-client/dwb-2012.10.28 - adding search engine function fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tim Harder
URL: https://bbs.archlinux.org/viewtopic.p...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-11-01 04:51 UTC by Boney McCracker
Modified: 2012-11-01 06:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix 'add search engine' bug. (dwb-2012.10.28-fix-add-search-engine.patch,472 bytes, patch)
2012-11-01 04:54 UTC, Boney McCracker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boney McCracker 2012-11-01 04:51:56 UTC
After adding a search engine, using it searches for "undefined" every time.






Reproducible: Always

Steps to Reproduce:
1. navigate to a search engine page (e.g., 'https://www.google.com')
2. tab into the search box, per dwb documentation
3. press 'gs' to add the search engine to the local list
4. type a keyword to be used to invoke it
5. press 'o' followed by the keyword followed by something to search for
(this is all the standard procedure, per dwb documentation)


Actual Results:  
Google searches for "undefined".  The search string clearly shows 'q=undefined'.



Expected Results:  
Google should have searched for <something to search for>

I found reference to this at the URL above.  The author is aware of the bug but isn't sure when a fix will be released.  The author provided a patch, which I have attached with paths modified to work with the typical 'epatch' line in a modified ebuild:

epatch "${FILESDIR}"/${P}-fix-add-search-engine.patch
Comment 1 Boney McCracker 2012-11-01 04:54:42 UTC
Created attachment 327900 [details, diff]
Patch to fix 'add search engine' bug.
Comment 2 Tim Harder gentoo-dev 2012-11-01 06:12:02 UTC
Can you submit this upstream?
Comment 3 Tim Harder gentoo-dev 2012-11-01 06:12:43 UTC
Ah sorry, didn't read your whole first comment. :)
Comment 4 Tim Harder gentoo-dev 2012-11-01 06:23:30 UTC
Fixed in -r1.