Bug #307

Sizing issues with Ext::TableView

Added by Vincenzo Romano almost 2 years ago. Updated almost 2 years ago.

Status:Closed Start:02/26/2010
Priority:Normal Due date:
Assigned to:Koen Deforche % Done:

0%

Category:-
Target version:-

Description

Wt version: 3.1.1a (from repository https://launchpad.net/~pgquiles/+archive/ppa)
ExtJS version: 3.1.1
OS: Ubuntu Linux 9.10 (Karmic)
Browser: Google Chrome 5.0.307.9 beta
Browser: Mozilla Firefox 3.58
Browser: Konqueror 4.4.00 (KDE 4.4.0)

The Ext::TableView needs to be created and displayed after the button is clicked.
What Happens is that the widget is displayed in a weird way and gets its expected appearance only if the page is re-painted.
For example,click on the browser window icon to de-maximize (not the minimize one) or just wait for 5 minutes, when there will be a js triggered "ping and refresh" event.

If, instead, the creation code is not tied to the button event, then the TableView is displayed in the expected way.
(Check comments at line no.68)

Main.cpp - The main source code fragment (2.8 KB) Vincenzo Romano, 02/26/2010 03:37 pm

acss.css - The CSS (not really important) (486 Bytes) Vincenzo Romano, 02/26/2010 03:37 pm

konqueror-1.png - Output before clicking the button (Konqueror) (28.2 KB) Vincenzo Romano, 02/26/2010 03:37 pm

konqueror-2.png - Output after clicking on the button (34.9 KB) Vincenzo Romano, 02/26/2010 03:37 pm

konqueror-3.png - Output after clicking on the de-maximize button (52.3 KB) Vincenzo Romano, 02/26/2010 03:37 pm

History

Updated by Koen Deforche almost 2 years ago

  • Assigned to set to Koen Deforche
  • Status changed from New to Closed

Fixed in latest git. The issue was caused by the deferred JavaScript execution waiting on the ExtJS libraries to be loaded.

Also available in: Atom PDF