Mouse pressed on window when another window(popup) is active
Pavel Safrata
pavel.safrata at oracle.com
Wed Jul 25 07:38:02 PDT 2012
Hello Pedro,
this is a bug, the events should always be properly paired. Please file
a Jira issue. It's usually better to file a Jira issue right away, even
if it's not a bug we have a publicly searchable record of it for future
reference.
Note that fixing the bug will probably lead to the main window getting
no events from the gesture (the hiding popup will consume the whole
gesture instead of just the pressed event). We've already chosen this
approach when dealing with a similar issue:
http://javafx-jira.kenai.com/browse/RT-16558
Thanks,
Pavel
On 25.7.2012 16:08, Pedro Duque Vieira wrote:
> Hi,
>
> I was unsure whether to post this question/bug here or directly on Jira..
> The thing is if a popup window is active, clicking the mouse button on the
> main window won't result in a: mouse pressed, mouse dragged, mouse released
> sequence of events being fired but only on a: mouse dragged, mouse
> released. Probably the mouse pressed is consumed when the main window
> becomes active and so it isn't passed on to the components inside that
> window.
>
> My question is: is this a bug or is this intended by design?
>
> In the future should I post this type of reports/questions directly to Jira
> or do I post them here?
>
> Best regards, thanks,
>
More information about the openjfx-dev
mailing list