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

List:       kde-bugs-dist
Subject:    [Bug 154216] New: konqueror javascript onmousemove constant calls
From:       Martin "Wikström" <marrewikstro () hotmail ! com>
Date:       2007-12-17 10:16:15
Message-ID: 20071217111611.154216.marrewikstro () hotmail ! com
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=154216         
           Summary: konqueror javascript onmousemove constant calls
           Product: konqueror
           Version: unspecified
          Platform: Slackware Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: kjs
        AssignedTo: konq-bugs kde org
        ReportedBy: marrewikstro hotmail com


Version:            (using KDE KDE 3.5.7)
Installed from:    Slackware Packages
Compiler:          gcc 4.1.2 glib 1.2.10
OS:                Linux

Hoverin the cursor over an object with onmousemove="somefunction()" calls that \
function constantly, as opposed to the expected result of calling the function only \
when the cursor moves.

This seems to happen in Konqueror 3.5.7 and 3.97.1 (haven't tested any other \
versions)

I used a html-file with the following code to reproduce the problem:

<script>
function moveit(e){
  document.getElementById('foo').innerHTML=Math.random();
}
</script>
<p onmousemove="moveit(event)">Move the mouse over this text for random number</p>
<p id="foo">Random number here...</p>

This script should print a random number when the cursor is moved, but prints it \
constantly in Konqueror.

The same bug also appeared with code correctly validated as xthml-strict.
Bug also appears using "document.onmousemove=" or \
"document.getElementById('bleh').onmousemove=".


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

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