Bug 1283503 - [QE](6.2.z)Task list: loading animation displayed indefinitely until the mouse is moved
Summary: [QE](6.2.z)Task list: loading animation displayed indefinitely until the mous...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: CR1
: 6.2.2
Assignee: Neus Miras
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
: 1295543 (view as bug list)
Depends On:
Blocks: 1295543 1309326
TreeView+ depends on / blocked
 
Reported: 2015-11-19 07:47 UTC by Jan Hrcek
Modified: 2020-03-27 20:13 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
: 1295543 (view as bug list)
Environment:
Last Closed: 2020-03-27 20:13:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Video illustrating the issue (2.27 MB, application/octet-stream)
2015-11-19 07:47 UTC, Jan Hrcek
no flags Details

Description Jan Hrcek 2015-11-19 07:47:48 UTC
Created attachment 1096519 [details]
Video illustrating the issue

Description of problem:
This is a followup to bug # 1267866
I finally managed to reproduce this issue manually!

The problem is NOT, that LOADING TASK DATA from the backend takes infinite time, but that the LOADING ANIMATION is displayed indefinitely until user moves the mouse. This happens in 30-50% of selenium tests and I was able to consistently reproduce this manually with remote database.

Observe the problem in video attached.
After clicking some tab (i.e. Active) you can see (in the firebug network panel below) that it takes about 0.5 seconds to do backend request to load task information (this is from DB from Boston lab to my laptop in Brno). But even after the request is finished, the loading animation remains to be displayed. To make it disappear I must move the mouse.

Another problem is that for some tabs, the loading animation is not displayed at all. Instead the table remains empty until user moves the mouse (observe this after clicking Group tab in 0:13 in the video)

I'm not sure if this is a blocker (I'll leave the decision to you), because the tasks ARE displayed after user moves the mouse. But from UX perspective this is very annoying and at least it must be documented in release notes.


Version-Release number of selected component (if applicable):
BPM Suite 6.2.0 CR1

How reproducible:
Always with remote DB

Steps to Reproduce:
0. Configure the server to connect to some remote DB (I can provide private info about how to do it using our DB Allocator tool if needed)
1. Create ad-hoc task in task list
2. Click various filter tabs

Actual results:
After some time clicking the tab headers the loading animation is displayed indefinitely - user has to move the mouse to make it disappear.

Expected results:
Loaded tasks should be displayed WITHOUT user having to move the mouse after he clicks the filter tab.

Additional info:
Information to be added to release notes:
When displaying tasks in task list perspective, it might happen (especially when using remote / slow database), that after clicking filter tab (Active, Group, Personal etc.) there is a loading animation displayed indefinitely and no tasks are displayed. The workaround is simply to move the mouse.

Comment 1 Jan Hrcek 2015-11-20 12:40:02 UTC
Not sure if this will be useful, but we had a similar issue (no data shown until mouse moved) in the past in bz #1265211

Comment 2 Neus Miras 2015-12-21 18:10:08 UTC
We have added the same solution as the bz commented. Force the execution of the command at the end of the event treatment. 
We have generated two PR
Master
https://github.com/uberfire/uberfire-extensions/pull/155
and
0.7.x
https://github.com/uberfire/uberfire-extensions/pull/154

Comment 3 Kris Verlaenen 2016-01-04 15:09:52 UTC
Since both PRs were merged, moving this to MODIFIED.

Comment 4 Jan Hrcek 2016-01-05 08:01:08 UTC
I tested the fix after it was merged with 6.4.x
Unfortunately the issue is still present without any change :-(

When using database it happens with about the same frequency (roughly 30-50x times during test suite of 35 selenium tests = very often) and the symptoms are the same - loading animation displayed until mouse is moved.

Comment 5 Neus Miras 2016-01-13 17:41:23 UTC
The datagrid shows problems to redraw the results in some browsers (like firefox) when we are working on tabs,  until the mouse is moved. After the first approach of putting the command launcher after the event execution(Deferred), we have tried to flush the results after they are loaded at the provider. I have tested it, and now works fine in places that before didn't.
I think we need more testing with remote db, after the PR has been merged.

Here are the PRs:

Master 	https://github.com/uberfire/uberfire-extensions/pull/170
0.7.x	https://github.com/uberfire/uberfire-extensions/pull/169

Comment 6 Neus Miras 2016-01-13 17:43:15 UTC
*** Bug 1295543 has been marked as a duplicate of this bug. ***

Comment 7 Jan Hrcek 2016-01-14 11:07:36 UTC
FYI: I just executed tests with the latest kie-wb 6.4.x snapshot and the issue is finally resolved :-) Good job! I will verify this bz once the fix appears in the next 6.2 product patch.

Comment 8 Jan Hrcek 2016-03-07 08:00:31 UTC
Verified with the 6.2.2 patch that the fix is present & working


Note You need to log in before you can comment on or make changes to this bug.