[
https://issues.apache.org/jira/browse/PIVOT-412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864959#action_12864959
]
Greg Brown commented on PIVOT-412:
----------------------------------
The original idea was to use an invisible cursor as the "null" cursor. However,
after applying the patch and working with it a bit, I don't think this approach
will properly address the original use case. I believe the objective was to
permanently hide the cursor, for use in a touch screen kiosk-type app. This
solution can't fully support that - setting the display's cursor to "invisible"
doesn't prevent descendants from setting it to something else, so the cursor
won't stay hidden.
A better solution might be to define a flag property that controls whether the
cursor is displayed or not (e.g. setShowCursor()). When set to true, the
current cursor behavior would be preserved. When false, a hidden cursor would
be shown and would not change as the user moves the mouse over components with
an explicit cursor set. However, I'm not sure what the best place for such a
property might be.
Since the use case is fairly limited, this almost seems like something that
would be best specified at the OS level (I would guess that the native OS might
provide a means for turning off the cursor).
> Allow caller to hide cursor
> ---------------------------
>
> Key: PIVOT-412
> URL: https://issues.apache.org/jira/browse/PIVOT-412
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Affects Versions: 1.4
> Reporter: Todd Volkert
> Priority: Minor
> Fix For: 1.5.1
>
> Attachments: patch.txt
>
>
> Support an invisible cursor.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.