|Anonymous | Login||01-17-2022 19:26 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|
|0001034||[Squeak] Morphic||minor||always||04-02-05 15:06||09-26-07 03:13|
|Summary||0001034: Menu morph disappears|
When I do in 3.9 image this:
- let the world (or any kind of) menu morph appear
- let its halo appear
- move this menu morph with the black (drag&drop) halo
then the menu morph unexpectably disappears. Its halo also disappears.
When I do the same in the 3.7 image, then the menu morph also disappears but the halos remain in place.
|Attached Files||MenuMorphDisappearsFix0001034.1.cs [^] (469 bytes) 03-04-06 16:11|
SYSTEM WARNING: Creating default object from empty value
(0004343 - 482 - 572 - 572 - 572 - 572 - 572)
edited on: 03-04-06 15:34
After a long debug session (I'm still new to squeak) I have found out that menus behave somehow different then other morphs when they are handled using halos.
-first time you click in the black halo events go to EllipseMorph>>mouseDown:
-second time events go to MenuMorph>>mouseDown:
- events always go to EllipseMorph>>mouseDown:
The bottom line is that for MenuMorphs the control will never rich HaloMorph>>doGrab:with: (only the first time)
(0004345 - 237 - 279 - 279 - 279 - 279 - 279)
Look into MenuMorph>>justDroppedInto: aMorph event: anEvent
the last line says:
stayUp ifFalse:[evt hand newMouseFocus: self]
shouldn't be this performed only if we don't have a halo?
If we do have a halo let them keep the focus.
(0004354 - 311 - 395 - 395 - 511 - 511 - 511)
edited on: 10-25-06 10:00
For more details of menu/halo strangenesses see also Mantis 0001832.
I recently added some new observations to it.
As you have looked into the causes and code you might be in the better position to track down the solution.
Good bug find.
Yours in service, -- Jerome Peace
|04-02-05 15:06||kosik||New Issue|
|08-24-05 01:01||kosik||Issue Monitored: kosik|
|02-26-06 22:27||cdan||Issue Monitored: cdan|
|03-04-06 11:52||cdan||Note Added: 0004343|
|03-04-06 15:33||cdan||Note Added: 0004345|
|03-04-06 15:34||cdan||Note Edited: 0004343|
|03-04-06 16:11||cdan||File Added: MenuMorphDisappearsFix0001034.1.cs|
|03-04-06 22:45||wiz||Note Added: 0004354|
|10-25-06 10:00||wiz||Note Edited: 0004354|
|09-26-07 03:06||matthewf||Relationship added||related to 0001832|
|09-26-07 03:13||matthewf||Relationship added||child of 0006530|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
78 total queries executed.|
52 unique queries executed.