Bug 30780

Summary: clicking on an image on www.azzuma.com gives an error
Product: [Applications] konqueror Reporter: Filip Vancoillie <filip.vancoillie>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Filip Vancoillie 2001-08-16 20:39:36 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           khtml
Version:           KDE 2.2.0 
Severity:          normal
Installed from:    SuSE RPMs
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: suse 7.1

This is a very clear bug.  And I think it must be quite easy to solve.

Go to (for instance) http://www.azzuma.com/HTML/antinea.html and click on an image.  You get an error saying "sorry but you can't view the source of this page".  After this you get a very strange behaviour of the mouse.  (just move around with the mouse if the behaviour does not appear directly).

Contact me for more info.

(Submitted via bugs.kde.org)
Comment 1 Filip Vancoillie 2001-08-16 20:49:59 UTC
Depending on which image you click after clicking the ok-button of the 
error-window the "weird behaviour" is different. 

In every case clicking the image in the middle at the top gives another 
result as the right one at the top.

Greetings
Filip
Comment 2 David Faure 2001-08-27 22:59:07 UTC
On Jeudi 16 Août 2001 22:39 filip.vancoillie@student.kuleuven.ac.be wrote:
> Package: khtml
> Version: KDE 2.2.0 
> Severity: normal
> Installed from:    SuSE RPMs
> Compiler:          Not Specified
> OS:                Linux
> OS/Compiler notes: suse 7.1
> 
> This is a very clear bug.  And I think it must be quite easy to solve.
> 
> Go to (for instance) http://www.azzuma.com/HTML/antinea.html and click on an image.  You get an error saying "sorry but you can't view the source of this page".

Ok the bug is that window.event isn't implemented yet so the info about which mouse
button was pressed is missing.

The code for Window::get("event") is commented out and it says:
// return getDOMEvent(static_cast<DOM::Event>(m_part->view()->lastDOMMouseEvent()));  
But this method doesn't exist... Too bad it seems everything's in place (the class etc.)
but not the "remember the last event". Peter I think this is another one for you :}
Or any hint for me to implement this the right way ?

-- 
David FAURE david@mandrakesoft.com faure@kde.org
http://perso.mandrakesoft.com/~david/  http://www.konqueror.org/
KDE Making The Future of Computing Available Today
Comment 3 David Faure 2001-08-28 01:29:44 UTC
On Mardi 28 Août 2001 00:59 David Faure wrote:
> On Jeudi 16 Août 2001 22:39 filip.vancoillie@student.kuleuven.ac.be wrote:
> > Package: khtml
> > Version: KDE 2.2.0 
> > Severity: normal
> > Installed from:    SuSE RPMs
> > Compiler:          Not Specified
> > OS:                Linux
> > OS/Compiler notes: suse 7.1
> > 
> > This is a very clear bug.  And I think it must be quite easy to solve.
Quite an assumption :-)

> > Go to (for instance) http://www.azzuma.com/HTML/antinea.html and click on an image.  You get an error saying "sorry but you can't view the source of this page".
> 
> Ok the bug is that window.event isn't implemented yet so the info about which mouse
> button was pressed is missing.
> 
> The code for Window::get("event") is commented out and it says:
> // return getDOMEvent(static_cast<DOM::Event>(m_part->view()->lastDOMMouseEvent()));  
> But this method doesn't exist... Too bad it seems everything's in place (the class etc.)
> but not the "remember the last event". Peter I think this is another one for you :}
> Or any hint for me to implement this the right way ?

Ok we (tobias and I) found the right way ;)
Now window.event is supported.

And the value of event.button is fixed (values given by IE != values in the DOM model).
Thanks for the report.

-- 
David FAURE david@mandrakesoft.com faure@kde.org
http://perso.mandrakesoft.com/~david/  http://www.konqueror.org/
KDE Making The Future of Computing Available Today