OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cgmo-webcgm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: ISSUE: Pick priority stuff of 3.2.1.1


From Ben's comments and Dieter's comments:
http://lists.oasis-open.org/archives/cgmo-webcgm/200504/msg00017.html
http://lists.oasis-open.org/archives/cgmo-webcgm/200506/msg00021.html

At 04:34 PM 4/21/2005 -0400, Benoit Bezaire wrote:
[...]
3.2.1.1 Grobject
  - I find the bullet 2, 3, 4 to be irrelevant. They don't provide an
  explanation for determining the "pick" priority. "pick" should also
  be indepedant of 'linkuri'.

At 04:34 PM 4/21/2005 -0400, Dieter wrote:
2., 3., and 4. contain phrases like (and it contains a "linkuri"). Is this still correct?
It suggests that an object is only clickable if there is a linkuri present, which is no longer the case.
Suggestion: change this to "objects that are considered as interactive", and then add a para defining what "interactive" means in conjunction with presence of linkuri, event handler, interactivity attribute.

Indeed, #2-4 must be reconciled with 5.7.10 (WebCGMEvent), to which 3.2.1.1 links.  In 5.7.10, it is completely described how mouse events are processed:  specified event handler, or hyperlink (linkuri) processing, or ...  It is also specified how the proper target object is selected if there are multiple eligible candidates (which is the "pick priority" of 3.2.1.1). 

The 2nd bullet of the 2nd bullet list (bl2/b2) of 5.7.10 points back to "cursor change, screentip, hyperlink processing" (it links to 3.2.2.3 'linkuri' rather than 3.2.1.1 'grobject'), in the case that an event handler is not attached to the target object.

PROPOSAL:  Eliminate 2-4 as normative content, and convert it to an example of how mouse events on grobjects behave, if there is no 5.7.10 event handler attached and there is a linkuri.  (I.e., convert this 1.0 normatively-specified behavior to an example of the more general 2.0 normative model.)

An implementation of the PROPOSAL might look like:
Viewer Behavior. The selection ("pick") of a 'grobject' APS, as well as other objects (APSs) that may be the target of a "pick" event, follow the rules of WebCGM DOM events. Those rules determine all aspects of the event processing, including the selection of the proper target object when there are multiple eligible candidates, and the selection of the proper handler to process the event.                                                             
Example. A common example in WebCGM usage scenarios is a simple 'grobject', that contains a linkuri APS Attribute. In this simple case, if there were no dedicated event handler attached to the object, the WebCGM DOM events model says that the event will be "passed on for hyperlink processing." The events model dictates the outcomes for the following example cases:
if the mouse is in the mouse region of only one APS, it is "picked" and its 'linkuri' is executed;
if the mouse is in the mouse region of more than one APS, the topmost APS (latest occurring in the metafile) is the one that is "picked" and its linkuri is executed.
If, on the other hand, the object (APS) that is "picked" by the events model rules does not contain a linkuri, then of course no hyperlink processing occurs and the event is passed along for further processing.  [...rest of Viewer Behavior section...]


Side note:  already in previous editors draft, I flagged #4 as probably wrong, and probably unimplemented by anyone:  "[Issue: has anyone implemented this? Does it conflict with event model of ch.5? Should it instead be a simple rule such as closest-to-leaf or closest-to-root?]"  Everyone I have talked to thinks it's wrong, unimplemented, and that closest-to-leaf is the right rule, which is in fact the outcome dictated by the events model.

Regards,
-Lofton.





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]