Bug 1049506

Summary: IE 10: Simulation graphs tree does not react to any mouse event
Product: [Retired] JBoss BPMS Platform 6 Reporter: Sona Mala <smala>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Sona Mala <smala>
Severity: urgent Docs Contact: Dawn Eisner <deisner>
Priority: high    
Version: 6.0.0CC: jlocker, kverlaen, rrajasek, smala
Target Milestone: ER6   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Cause: Using browser IE10 Consequence: The tree of simulation results does not handle a click event. Workaround (if any): there is no workaround Result: There are only general simulation results. The detailed ones are not available.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:45:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Log from IE10 console none

Description Sona Mala 2014-01-07 16:22:41 UTC
Description of problem:
I am not able to change the set of graphs in simulation results because the simulation graph tree does not react to any mouse event.


Version-Release number of selected component (if applicable):
ER7 6.0.0 BPMS

How reproducible:
IE10

Steps to Reproduce:
1. create a simple process (Start -> Manual Task -> End)
2. run simulation
3. go to the simulation Results tab
4. collapse any folder (Process, Process Elements, Paths) or choose another graph

Actual results:
No reaction. The user can see just a Process graphs.

Expected results:
Same behaviour as for FF. Folders is able to collapse/open and the user can change the set of graphs.

Additional info:

Comment 1 Kris Verlaenen 2014-01-07 23:01:51 UTC
Could not reproduce this on IE11 (Windows7)

Comment 2 Jiri Locker 2014-01-08 09:57:42 UTC
Issue confirmed on IE10 + Windows Server 2012.

Comment 3 Sona Mala 2014-01-08 12:49:24 UTC
It seems that this is a problem only for IE10 + Windows Server 2012. I could not reproduce this issue on IE 11 + Windows 7 as well as Kris.

Comment 4 Kris Verlaenen 2014-02-03 15:40:07 UTC
Since this only seems to happen on IE10, this is extremely hard to reproduce and fix.  The expanding / collapsing seems to be similar to the issue we had with the designer palette, but since the tree is already auto-expanded, I guess this is low severity.  Could you confirm that in this case, clicking on any of the other charts in the tree doesn't change the chart displayed? Could you possibly check the JavaScript console (under developer tools - F12) to see if there are any errors there?

Comment 5 Sona Mala 2014-02-05 09:40:50 UTC
Created attachment 859558 [details]
Log from IE10 console

Errors occur during loading of simulation results. Some errors was repeated when I generate MOUSE OVER event or MOUSE CLICK event on items from simulation graphs tree.

Comment 6 Tihomir Surdilovic 2014-02-09 18:27:28 UTC
this seems to be similar issue we had with ie and the shapes menu expanding. i have disabled the expanding/collapsing of the graph type tree. please retest.

fix in designer master and 6.0.x branches

Comment 9 Jeremy Lindop 2015-02-19 17:13:13 UTC
The problem seemed to be a bug in the ext library's type Ext.tree.TreeNode - these throw an error when the mouse moves over them and they don't handle mouse events correctly.

To fix the problem in IE10, the simulation results tree has been made a DragZone (in IE only) so that the nodes can be set to respond to mouse-clicks. When nodes are clicked on, the correct graph is now displayed. As a side effect, the nodes can be dragged, but the user is unlikely to do this, and it seems a minor issue compared to the nodes being unresponsive.

I reproduced the problem in IE11 as well as IE10, and the fix won't adversely affect IE11 installations which didn't exhibit the bug.

master: https://github.com/droolsjbpm/jbpm-designer/commit/773565936cb04362aa6d68324ac7425b9b8dc8c7
6.2.x: https://github.com/droolsjbpm/jbpm-designer/commit/901330381d5c9a3b8eda5939bc95bf01fe3a6ead

Comment 10 Sona Mala 2015-03-17 14:56:00 UTC
I have to assign this issue. I can reproduce it on 6.1.0 ER6 with IE10.

The IE console shows this error:
   "Unable to get property 'ui' of undefined or null reference"
whenever I try to close an expanded tree item.

It seems that problem is in the ext library (type: TreeEventModel -> node.ui returns null reference). I can confirm that changes are present in the product, but it seems that they does not help.

Comment 11 Sona Mala 2015-03-17 15:54:39 UTC
The fix which was present by comment #9 is partial one. This fix allows to show all results (not just the "Process" graphs). This fix is important for users. Now, he or she has an access to all results, but sometimes it requires lots of scrolling.

I have decided to create a new issue for collapse the result's folder. It is blocked by ext library (v2.0.2).