Satyr, I'm not sure how to impliment the code from http://gist.github.com/43341
, I tried subscribing to the script in Ubiquity but it didn't seem to
have any affect.
I did add 'this.__textBox.selectionEnd += 0; ' to the ubiquity.js
onKeydown functions and it completely fixes my delay problem.
__onKeydown: function __onKeyDown(event) {
if (event.keyCode == this.__KEYCODE_UP) {
event.preventDefault();
this.__cmdManager.moveIndicationUp(this.__makeContext(),
this.__previewBlock);
this.__textBox.selectionEnd += 0; // fixes the weird delay somehow
} else if (event.keyCode == this.__KEYCODE_DOWN) {
event.preventDefault();
this.__cmdManager.moveIndicationDown(this.__makeContext(),
this.__previewBlock);
this.__textBox.selectionEnd += 0; // fixes the weird delay somehow
On Jan 14, 3:32 pm, satyr <[email protected]> wrote:
> I've also been experiencing this since 0.1.2, using Vista.
>
> Oddly enough, I found that pressing left or right key after up/down
> solves the delay, and abusing it in the keys plugin (http://
> gist.github.com/43341).
>
> function indicationUp(){ with(U){ // U is the gUbiquity
> __cmdManager.moveIndicationUp(__makeContext(), __previewBlock);
> __textBox.selectionEnd += 0; // fixes the weird delay somehow
> }}
>
> This actually works.
>
> On Jan 15, 3:01 am, tleish <[email protected]> wrote:
>
> > Oh right, sorry. I just assumed everyone else had the same speed
> > issues.
>
> > Firefox 3.0.5
> > Ubiquity: 0.1.5 (but his has been a problem for months)
> > OS: Windows Vista 32bit
> > CPU: Intel Duo Core 2.4Ghz
> > Ram: 3.0 GB
>
> > Other Firefox Plugins: Even after disabling all other plugins, I still
> > experience the same problem.
>
> > -tleish
>
> > On Jan 13, 6:08 pm, Aza <[email protected]> wrote:
>
> > > Hey tleish,
>
> > > Can you give us a bit more info on your browser config? What version of
> > > Firefox? What version of Ubiquity? What other Extensions do you have
> > > installed?
>
> > > -- aza | ɐzɐ --
>
> > > On Tue, Jan 13, 2009 at 4:21 PM, tleish <[email protected]> wrote:
>
> > > > I'm wondering why the response time of pressing the keyboard Up/Down
> > > > is so slow. For example if you have the following bookmarklets in
> > > > Ubiquity and type "ubi", pressing the up/down arrow moderately fast
> > > > (natural for me anyway) displays an obvious delay. I often overshoot
> > > > the selection.
>
> > > > /*-------------------------------------------------
> > > > BEGIN: Ubiquity Bookmarklets
> > > > --------------------------------------------------*/
>
> > > > CmdUtils.makeBookmarkletCommand({
> > > > name: "ubiquity-googlegroups",
> > > > icon: "chrome://ubiquity/skin/icons/favicon.ico",
> > > > url:"http://groups.google.com/group/ubiquity-firefox?pli=1"
> > > > });
>
> > > > CmdUtils.makeBookmarkletCommand({
> > > > name: "ubiquity-website",
> > > > icon: "chrome://ubiquity/skin/icons/favicon.ico",
> > > > url:"https://ubiquity.mozilla.com/"
> > > > });
>
> > > > CmdUtils.makeBookmarkletCommand({
> > > > name: "ubiquity-editor",
> > > > icon: "chrome://ubiquity/skin/icons/favicon.ico",
> > > > url:"chrome://ubiquity/content/editor.html"
> > > > });
>
> > > > CmdUtils.makeBookmarkletCommand({
> > > > name: "ubiquity-blog",
> > > > icon: "http://www.azarask.in/favicon.ico",
> > > > url:"http://www.azarask.in/blog/"
> > > > });
>
> > > > CmdUtils.makeBookmarkletCommand({
> > > > name: "ubiquity-wiki",
> > > > icon: "https://wiki.mozilla.org/favicon.ico",
> > > > url:"https://wiki.mozilla.org/Labs/Ubiquity"
> > > > });
>
> > > > /*-------------------------------------------------
> > > > END: Ubiquity Bookmarklets
> > > > --------------------------------------------------*/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---