-you can drag&drop text or url into the editbox
-settings allow to open url in background
-the bar width is fixed
-30 entries max in the dropdown list
-selected searchengine name appears (faded) in the editbox when it is empty and doesn't have the focus
Edited 4 time(s). Last edit at 10/07/2008 06:34PM by teK.
It's great, thanks for shared this SearchBar kplugin!
Some notes:
In Settings... dialog first column must be radio buttons instead checkboxes because with checkboxes it's possible uncheck all options.
I had a K-Meleon crash when tried search pressing search button in SearchBar when SearchBar is empty or i pasted some text in it.
I had a K-Meleon crash when exit with this SearchBar plugin:
XPCOM:EventReceiver:k-meleon.exe - Application error
Instruction in "0x7ce7847f" refferer to memory address "0x01d085c0". Memory can't be "read".
I have tested with a few K-Meleon versions (1.1.x, 1.5.x and 1.6b2):
- settings and engine choice not possible with 1.1.x
- no crash for me when searching with an empty search string or when pasting text ( with 1.1.x, 1.5.x and 1.6b2), but I think the search button ought to be inoperant when empty string (the same with key enter).
- no crash when exiting with 1.1.x, 1.5.x and 1.6b2
A+
Mozilla/5.0 (x11; U; Linux x86_64; en-US; rv:1.9.1.17pre) Gecko/20101211 Ubuntu/12.04 (precise) K-Meleon/1.6.0
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:1.9.2.14pre) Gecko/20101219 Ubuntu/12.04 (precise) K-Meleon/1.7.0
Web: K-Meleon Extension Setup (French) and (English)
Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr
Edited 2 time(s). Last edit at 09/21/2008 07:22PM by JujuLand.
Thanks for your replies... I made some corrections
- change all checkbox into radiobuttons, in dialogbox settings
- should not crash anymore when opening/closing new window
- works on KM 1.1.x
But some problems left when opening links into new window, it's hard to manage, I think I will remove those settings.
Thank you very much for the searchbar! It works great with K-Meleon 1.5 (no crashes, but I've tested it only with tabs, I don't use windows at all).
K-Meleon has now a searchbar it really deserves. Mayby this plugin should be icluded in some next K-Meleon release?
I'm testing with 1.5 and the new version (r005) is better, thanks.
Now not crash with searchbox empty.
I detected a problem in paste actions with right click contextmenu:
1) Selected and copy some text.
2) Right click over searchbox and select Paste.
3) Text pasted in searchbox is showed loki selected searchengine name (faded).
4) Click in Search button, this load the searchengine home instead text pasted query. If you press enter key instead click in Search button this load text pasted query.
it now works with 1.1.x (engines and settings are now avalaible), but I have two new problems.
With my extension Roboform, K-Meleon opens roboform XUL in a layer to initialize roboform toolbar, close the layer (to fix the crash problem), and opens homepage.
If I load SearchBarExt, the extension works, but homepage is no more loaded, I must do it manually.
It seems you do something in OnActivateWindow event which block the extension.
It doesn't make problem with 1.5.x, due to the fact that I'm not able to launch automatically the homepage with tabs, and so, for 1.5, I don't use OnActivateWindow event.
2) It brokes the overture (I close maximized (with open like when closed), and now always opens not maximized.
A+
Mozilla/5.0 (x11; U; Linux x86_64; en-US; rv:1.9.1.17pre) Gecko/20101211 Ubuntu/12.04 (precise) K-Meleon/1.6.0
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:1.9.2.14pre) Gecko/20101219 Ubuntu/12.04 (precise) K-Meleon/1.7.0
Web: K-Meleon Extension Setup (French) and (English)
Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr
Edited 1 time(s). Last edit at 09/22/2008 05:06PM by JujuLand.
r006 :
* remove settings to open in new window (all KM)
* remove settings to open in new layer (KM < 1.5)
* select/highlight text when editbox get focus
* text from paste action is no more grey
So I removed all that is related to new windows, until I find a way to manage them.
Hao,
I will release the source later
To change the search engines, just do as usual.
using version 006 with 1.1.x, it works ok, no more problems.
I have found that the value of searchbarext.open was 11.
I change it to 2, and now it uses a new layer, so it will be easy, with a macro and a menu entry, to simulate the menu settings.
Have you the value to open in a new window, and also in background for layers and windows.
A+
Mozilla/5.0 (x11; U; Linux x86_64; en-US; rv:1.9.1.17pre) Gecko/20101211 Ubuntu/12.04 (precise) K-Meleon/1.6.0
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:1.9.2.14pre) Gecko/20101219 Ubuntu/12.04 (precise) K-Meleon/1.7.0
Web: K-Meleon Extension Setup (French) and (English)
Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr
I had so much problem managing windows/layers/tabs that I remove all settings, so you can now only launch a search in current window/layer/tab. Thus it works the same way on KM-1.1.x, KM-1.5 and KM-CCF.
Version is now 0.1.0.
Sources are available (no licence, do what you want with them).
desga2,
this version may solve your problem.
jujuland,
I let the r006 binary available, searchbarext.open can be 2 for new layer, 3 for bg layer or any other value for current layer, but it didn't work correctly in v1.1.6.
Ver0.2.1-test-1 available:
- no more limitation on the maximum number of entries in the dropdown list
- partial unicode support (does not work for drag&drop)
Ver0.2.1-test-2:
- unicode support for drag&drop
- fix selection when editbox get focus and some text is selected
desga2,
same question =), does it solve your problem ?
Hao,
does unicode works well ?
Edited 1 time(s). Last edit at 10/18/2008 10:35PM by teK.
Quote teK
Ver0.2.1-test-1 available:
- no more limitation on the maximum number of entries in the dropdown list
- partial unicode support (does not work for drag&drop)
Ver0.2.1-test-2:
- unicode support for drag&drop
- fix selection when editbox get focus and some text is selected
desga2,
same question =), does it solve your problem ?
Hao,
does unicode works well ?
Unicode still not working well. Search result from Google gives weird result:
Thanks Hao, yes you are right. Searchbar's search engine poupup menu is showed when you open a bookmark from ^^ bookmark popup menu button (the most left) in bookmarks bar.