OS4 DepotLogo by Marko 
   Home     List Software     Search     Contact     Help  
 Menu
 
 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Username

 Password


   Register here

 Main menu
   BBCode test
 
 Content
   Help
   ToDo List
   List Content
 
 
Support the site
 View Issue
[View Software][View Issues][View Comments][View Files]
Name:owb pukapuka
Title:Origyn Web Browser, webkit, CSS capable
Owner:Not assigned
URL:http://www.sand-labs.org/owb
Created:20080831 19:05 by orgin
 Issue details
Type:BugSeverity:Medium
Status:NewStatus Comment:
Title:JavaScript: Mouse events not fully working
Version:3.29
Description:When responding to mouse event with JavaScript, there are some issues:
There are 2 cases to distinguish:

1. Tooltype CONTEXTMENURMB is set
- left and middle MB events respond correctly, including event.preventDefault()
- except double click: the pointer has to be moved between left and middle double clicks to respond correctly
- right click doesn't fire any events at all, no matter if event.preventDefault() is called or not. In any case the context menu is being displayed. Correct behaviour would be to fire the events in any case, while event.preventDefault() would prevent the context menu to be shown.

2. Tooltype CONTEXTMENURMB is not set
- left MB events respond correctly, including event.preventDefault()
- middle click doesn't fire any events at all, no matter if event.preventDefault() is called or not. In any case the context menu is being displayed. Correct behaviour would be to fire the events in any case, while event.preventDefault() would prevent the context menu to be shown.
- right click does fire the mousedown und mouseup events, but displays the context menu to matter if event.preventDefault() is called or not. Mousedown fires too late, though, click and doubleclick are not fired at all. Correct behaviour would be to fire the events in any case, while event.preventDefault() would prevent the context menu to be shown.

I wrote a small test page to check it out:
http://home.datacomm.ch/mrupp/Test/MouseTest.htm
Created:20100709 13:44 by mrupp
Comments:1
Copyright (c) 2004-2020 by Björn Hagström. All Rights Reserved