Ladies and Gentleman,
I want to know what you think about changing the actual exhibition time (3 seconds) of message boxes (through display_message() js function).
I think that we can set a timeout based on the amount of words displayed instead of a generic time that can be faster than some users can read.
Studies [1] shows that the medium reading speed for comprehension is 3-6 words per second. Considering the reaction time, screen readability, difference
between different kind and size of displayed messages (varies with the language too), 3 seconds can't be enough in some situations.
We can improve the usability and accessibility for the users by changing display time to something more complacent.
It can be provided by a simple/light patch in app.js that I can do, but first I want your opinion.
My proposal:
every 3 words)
[1] http://en.wikipedia.org/wiki/Reading_%28process%29#Reading_rate
Victor Benincasa wrote:
My proposal:
- Exhibition time for short messages (under 5 words): 3500ms
- Time increase rate for each word (after the fifth word): 400ms (1.2sec
every 3 words)
Sounds good for me.
A.L.E.C wrote:
- Time increase rate for each word (after the fifth word): 400ms (1.2sec
every 3 words)
Ahhh. I see one problem, localization. Some languages are not using spaces, e.g. Chinese, Japanese and others. This will not work.
Really... In these cases the patch can consider the minimum timeout (1) or we can count the number of characters instead of words (maybe considering 75ms for each character) (2). I prefer the second option because the patch will work in all languages.
Something like that: *(1)* message_minimum_time = 3500; var message_time = (msg.split(' ').length > 5)? (msg.split(' ').length-5) * 400 + this.message_minimum_time : this.message_minimum_time;
*(2) * message_minimum_time = 3500; var message_time = (msg.length > 30)? (msg.length-30) * 75 + this.message_minimum_time : this.message_minimum_time;
Sounds good for you too Alec?
On Sun, Sep 13, 2009 at 4:34 AM, A.L.E.C alec@alec.pl wrote:
A.L.E.C wrote:
- Time increase rate for each word (after the fifth word): 400ms (1.2sec
every 3 words)
Ahhh. I see one problem, localization. Some languages are not using spaces, e.g. Chinese, Japanese and others. This will not work.
-- Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252 LAN Management System Developer http://lms.org.pl Roundcube Webmail Developer http://roundcube.net
List info: http://lists.roundcube.net/dev/