[jboss-jira] [JBoss JIRA] (DROOLS-4791) [DMN Designer] Not able to edit by double click after scroll
Michael Anstis (Jira)
issues at jboss.org
Fri Nov 22 07:06:00 EST 2019
[ https://issues.jboss.org/browse/DROOLS-4791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13816627#comment-13816627 ]
Michael Anstis commented on DROOLS-4791:
----------------------------------------
The issue is that https://github.com/kiegroup/appformer/commit/ffadd2baab7067ebac737db32e633a4dd3d84452 added a `MouseDownHandler` on the `FocusPanel` that erm, sets the focus to the `FocusPanel` in response to a mouse down event. This causes the "in cell" editor to receive a _blur_ event and destroy the "in cell" editor. There is no need to add an explicit `MouseDownHandler` to set the focus on a focus panel as it's a *focus* panel and gets the focus on click anyway!
I tested the large file attached to this JIRA with `kie-wb-common-dmn-webapp-kogito-testing` and `kie-wb-distributions`. Both work well now. I have also tested that the Guided Decision Table Editor and Scenario Simulation Editor are unaffected by this change and that keyboard navigation is unaffected by the removal of the explicit focus handling.
> [DMN Designer] Not able to edit by double click after scroll
> ------------------------------------------------------------
>
> Key: DROOLS-4791
> URL: https://issues.jboss.org/browse/DROOLS-4791
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.31.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Critical
> Labels: drools-tools
> Attachments: aTable.dmn, edit-cell.webm
>
>
> User is not able to invoke cell edito mode if he scrolled the dmn grid before.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list