The "imagemap Y coordinates mangled" bug for khtml was fixed but it won't be included until 3.4.1. I applied the patch to 3.4.0_rc1 and it works good now when you scroll on a page and click an imagemap. http://bugs.kde.org/show_bug.cgi?id=59701#c25 CVS commit by carewolf: Backport of fix for #59701 CCBUG: 59701 M +5 -0 html_formimpl.cpp 1.421.2.1 --- kdelibs/khtml/html/html_formimpl.cpp #1.421:1.421.2.1 @@ -1605,4 +1605,9 @@ void HTMLInputElementImpl::defaultEventH xPos = me->clientX()-offsetX; yPos = me->clientY()-offsetY; + KHTMLView* v = getDocument()->view(); + if ( v ) { + xPos += v->contentsX(); + yPos += v->contentsY(); + } } } Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 53546 [details, diff] kdelibs-3.4.0-imagemap_Y_coordinates_mangled-fix.patch I went ahead and created a nice patch for this. I did this against the kde 3.4 final. The code that was given was not in the standard patch form, ie 3 lines before and after the modifications. This should be easier for the devs to include in the kde package if they want. I will go ahead and put this in the pertty patches if it is not included. :D
Comment on attachment 53546 [details, diff] kdelibs-3.4.0-imagemap_Y_coordinates_mangled-fix.patch I went ahead and created a nice patch for this. I did this against the kde 3.4 final. The code that was given was not in the standard patch form, ie 3 lines before and after the modifications. This should be easier for the devs to include in the kde package if they want. I will go ahead and put this in the pertty patches if it is not included. :D
I just committed the for kdelibs-3.4.0.
...*patch for* kdelibs-3.4.0.