[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XForms] repeat timeout in browsers

From: Michal Szymanski
Subject: [XForms] repeat timeout in browsers
Date: Sun, 20 Jun 2010 06:58:42 +0200
User-agent: Mutt/


For some time I have been experiencing problems when using browsers: 
quite often (like 50-70%) the click on the scrollbar resulted in 
two-page advance instead of one, making this way of scrolling quite 

Looking into the code of "slider.c" I found the "repeat_ms" parameter of 
any slider which seems to control how often to repeat the page-scroll 
when the left mouse button is hold. It is set by default to 100 
(milliseconds). Increasing that to 150 or 200 fixed my problems. Still, 
other people may be happy with 100ms (which makes continuous scrolling 
faster), so I do not think the hardwiring the change into the code would 
be appropriate.

I wonder whether it would be doable/desirable to make this parameter's 
default value user-adjustable. There is a (non-documented) function 
'fl_set_slider_repeat' which sets the parameter but only for a single 
slider object. Furthermore, the slider being a part of a browser is not 
accessible (or at least, I do not know how to access it).

regards, Michal

  Michal Szymanski (msz at astrouw dot edu dot pl)
  Warsaw University Observatory, Warszawa, POLAND

reply via email to

[Prev in Thread] Current Thread [Next in Thread]