gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.51k stars 372 forks source link

DataGrid on Firefox doesn't show rows if parent Layout is still Animating #8217

Closed dankurka closed 9 years ago

dankurka commented 9 years ago

Originally reported on Google Code with ID 8227

Found in GWT Release: 2.5.1

Encountered on OS / Browser: Win7-64, Firefox 22
Note: Does not occur on Chrome or IE.

Detailed description (please be as specific as possible):
   I have several DataGrid-using classes (which I just switched over from CellTables).
Each DataGrid is contained in a ResizeLayoutPanel, which in turn is in either a DockLayoutPanel
or a TabLayoutPanel which animates. The grids are populated by an RPC to the backend.
I noticed on Firefox that the datagrids were not displaying their rows if the RPC callback
happened before the parent animation was complete, even though the pagers correctly
showed the number of items. The CellTables used previously did not suffer from this
problem.
   I found that by adding a delay before calling setVisibleRange(), the rows will properly
show up. At the moment, this works fine for our purposes, but it's not a perfect solution
because it requires knowing what the parent container's animation timing is.

Given that this only seems to be happening in Firefox, I'm willing to believe that
the underlying bug may be in Firefox, and not necessarily GWT. If someone can confirm
one way or the other, I would much appreciate it.

Workaround if you have one:
Add a timer to update the data grid after the animation is complete.

Reported by vidal@umich.edu on 2013-06-28 22:46:42

dankurka commented 9 years ago
Do you mind posting a simplified example of the bug?

Reported by dankurka@google.com on 2013-06-29 09:04:41

dankurka commented 9 years ago
It looks like the problem may have been fixed in the Firefox 23 release. Tentatively,
I suppose you can mark this as Obsolete.

Reported by vidal@umich.edu on 2013-08-17 05:09:08

dankurka commented 9 years ago

Reported by dankurka@google.com on 2013-08-18 19:18:15

dankurka commented 9 years ago
I tested for Celltable with FF ver 35, Issue is still there!!!!

Reported by tarish.saini2 on 2015-02-04 11:44:09