[imp] Horizontal/Vertical layout focus
Michael M Slusarz
slusarz at horde.org
Wed Sep 17 02:13:44 UTC 2014
Quoting John H. Bennett III <bennettj at thebennetthome.com>:
> Hello again,
>
> Another gripe I keep getting is the inability of the webmail client
> to maintain focus while in the preview window. People don't want to
> have to either double-click a message, or when in the preview
> window, click on the scroll bar to scroll through a message, they
> would rather be able to click on the layout view, and once in that
> view, be able to use the mouse or keyboard keys to scroll through
> their message. Why? Yeah, because that's what outlook can do.
>
> I'm up for any words or reasons I can tell my users as to why this
> isn't possible with horde.
Because browser UI elements != OS UI elements.
We make use of IFRAMEs (for HTML messages) to segregate potentially
dangerous external data (message content) from the rest of the page.
IFRAMEs are handled differently by each browser. An IFRAME, by
default, has no connection/contact to the parent page. So if you do
something in the IFRAME, this has NO EFFECT on the rest of the page.
Essentially, you can think of the message preview as a completely
separate application than IMP. We *try* to capture clicks/keypresses
inside of the IFRAME, but this is not always possible (e.g. browser
issues; for security reasons we may not be able to precisely simulate
that click in the parent page).
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the imp
mailing list