Bug 57144

Summary: html form submits wrong image coordinates
Product: [Applications] konqueror Reporter: George Veskov <jkxx>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: FreeBSD Ports   
OS: FreeBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description George Veskov 2003-04-11 23:51:12 UTC
Version:            (using KDE KDE 3.1)
Installed from:    FreeBSD Ports
Compiler:          gcc version 2.95.4 20020320 [FreeBSD] 
OS:          FreeBSD

Specifically, Konqueror 3.1.0 has problems with the <INPUT TYPE="image ... tag, although it doesn't handle it like 2.9 or earlier. Earlier versions of Konqueror would pass Var.x=0&Var.y=0, while 3.1.0 passes a positive x coordinate and a negative y coordinate, as in Var.x=100&Var.y=-100. Even if the cgi script compensates for this by multiplying a negative coordinate by -1, the resulting values are still incorrect. These coordinates aren't absolute values either, since the y coordinate is initially always negative. An example of this happening can be found at http://jkansoft.mine.nu/cgi-bin/ast.cgi (Create an account, then add a person, and finally generate a chart in the Natal section. Clicking on symbols in the chart will always bring up the wrong information. This doesn't happen with Mozilla, IE, or Netscape.
Comment 1 Daniel Naber 2003-05-12 01:02:36 UTC
It works here with my local test case an KDE 3.1 from CVS.