[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Bug#20871: scroll wheel binding IFRAME?
From:       Tobias Anton <TA () ESC-Electronics ! de>
Date:       2001-02-28 20:42:19
[Download RAW message or body]

On Saturday 24 February 2001 19:14, peter@basquette.homeip.net wrote:
> Package: konqueror
> Version: KDE 2.1.0 Beta 2
> Severity: wishlist
> Installed from:    Mandrake RPMs
> Compiler:          Not Specified
> OS:                Linux
> OS/Compiler notes: fully patched Mdk 7.2
>
> When there is an IFRAME in a page, and
> the mouse is over it, if one uses a mouse
> wheel to scroll, the first movement of
> the wheel selects the IFRAME, and the
> later events are given to the IFRAME, rather
> than enclosing page.
>
> so, scrolling with the arrow keys works, but when the mouse happens to be
> over a b anner ad,  mouse wheel scrolling
> scrolls the ad, instead of the page.
I'd call this a feature: although IFRAMEs are often used for banner ads, you 
can put complete scrollable pages into the IFRAME.
We deliberately have set the focus policy of the IFRAME, exactly of the 
KHTMLView to WheelFocus, which makes it grab focus when the wheel is turned 
over it.
It's a bit hard to decide what to do here - imagine one uses the iframe to 
display a large page floated in some frame-like decorations. He'd report the 
bug that IFRAMEs are not scrollable!?

Maybe we should propagate the event to the parent if there's no scrolling 
possible in the IFRAME?

How does IE behave?

Tobias

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic