From: Ere M. <ere...@he...> - 2012-09-24 10:46:53
|
There's an additional issue with the autocomplete in that if the autocomplete JSON request takes a long time, a previous request may override later response e.g. if the user pauses briefly when entering the search query. In our custom version, commit https://github.com/KDK-Alli/NDL-VuFind/commit/b6de0d6127c46b34f9673952edf814d6258aa7c9 contains changes to abort the previous call before doing a new one. I haven't had a chance to create a proper patch for the trunk. --Ere 20.9.2012 23.54, Nathan Tallman kirjoitti: > Thanks everyone for the feedback! We'll probably leave it on for now, > the auto-suggest is too useful! > > Nathan > > On Thu, Sep 20, 2012 at 9:59 AM, Demian Katz <dem...@vi... > <mailto:dem...@vi...>> wrote: > > I have also noticed this behavior, and I agree that it is annoying. > It appears to be a standard characteristic of the jQueryUI > autocomplete library that we use. I was able to make the same thing > happen on the jQueryUI demo page here:____ > > __ __ > > http://jqueryui.com/demos/autocomplete/____ > > __ __ > > Perhaps there is a way to configure the behavior, though I didn’t > see an obvious answer from browsing the documentation.____ > > __ __ > > If you want to follow up on this with the jQueryUI community, it > looks like there are several ways to reach them – maybe somebody > there knows an easy answer:____ > > __ __ > > http://jqueryui.com/support____ > > __ __ > > I suspect that the reasoning for this behavior is that you can > change the focused autocomplete item either by mousing over it or > using the arrow keys. When you hit enter, the software doesn’t know > if the highlighting is due to mouse positioning or arrow keying, so > it just assumes the focus is intentional and selects the item. > Personally, I think I would be happier to completely disable the > keyboard shortcuts in order to avoid this annoying side effect… > another option would be to disable mouse-based focusing (i.e. > mousing over an item doesn’t highlight it – you have to click to get > results; only keyboard actions move the highlighted item). That > would be more functional but might seem cosmetically wrong. And in > any case, I think either of these solutions would require > modifications to the underlying library (unless there are > configuration options I’m not aware of).____ > > __ __ > > - Demian____ > > __ __ > > *From:*Oliver Goldschmidt [mailto:o.g...@tu... > <mailto:o.g...@tu...>] > *Sent:* Thursday, September 20, 2012 9:51 AM > *To:* vuf...@li... > <mailto:vuf...@li...> > *Subject:* Re: [VuFind-Tech] Auto-selecting on Auto-suggest____ > > __ __ > > Hi Nathan, > > yes, we experienced similar problems, that made the auto-suggest a > pretty annoying feature. I never heard complaints from any of the > users, but I have seen this behaviour (although I personally also > did not have problems with that). Currently, we have turned off auto > suggestion completely. Actually this was only something I missed > when updating our production system of Vufind, but I have not turned > it on again. And although about that I haven't got any complaints > yet (so I'll leave it switched off for now). > > Best > Oliver > > Am 20.09.2012 15:37, schrieb Nathan Tallman: ____ > > Some of our users are experiencing an odd behavior on the VuFind > interface. It happens when they are typing a search query and their > cursor is somewhere close below the searchbox. As they type, > auto-suggest populates some terms, and here's what happens: If their > mouse happens to be hovering over a term, it selects the term, such > that when they when they finish typing their query and hit enter, > the auto-suggest term is filled in the searchbox, not the query they > just typed. ____ > > __ __ > > Personally, I've never experienced this problem, but I was able to > replicate it. I usually just tell them to keep the cursor away from > the searchbox, which is sensible since the searchbox > is automatically active. But, since I've heard this a few times > know, I thought I'd ask the list if they've had similar problem and > what they did.____ > > __ __ > > Many thanks,____ > > Nathan____ > > > > > ____ > > ------------------------------------------------------------------------------____ > > Everyone hates slow websites. So do we.____ > > Make your web apps faster with AppDynamics____ > > Download AppDynamics Lite for free today:____ > > http://ad.doubleclick.net/clk;258768047;13503038;j?____ > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html____ > > > > > ____ > > ___________________________________________________ > > Vufind-tech mailing list____ > > Vuf...@li... <mailto:Vuf...@li...>____ > > https://lists.sourceforge.net/lists/listinfo/vufind-tech____ > > > > > ____ > > -- ____ > > Oliver Goldschmidt____ > > TU Hamburg-Harburg / Universitätsbibliothek / Digitale Dienste____ > > Denickestr. 22____ > > 21071 Hamburg - Harburg____ > > Tel.+49 (0)40 / 428 78 - 32 91 <tel:%2B49%20%280%2940%20%2F%20428%2078%20-%2032%2091>____ > > eMa...@tu... <mailto:o.g...@tu...>____ > > --____ > > GPG/PGP-Schlüssel:____ > > http://www.tub.tu-harburg.de/keys/Oliver_Marahrens_pub.asc____ > > --____ > > Projekt DISCUShttp://discus.tu-harburg.de____ > > Projekt TUBdokhttp://doku.b.tu-harburg.de____ > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Vufind-tech mailing list > Vuf...@li... > <mailto:Vuf...@li...> > https://lists.sourceforge.net/lists/listinfo/vufind-tech > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > _______________________________________________ > Vufind-tech mailing list > Vuf...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-tech > -- Ere Maijala (Mr.) The National Library of Finland |