|Anonymous | Login||02-18-2020 09:02 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0000330||[tweak] Any||major||always||10-11-04 16:17||06-19-05 04:52|
|Summary||0000330: Mouse leave events missing|
"Will not return to black when list was clicked"
p := CDropDownList open.
p startScript: [p borderColor: Color red] when: #mouseEnter.
p startScript: [p borderColor: Color black] when: #mouseLeave.
(0001476 - 713 - 755 - 755 - 755 - 755 - 755)
I think I tracked down what happens:
The raw enter and leave events are actually generated - the code in in CMouseOverHandler is virtually bullet-proof. But, the regular mouseEnter / mouseLeave events are suppressed when the player does not have the mouse focus (CPrimCostume>>handleMouseLeave:). Now this is fine for enter events, but we would need corresponding leave event when the mouse focus changes.
I just posted a workaround, which is to suppress only enter events, but not leave events. So you might get leaves without enters, but that's much better than getting enter events not followed by a leave.
The Right Thing To Do would be to synthesize leave and enter events when the focus changes ...
(0001478 - 206 - 212 - 212 - 212 - 212 - 212)
|Oh well - my fix (which was taking out the mosueFocus check in CPrimCostume>>handleMouseLeave:) broke the menu bar which relies on the broken behavior ... I retracted it, we'll have the fix menu bars first.|
(0001581 - 293 - 293 - 293 - 293 - 293 - 293)
|I have committed a temporary workaround which will make the menus work after such a change to mouseLeave handling. HOWEVER, having tried it afterwards I don't think this is the issue. I was easily able to keep the spinner button for numeric tiles open even after moving out of the input field.|
(0001648 - 17 - 17 - 17 - 17 - 17 - 17)
|10-11-04 16:17||bert||New Issue|
|05-11-05 12:36||bert||Relationship added||related to 0001106|
|05-11-05 16:31||bert||Relationship replaced||has duplicate 0001106|
|05-11-05 16:34||bert||Note Added: 0001476|
|05-11-05 16:34||bert||Status||new => confirmed|
|05-11-05 16:34||bert||Category||=> Any|
|05-11-05 19:37||bert||Note Added: 0001478|
|06-04-05 08:29||andreas||Note Added: 0001581|
|06-19-05 04:52||andreas||Status||confirmed => resolved|
|06-19-05 04:52||andreas||Resolution||open => fixed|
|06-19-05 04:52||andreas||Assigned To||=> andreas|
|06-19-05 04:52||andreas||Note Added: 0001648|
|06-19-05 04:52||andreas||Assigned To||andreas =>|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
57 total queries executed.|
39 unique queries executed.