Thanks a lot I opened bug report for this https://bugzilla.mozilla.org/show_bug.cgi?id=484615 -- Irakli Gozalishvili Web: http://rfobic.wordpress.com/ Address: Taksteeg 3 - 4, 1012PB Amsterdam, Netherlands
On Sat, Mar 21, 2009 at 11:51 PM, Atul Varma <[email protected]> wrote: > > Hi Irakli, > > Sorry about this, I've actually been having the same problem and just > looked into it. > > It appears as though Ubiquity has regressed in the case where an > asynchronous noun-type initially returns NO suggestions but later > returns some. So for instance, the following noun type works: > > var Suggester = { > _name : 'Suggester', > > suggest : function(text, html, makeSuggestion) { > > Utils.setTimeout(function suggestAsync() { > for each (var number in [1,2,3,4]) { > //Components.utils.reportError("making a sugg."); > makeSuggestion({ > text : number, > summary : number, > html : number > }); > } > }, 300); > return [CmdUtils.makeSugg("blah")]; > } > } > > If you remove the 'CmdUtils.makeSugg("blah")', then this noun type > will appear to stop working. > > Lemme talk to Jono or Mitcho and see if we can get this fixed soon. > > - Atul > > On Mar 21, 12:35 pm, Irakli Gozalishvili <[email protected]> wrote: > > Still have the problem with > > 0.2pre24 > > > > Can anybody tell us if there is any plan to fix this or might this > feature > > is dropped at all, or might there is some new way to push suggestions > > > > Thanks > > -- > > Irakli Gozalishvili > > Web:http://rfobic.wordpress.com/ > > Phone: +31 614 205275 > > Address: Taksteeg 3 - 4, 1012PB Amsterdam, Netherlands > > > > On Thu, Mar 19, 2009 at 3:17 PM, Johnny Baillargeaux > > <[email protected]>wrote: > > > > > i've installed the latest version 0.2pre19 today, but i still have the > same > > > problem unfortunately... > > > > > 2009/3/17 Johnny Baillargeaux <[email protected]> > > > > > I confirm, i've exactly the same problem with the latest release. My > code > > >> worked perfectly before the upgrade (0.2pre17). > > > > >> Regards, > > >> Johnny Baillargeaux > > > > >> 2009/3/17 Irakli Gozalishvili <[email protected]> > > > > >> Am I the only one having this problem ?? > > >>> -- > > >>> Irakli Gozalishvili > > >>> Web:http://rfobic.wordpress.com/ > > >>> Address: Taksteeg 3 - 4, 1012PB Amsterdam, Netherlands > > > > >>> On Mon, Mar 16, 2009 at 6:59 PM, Irakli Gozalishvili < > [email protected]>wrote: > > > > >>>> Thanks but I know this tutorial and don't think what I'm doing is > > >>>> somehow different so .. :( > > >>>> -- > > >>>> Irakli Gozalishvili > > >>>> Web:http://rfobic.wordpress.com/ > > >>>> Phone: +31 614 205275 > > >>>> Address: Taksteeg 3 - 4, 1012PB Amsterdam, Netherlands > > > > >>>> On Mon, Mar 16, 2009 at 6:58 PM, Fernando Takai < > > >>>> [email protected]> wrote: > > > > >>>>> Take a look at this tutorial: > > > > >>>>> > https://wiki.mozilla.org/Labs/Ubiquity/Ubiquity_0.1_Author_Tutorial#I... > > > > >>>>> Irakli Gozalishvili wrote: > > >>>>> > I just discovered that problem is in something different. It's > not > > >>>>> about > > >>>>> > setTimeout-s cause the same code works in 0.2pre 7 but doesn't > works > > >>>>> in > > >>>>> > 0.2pre17 so guess there is sort of regression, or might changes > in > > >>>>> the API.. > > > > >>>>> > Any help is welcome !! > > >>>>> > -- > > >>>>> > Irakli Gozalishvili > > >>>>> > Web:http://rfobic.wordpress.com/ > > >>>>> > Address: Taksteeg 3 - 4, 1012PB Amsterdam, Netherlands > > > > >>>>> > On Mon, Mar 16, 2009 at 4:16 PM, Irakli Gozalishvili < > > >>>>> [email protected] > > >>>>> > <mailto:[email protected]>> wrote: > > > > >>>>> > Hi I'm trying to make async suggestions in noun type but it > not > > >>>>> > seems to work as I expected. my noun type looks like > > > > >>>>> > var Suggester = { > > >>>>> > _name : 'Suggester', > > > > >>>>> > suggest : function(text, html, makeSuggestion) { > > > > >>>>> > Utils.setTimeout(function suggestAsync() { > > >>>>> > for each (var number in [1,2,3,4]) { > > >>>>> > displayMessage(number); > > >>>>> > makeSuggestion({ > > >>>>> > text : number > > >>>>> > summary : number, > > >>>>> > html : number > > >>>>> > }); > > >>>>> > } > > >>>>> > }, 300); > > >>>>> > return []; > > >>>>> > } > > >>>>> > } > > > > >>>>> > I was expecting to see the suggestion but unfortunately I > don't. > > >>>>> I > > >>>>> > only see the numbers through AlertService (displayMessage), > any > > >>>>> > ideas what am I doing wrong? Or its not even supposed to > work > > >>>>> ?? > > > > >>>>> > Thanks > > >>>>> > -- > > >>>>> > Irakli Gozalishvili > > >>>>> > Web:http://rfobic.wordpress.com/ > > >>>>> > Address: Taksteeg 3 - 4, 1012PB Amsterdam, Netherlands > > > > >>>>> -- > > >>>>> Fernando "Takai" > > >>>>>http://flickr.com/photos/supeertakai > > >>>>>http://fernandotakai.jaiku.com > > > > >>>>> Get Ubiquity:https://ubiquity.mozilla.com > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
