[etoys-notify] [JIRA] Commented: (SQ-1031) Cursor disappears on drop without mouse up event

Karl Ramberg (JIRA) tracker at squeakland.org
Sun Mar 4 16:25:39 EST 2012


    [ http://tracker.squeakland.org/browse/SQ-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=40412#action_40412 ] 

Karl Ramberg commented on SQ-1031:
----------------------------------

HandMorph>>needsToBeDrawn
	"Return true if this hand must be drawn explicitely instead of being drawn via the hardware cursor. This is the case if it (a) it is a remote hand, (b) it is showing a temporary cursor, or (c) it is not empty and there are any visible submorphs. If using the software cursor, ensure that the hardware cursor is hidden."
	"Details:  Return true if this hand has a saved patch to ensure that is is processed by the world. This saved patch will be deleted after one final display pass when it becomes possible to start using the hardware cursor again. This trick gives us one last display cycle to allow us to remove the software cursor and shadow from the display."
	(savedPatch notNil
		or: [ (submorphs anySatisfy: [ :ea | ea visible ])
			or: [ temporaryCursor notNil
				or: [ self hasUserInformation ]]])
		ifTrue: [
			"using the software cursor; hide the hardware one"
			"Sensor currentCursor == Cursor blank ifFalse: [Cursor blank show]."
			^ true].

	^ false


> Cursor disappears on drop without mouse up event
> ------------------------------------------------
>
>                 Key: SQ-1031
>                 URL: http://tracker.squeakland.org/browse/SQ-1031
>             Project: squeakland
>          Issue Type: Bug
>          Components: etoys
>            Reporter: Karl Ramberg
>             Fix For: future release
>
>
> Reproduce by clicking on a morph to attach to cursor. (both mouse down and mouse up)
> Morph is attached to cursor.
> Now mouse down, hold mouse down and move mouse. 
> Cursor is not visible.
> This works without bug i Squeak 4.3

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the etoys-notify mailing list