Closed
Bug 164252
Opened 23 years ago
Closed 6 years ago
How about an 'optionalModifiers' attribute
Categories
(Core :: XBL, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jwatt, Unassigned)
Details
The modifiers attribute is a strict filter and I guess that can't change now.
However, if you have a large piece of code for handling events that is almost
the same even when different modifiers may or may not be set, it would be useful
to be able to handle events with the same handler code whether these handlers
are set or not. How about having the modifiers attribute mean that the handler
requires these modifiers, and something like an optionalModifiers that specifies
that the code will evaluate if these modifiers are present or not, and if a
modifer is not present in either attribute then the handler will not match an
event that has it set? The same idea would hold for the other attributes that
filter strictly.
Updated•23 years ago
|
Summary: How about an 'optionalModifiers' attribute → [RFE] How about an 'optionalModifiers' attribute
Comment 1•20 years ago
|
||
Hixie: is such a thing in XBL2?
jwatt: still needed?
Assignee: hyatt → general
Keywords: qawanted
OS: Windows XP → All
Hardware: PC → All
Summary: [RFE] How about an 'optionalModifiers' attribute → How about an 'optionalModifiers' attribute
Comment 2•20 years ago
|
||
XBL2 doesn't exist yet, but I seem to recall considering this, if that counts.
Comment 3•20 years ago
|
||
*** This bug has been marked as a duplicate of 164249 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 4•20 years ago
|
||
Neil, as I commented in https://bugzilla.mozilla.org/show_bug.cgi?id=164249#c17
I don't like the syntax as provided by your fix to bug 164249. I left this bug
open because I'd like a clearer way to state which modifiers, if any, should be
ignored. Personally I think
modifiers="control any, shift"
looks like it means we should match if control is active and not care about the
state of the other modifiers, or match if shift only is active. IMHO the real
desired match would be better and more clearly expressed as
modifiers="shift ignore control"
or better still a separate attribute called 'optionalModifiers' or
'optional-modifiers'.
If you disagree, WONTFIX would be more appropriate than DUPLICATE.
Severity: enhancement → normal
Status: RESOLVED → REOPENED
OS: All → Windows XP
Hardware: All → PC
Resolution: DUPLICATE → ---
Updated•16 years ago
|
Assignee: xbl → nobody
QA Contact: ian → xbl
Comment 5•12 years ago
|
||
(In reply to Jonathan Watt [:jwatt] from comment #4)
> If you disagree, WONTFIX would be more appropriate than DUPLICATE.
Any updates here ?
Comment 7•6 years ago
|
||
XBL is now disabled in Firefox (Bug 1583314) and is in the process of being removed from Gecko (Bug 1566221), so closing bugs requesting changes to its implementation as wontfix.
Status: REOPENED → RESOLVED
Closed: 20 years ago → 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•