Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Mobile Android Devices: Assigned DataSources won't load

    Hi,

    I created search forms for an application which contains multiple SelectItems. When this form gets drawn I do not attach or load any OptionDataSource/DataSource because some of them can contain thousands of records. To have a fast loading UI... I attach and load the dataSource only, when the user needs the data... means he has to click on the SelectItem.

    This is working really well on Dekstop Systems. When I use an android tablet... the dataSource won't be loaded. Nothing happens.


    Attach and load DataSource in ClickHandler:
    Code:
    SelectItem comboTest2 = new SelectItem( "Test2" );
                comboTest2.setEmptyDisplayValue( "All" );
                comboTest2.setRequired( true );
                comboTest2.setAllowEmptyValue( true );
                comboTest2.setTitleOrientation( TitleOrientation.TOP );
                comboTest2.setTitle( "Test" );
                comboTest2.setWidth( "*" );
                comboTest2.addClickHandler( new com.smartgwt.client.widgets.form.fields.events.ClickHandler()
                {
    
                    @Override
                    public void onClick( com.smartgwt.client.widgets.form.fields.events.ClickEvent event )
                    {
                        DataSource ds = CItemSupplyDataSource.getInstance( ) ;
                        comboTest2.setOptionDataSource( ds );
                        comboTest2.fetchData();
                    }
                } );

    The same happens when I attach a ValueMap in ClickHandler:
    Code:
    SelectItem comboTest = new SelectItem( "Test" );
                comboTest.setEmptyDisplayValue( "All" );
                comboTest.setRequired( true );
                comboTest.setAllowEmptyValue( true );
                comboTest.setTitleOrientation( TitleOrientation.TOP );
                comboTest.setTitle( "Test" );
                comboTest.setWidth( "*" );
                comboTest.addClickHandler( new com.smartgwt.client.widgets.form.fields.events.ClickHandler()
                {
    
                    @Override
                    public void onClick( com.smartgwt.client.widgets.form.fields.events.ClickEvent event )
                    {
                        LinkedHashMap<String, String> items = new LinkedHashMap<String, String>();
                        items.put( "1", GWebAdmin.lang.local() );
                        items.put( "2", GWebAdmin.lang.ldap() );
                        items.put( "3", GWebAdmin.lang.localAndLdap() );
    
                        comboTest.setValueMap( items );
                    }
                } );
    When I switch the mobile browser to the "Desktop version"... the above mentioned examples are working. But then I can not user touch guestures to scroll.

    Thanks
    Andy



    #2
    Waaay too little information - see the FAQ. A *partial* list of things you're working: what emulator or device, is there a JS error, client-side logs, what do you see on the screen..

    Comment


      #3
      okay... I am sorry... your are right:

      1. Device - Pixcel C
      2. Android 7.0
      3. Browser latest Chrome
      4. Smartgwt LGPL Build 2016-11-04

      An error does not appear in the developer cosole. But you can try this showcase.

      Code:
      import java.util.LinkedHashMap;
      
      import com.smartgwt.client.types.Overflow;
      import com.smartgwt.client.types.TitleOrientation;
      import com.smartgwt.client.util.SC;
      import com.smartgwt.client.widgets.Window;
      import com.smartgwt.client.widgets.form.DynamicForm;
      import com.smartgwt.client.widgets.form.fields.ButtonItem;
      import com.smartgwt.client.widgets.form.fields.RowSpacerItem;
      import com.smartgwt.client.widgets.form.fields.SelectItem;
      import com.smartgwt.client.widgets.layout.VLayout;
      
      public class GTestForm
      {
      
          public GTestForm()
          {
              initGui();
          }
      
          private void initGui()
          {
              VLayout layout = new VLayout();
              layout.setSize( "100%", "100%" );
              layout.setMembers( getEditorForm() );
              layout.setOverflow( Overflow.HIDDEN );
      
              Window window = new Window();
              window.setOverflow( Overflow.HIDDEN );
              window.setShowShadow( true );
              window.setShadowSoftness( 10 );
              window.setShadowOffset( 5 );
              window.setSize( "50%", "50%" );
              window.setCanDragResize( true );
              window.setShowMaximizeButton( true );
              window.setShowMinimizeButton( true );
              window.setShowCloseButton( false );
              window.setAnimateMinimize( true );
              window.setShowCloseButton( true );
              window.setModalMaskOpacity( 50 );
              window.setIsModal( true );
              window.setShowModalMask( true );
              window.centerInPage();
              window.addItem( layout );
      
              window.draw();
      
          }
      
          private DynamicForm getEditorForm()
          {
      
              final SelectItem comboTest = new SelectItem( "Test" );
              comboTest.setEmptyDisplayValue( "All" );
              comboTest.setRequired( true );
              comboTest.setAllowEmptyValue( true );
              comboTest.setTitleOrientation( TitleOrientation.TOP );
              comboTest.setTitle( "Test" );
              comboTest.setWidth( 200 );
              comboTest.addClickHandler( new com.smartgwt.client.widgets.form.fields.events.ClickHandler()
              {
      
                  @Override
                  public void onClick( com.smartgwt.client.widgets.form.fields.events.ClickEvent event )
                  {
                      LinkedHashMap<String, String> items = new LinkedHashMap<String, String>();
                      items.put( "1", GWebAdmin.lang.local() );
                      items.put( "2", GWebAdmin.lang.ldap() );
                      items.put( "3", GWebAdmin.lang.localAndLdap() );
      
                      comboTest.setValueMap( items );
                  }
              } );
      
              ButtonItem buttonConsole = new ButtonItem();
              buttonConsole.setTitle( "Dev. Console" );
              buttonConsole.setWidth( 125 );
              buttonConsole.setHeight( 25 );
              buttonConsole.addClickHandler( new com.smartgwt.client.widgets.form.fields.events.ClickHandler()
              {
      
                  @Override
                  public void onClick( com.smartgwt.client.widgets.form.fields.events.ClickEvent event )
                  {
                      SC.showConsole();
                  }
              } );
      
              DynamicForm editorForm = new DynamicForm();
              editorForm.setAutoFocus( true );
              editorForm.setWidth100();
              editorForm.setMargin( 25 );
              editorForm.setFields( comboTest, new RowSpacerItem(), new RowSpacerItem(), buttonConsole );
      
              editorForm.editNewRecord();
      
              return editorForm;
          }
      
      }

      Comment


        #4
        You missed client-side logs, which will also show you if there was an error (more definitive than how you are currently checking).

        Also, when you say nothing happens, what does that mean? Have you checked whether your click handler actually fires?

        Assuming it does fire, what happens when you try to open the drop-down afterwards?

        Comment


          #5
          Okay... I still can not see any error... but I tried some test cases... so just have a look at this Select Item:

          Code:
          LinkedHashMap<String, String> initialItems = new LinkedHashMap<String, String>();
                  initialItems.put( "1", "initialValue100" );
                  initialItems.put( "2", "initialValue200" );
                  initialItems.put( "3", "initialValue300" );
                  
                  final SelectItem comboTest2 = new SelectItem( "Test2" );
                  comboTest2.setEmptyDisplayValue( "All" );
                  comboTest2.setRequired( true );
                  comboTest2.setAllowEmptyValue( true );
                  comboTest2.setTitleOrientation( TitleOrientation.TOP );
                  comboTest2.setTitle( "Test" );
                  comboTest2.setWidth( 200 );
                  comboTest2.setValueMap( initialItems );
                  comboTest2.setDefaultToFirstOption( true );
                  comboTest2.addClickHandler( new com.smartgwt.client.widgets.form.fields.events.ClickHandler()
                  {
          
                      @Override
                      public void onClick( com.smartgwt.client.widgets.form.fields.events.ClickEvent event )
                      {
                          LinkedHashMap<String, String> items = new LinkedHashMap<String, String>();
                          items.put( "1", "Value1" );
                          items.put( "2", "Value2" );
                          items.put( "3", "Value3" );
          
                          comboTest2.setValueMap( items );
                      }
                  } );
          So here I create a ValueMap called "initialItems"... this valueMap will be assigned correctly. The first Value "initialValue100" appears correctly in the box. Then I touch on the SelectItem... a new valueMap called "items" will be created and assigned to the SelectItem. Here the first first Value "Value1" appears. But the dropDownList does not appear. So I can not choose "Value2" or "Value3".

          When I remove the click Handler... the dropdown list will appear:

          Code:
          final SelectItem comboTest2 = new SelectItem( "Test2" );
                  comboTest2.setEmptyDisplayValue( "All" );
                  comboTest2.setRequired( true );
                  comboTest2.setAllowEmptyValue( true );
                  comboTest2.setTitleOrientation( TitleOrientation.TOP );
                  comboTest2.setTitle( "Test" );
                  comboTest2.setWidth( 200 );
                  comboTest2.setValueMap( initialItems );
                  comboTest2.setDefaultToFirstOption( true );
          So when I assign a new valueMap in a clickHandler... the new valueMap will be assigned... but the dropDownList will not appear anymore. This happens in Chrome Browser on android with disabled "desktop mode". When I enable the "Desktop mode" of the browser it works. Also when I use a regular PC or Laptop (Windows 10 or Ubuntu 16.10).

          So you understand my case now?

          Thanks
          Andy


          Comment


            #6
            We've understood the case from your first post, but we think it's probably something only you are experiencing, which is why we keep reminding you to post basic information that is always required: this is the second time we've requested client-side logs and you've just not provided them.

            Bear in mind, if a poster fails to provide client-side logs their posts are often completely ignored. So please provide the logs - last chance.

            Comment


              #7
              Does this one help you?

              Code:
                12:44:21.808:TDN2:INFO:EventHandler:Target Canvas for event 'touchstart': [VLayout ID:isc_VLayout_5]
              12:44:21.963:TUP3:INFO:EventHandler:Target Canvas for event 'touchend': [VLayout ID:isc_VLayout_5]
              12:44:24.650:TDN7:INFO:EventHandler:Target Canvas for event 'touchstart': [DynamicForm ID:isc_DynamicForm_1]
              12:44:24.805:TUP8:INFO:EventHandler:Target Canvas for event 'touchend': [DynamicForm ID:isc_DynamicForm_1]
              12:44:24.811:TUP8:INFO:EventHandler:isc_DynamicForm_1:Bubbling handleClick event for isc_SelectItem_3
              12:44:24.812:TUP8:INFO:nativeFocus:isc_SelectItem_3[Test2]:about to call element.focus() 
              12:44:24.887:TUP8:INFO:layout:isc_SelectItem_3_pickerNavigationBar:adding newMembers: [NavigationButton ID:isc_SelectItem_3_pickerExitButton] at position: 0
              12:44:24.889:TUP8:DEBUG:layout:isc_SelectItem_3_pickerNavigationBar:resizing [NavigationButton ID:isc_SelectItem_3_pickerExitButton]: 42h 
              12:44:24.897:TUP8:INFO:styleName:isc_PickListMenu_0:'className' property specified. This property has been deprecated in favor of 'styleName' as of SmartClient 5.5.
              12:44:24.943:TUP8:INFO:PickListMenu:isc_PickListMenu_0:scrollCellIntoView() called before the body has been drawn.  Cell 1,null will be scrolled into view on draw().
              12:44:24.945:TUP8:INFO:timing:isc_SelectItem_3[Test2]:Time to initially create pickList:114
              12:44:24.952:TUP8:DEBUG:layout:isc_SelectItem_3_fillScreenContainer:new user width: 1280 for member [PickListMenu ID:isc_PickListMenu_0], oldSize: undefined reason: undefined
              12:44:24.953:TUP8:DEBUG:layout:isc_SelectItem_3_fillScreenContainer:new user height: 724 for member [PickListMenu ID:isc_PickListMenu_0], oldSize: undefined reason: undefined
              12:44:24.956:TUP8:INFO:draws:isc_SelectItem_3_fillScreenContainer:draw(): drawing Layout
              12:44:24.960:TUP8:INFO:adaptMembers:isc_SelectItem_3_fillScreenContainer:Layout.$1659(): remaining space is 0 after reserving minimums for 0 stretch members
              12:44:24.961:TUP8:INFO:adaptMembers:isc_SelectItem_3_fillScreenContainer:found 0 size-adaptable members (ascending): 
              12:44:24.962:TUP8:INFO:adaptMembers:isc_SelectItem_3_fillScreenContainer:Layout.$1659(): remaining space is 0 after reserving minimums for 0 stretch members
              12:44:24.962:TUP8:INFO:adaptMembers:isc_SelectItem_3_fillScreenContainer:found 0 size-adaptable members (ascending): 
              12:44:24.978:TUP8:INFO:layout:isc_PickListMenu_0:adding newMembers: [Canvas ID:isc_Canvas_0],[Canvas ID:isc_Canvas_1],[GridBody ID:isc_PickListMenu_0_body] at position: 0
              12:44:24.981:TUP8:DEBUG:layout:isc_PickListMenu_0:resizing [Canvas ID:isc_Canvas_0]: 1280w 
              12:44:24.985:TUP8:DEBUG:layout:isc_PickListMenu_0:resizing [Canvas ID:isc_Canvas_1]: 1280w 
              12:44:24.994:TUP8:INFO:draws:isc_PickListMenu_0:draw(): drawing PickListMenu with parent: [Layout ID:isc_SelectItem_3_fillScreenContainer]
              12:44:25.000:TUP8:INFO:drawing:isc_PickListMenu_0:inserting HTML into parent: [Layout ID:isc_SelectItem_3_fillScreenContainer]
              12:44:25.009:TUP8:DEBUG:layout:isc_PickListMenu_0:new field widths: 1280
              12:44:25.014:TUP8:INFO:adaptMembers:isc_PickListMenu_0:Layout.$1659(): remaining space is 722 after reserving minimums for 1 stretch members
              12:44:25.015:TUP8:INFO:adaptMembers:isc_PickListMenu_0:found 0 size-adaptable members (descending): 
              12:44:25.017:TUP8:INFO:draws:isc_Canvas_0:draw(): drawing Canvas with parent: [PickListMenu ID:isc_PickListMenu_0]
              12:44:25.019:TUP8:INFO:drawing:isc_Canvas_0:inserting HTML into parent: [PickListMenu ID:isc_PickListMenu_0]
              12:44:25.021:TUP8:INFO:drawing:isc_Canvas_0:drawChildren(): 1 children
              12:44:25.022:TUP8:INFO:draws:isc_SelectItem_3_pickerNavigationBar:draw(): drawing NavigationBar with parent: [Canvas ID:isc_Canvas_0]
              12:44:25.025:TUP8:INFO:drawing:isc_SelectItem_3_pickerNavigationBar:inserting HTML into parent: [Canvas ID:isc_Canvas_0]
              12:44:25.030:TUP8:INFO:adaptMembers:isc_SelectItem_3_pickerNavigationBar:Layout.$1659(): remaining space is 1279 after reserving minimums for 0 stretch members
              12:44:25.031:TUP8:INFO:adaptMembers:isc_SelectItem_3_pickerNavigationBar:found 0 size-adaptable members (descending): 
              12:44:25.033:TUP8:INFO:draws:isc_SelectItem_3_pickerExitButton:draw(): drawing NavigationButton with parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.039:TUP8:INFO:drawing:isc_SelectItem_3_pickerExitButton:inserting HTML into parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.042:TUP8:INFO:sizing:isc_SelectItem_3_pickerExitButton:Specified size: 1x42, drawn scroll size: 55x42, border: 0x0, margin: 0x0, reason: parentDrawn
              12:44:25.045:TUP8:INFO:adaptMembers:isc_SelectItem_3_pickerNavigationBar:Layout.$1659(): remaining space is 1225 after reserving minimums for 0 stretch members
              12:44:25.046:TUP8:INFO:adaptMembers:isc_SelectItem_3_pickerNavigationBar:found 0 size-adaptable members (descending): 
              12:44:25.047:TUP8:DEBUG:layout:isc_SelectItem_3_pickerNavigationBar:centering wrt visible breadth: 42
              12:44:25.049:TUP8:INFO:layout:isc_SelectItem_3_pickerNavigationBar:layoutChildren (reason: initial draw):
              layout specified size: 1280w x 44h
              drawn size: 1280w x 44h
              available size: 1280w (length) x 42h
                 [NavigationButton ID:isc_SelectItem_3_pickerExitButton]
                    55 drawn length (policyLength: 55) (inherent size)
                    42 drawn breadth (breadth policy: fill)
                12:44:25.051:TUP8:INFO:draws:isc_SelectItem_3_pickerNavigationBar_titleLabel_isc_OID_2:draw(): drawing Label with parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.054:TUP8:INFO:drawing:isc_SelectItem_3_pickerNavigationBar_titleLabel_isc_OID_2:inserting HTML into parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.057:TUP8:INFO:sizing:isc_SelectItem_3_pickerNavigationBar_titleLabel_isc_OID_2:Specified size: 1x42, drawn scroll size: 1x42, border: 0x0, margin: 0x0, reason: draw
              12:44:25.058:TUP8:INFO:redraws:isc_SelectItem_3_pickerNavigationBar_titleLabel_isc_OID_2:Scheduling redraw (setContents)
              12:44:25.062:TUP8:INFO:draws:isc_SelectItem_3_pickerNavigationBar_leftButton:draw(): drawing NavigationButton with parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.065:TUP8:INFO:drawing:isc_SelectItem_3_pickerNavigationBar_leftButton:inserting HTML into parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.068:TUP8:INFO:sizing:isc_SelectItem_3_pickerNavigationBar_leftButton:Specified size: 1x42, drawn scroll size: 117x42, border: 0x0, margin: 0x0, reason: draw
              12:44:25.072:TUP8:INFO:draws:isc_SelectItem_3_pickerNavigationBar_titleLabel:draw(): drawing Label with parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.086:TUP8:INFO:drawing:isc_SelectItem_3_pickerNavigationBar_titleLabel:inserting HTML into parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.090:TUP8:INFO:sizing:isc_SelectItem_3_pickerNavigationBar_titleLabel:Specified size: 100x42, drawn scroll size: 100x42, border: 0x0, margin: 0x0, reason: draw
              12:44:25.093:TUP8:INFO:sizing:isc_SelectItem_3_pickerNavigationBar:Specified size: 1280x44, drawn scroll size: 55x42, border: 2x0, margin: 0x0, reason: parentDrawn
              12:44:25.095:TUP8:INFO:sizing:isc_Canvas_0:Specified size: 1280x1, drawn scroll size: 1280x44, border: 0x0, margin: 0x0, reason: parentDrawn
              12:44:25.097:TUP8:INFO:layout:isc_PickListMenu_0:member: [Canvas ID:isc_Canvas_0] overflowed.  set length: 1 got length: 44
              12:44:25.098:TUP8:INFO:adaptMembers:isc_PickListMenu_0:Layout.$1659(): remaining space is 679 after reserving minimums for 1 stretch members
              12:44:25.099:TUP8:INFO:adaptMembers:isc_PickListMenu_0:found 0 size-adaptable members (descending): 
              12:44:25.100:TUP8:DEBUG:layout:isc_PickListMenu_0:resizing [GridBody ID:isc_PickListMenu_0_body]: 1280w 680h
              12:44:25.102:TUP8:INFO:cellValueCache:isc_PickListMenu_0_body:Dropping all cached cell values 
              12:44:25.104:TUP8:INFO:draws:isc_PickListMenu_0_body:draw(): drawing GridBody with parent: [PickListMenu ID:isc_PickListMenu_0]
              12:44:25.128:TUP8:INFO:cellValueCache:isc_PickListMenu_0_body:getCellValue(0,0): Not using cached cell value(enable debug logging for stacktrace)
              12:44:25.136:TUP8:INFO:drawing:isc_PickListMenu_0_body:inserting HTML into parent: [PickListMenu ID:isc_PickListMenu_0]
              12:44:25.142:TUP8:INFO:sizing:isc_PickListMenu_0_body:Specified size: 1280x680, drawn scroll size: 1278x678, border: 2x2, margin: 0x0, reason: ScrollCellIntoView requesting size
              12:44:25.144:TUP8:INFO:scrolling:isc_PickListMenu_0_body:Drawn size: 1278 by 678, specified: 1280 by 680, scrollbar state: 
              12:44:25.153:TUP8:INFO:recordComponents:isc_PickListMenu_0:updateRecordComponents - new recordComponents:{}, old record components (will be cleaned up if value is 'true'):{}
              12:44:25.154:TUP8:DEBUG:layout:isc_PickListMenu_0:centering wrt visible breadth: 1280
              12:44:25.157:TUP8:INFO:layout:isc_PickListMenu_0:layoutChildren (reason: initial draw):
              layout specified size: 1280w x 724h
              drawn size: 1280w x 724h
              available size: 1280w x 724h (length)
                 [Canvas ID:isc_Canvas_0]
                    44 drawn length (resizeLength: 1) (policyLength: 44) (explicit size)
                    1280 drawn breadth (breadth policy: fill)
                 [Canvas ID:isc_Canvas_1]
                    undefined drawn length (policyLength: 0) (hidden)
                    undefined drawn breadth (undefined)
                 [GridBody ID:isc_PickListMenu_0_body]
                    680 drawn length (resizeLength: 680) (policyLength: 100%) (explicit size)
                    1280 drawn breadth (breadth policy: fill)
                12:44:25.158:TUP8:INFO:drawing:isc_PickListMenu_0:drawPeers(): 1 peers
              12:44:25.160:TUP8:INFO:draws:isc_BackMask_0:draw(): drawing BackMask with parent: [Layout ID:isc_SelectItem_3_fillScreenContainer]
              12:44:25.163:TUP8:INFO:drawing:isc_BackMask_0:inserting HTML next to master element: [PickListMenu ID:isc_PickListMenu_0]
              12:44:25.183:TUP8:INFO:nativeFocus:isc_PickListMenu_0_body:about to call native focus()
              12:44:25.193:TUP8:INFO:sizing:isc_PickListMenu_0:Specified size: 1280x724, drawn scroll size: 1280x724, border: 0x0, margin: 0x0, reason: parentDrawn
              12:44:25.196:TUP8:DEBUG:layout:isc_SelectItem_3_fillScreenContainer:centering wrt visible breadth: 724
              12:44:25.199:TUP8:INFO:layout:isc_SelectItem_3_fillScreenContainer:layoutChildren (reason: initial draw):
              layout specified size: 1280w x 724h
              drawn size: 1280w x 724h
              available size: 1280w (length) x 724h
                 [PickListMenu ID:isc_PickListMenu_0]
                    1280 drawn length (resizeLength: 1280) (policyLength: 1280) (explicit size)
                    724 drawn breadth (explicit size)
                12:44:25.203:TUP8:INFO:sizing:isc_BackMask_0:Specified size: 1280x724, drawn scroll size: 1280x727, border: 0x0, margin: 0x0, reason: parentDrawn
              12:44:25.205:TUP8:INFO:sizing:isc_SelectItem_3_fillScreenContainer:Specified size: 1280x724, drawn scroll size: 1280x724, border: 0x0, margin: 0x0, reason: draw
              12:44:25.212:TUP8:INFO:redraws:isc_PickListMenu_0_body:Scheduling redraw (deselect all)
              12:44:25.220:TUP8:INFO:aria:ARIA state: selected: true, set on element: [TRElement]{ID:isc_PickListMenu_0_row_1}
              12:44:25.227:TUP8:INFO:nativeFocus:isc_SelectItem_3[Test2]:about to call element.focus() 
              12:44:25.234:TUP8:INFO:aria:ARIA state: expanded: false, set on element: [TDElement]{ID:isc_2P}
              12:44:25.237:TUP8:INFO:clears:isc_PickListMenu_0:clear() (9 children) 
              12:44:25.280:TUP8:DEBUG:layout:isc_PickListMenu_0:new field widths: 1280
              12:44:25.288:TUP8:INFO:PickListMenu:isc_PickListMenu_0:scrollCellIntoView() called before the body has been drawn.  Cell 1,null will be scrolled into view on draw().
              12:44:25.292:TUP8:INFO:aria:ARIA state: expanded: true, set on element: [TDElement]{ID:isc_2P}
              12:44:25.293:TUP8:INFO:aria:ARIA state: owns: isc_41, set on element: [TDElement]{ID:isc_2P}
              12:44:25.297:TUP8:INFO:PickListMenu:isc_PickListMenu_0:scrollCellIntoView() called before the body has been drawn.  Cell 1,null will be scrolled into view on draw().
              12:44:25.298:TUP8:INFO:EventHandler:isc_DynamicForm_1:Bubbling handleCellClick event for isc_SelectItem_3
              12:44:25.437:TMR0:INFO:sizing:isc_SelectItem_3_fillScreenContainer:Specified size: 1280x724, drawn scroll size: 0x0, border: 0x0, margin: 0x0, reason: childClear
              12:44:25.553:INFO:EventHandler:Target Canvas for event 'webkitTransitionEnd': [DynamicForm ID:isc_DynamicForm_1]
              12:44:25.554:INFO:EventHandler:Target Canvas for event 'webkitTransitionEnd': [DynamicForm ID:isc_DynamicForm_1]
              12:44:25.555:INFO:EventHandler:Target Canvas for event 'webkitTransitionEnd': [DynamicForm ID:isc_DynamicForm_1]
              12:44:25.556:INFO:EventHandler:Target Canvas for event 'webkitTransitionEnd': [DynamicForm ID:isc_DynamicForm_1]
              12:44:25.558:INFO:EventHandler:Target Canvas for event 'webkitTransitionEnd': [DynamicForm ID:isc_DynamicForm_1]
              12:44:25.837:TMR2:INFO:resize:isc_SelectItem_3_fillScreenContainer:resize of drawn component: new width/height: 1,1, old width/height: 1280,724, delta width/height: -1279,-723
              12:44:25.841:TMR2:INFO:adaptMembers:isc_SelectItem_3_fillScreenContainer:Layout.$1659(): remaining space is -1279 after reserving minimums for 0 stretch members
              12:44:25.842:TMR2:INFO:adaptMembers:isc_SelectItem_3_fillScreenContainer:found 0 size-adaptable members (ascending): 
              12:44:25.843:TMR2:INFO:adaptMembers:isc_SelectItem_3_fillScreenContainer:Layout.$1659(): remaining space is -1279 after reserving minimums for 0 stretch members
              12:44:25.844:TMR2:INFO:adaptMembers:isc_SelectItem_3_fillScreenContainer:found 0 size-adaptable members (ascending): 
              12:44:25.849:TMR2:INFO:layout:isc_PickListMenu_0:adding newMembers: [Canvas ID:isc_Canvas_0],[Canvas ID:isc_Canvas_1],[GridBody ID:isc_PickListMenu_0_body] at position: 0
              12:44:25.850:TMR2:INFO:draws:isc_PickListMenu_0:draw(): drawing PickListMenu with parent: [Layout ID:isc_SelectItem_3_fillScreenContainer]
              12:44:25.852:TMR2:INFO:drawing:isc_PickListMenu_0:inserting HTML into parent: [Layout ID:isc_SelectItem_3_fillScreenContainer]
              12:44:25.856:TMR2:DEBUG:layout:isc_PickListMenu_0:new field widths: 1280
              12:44:25.858:TMR2:INFO:adaptMembers:isc_PickListMenu_0:Layout.$1659(): remaining space is 722 after reserving minimums for 1 stretch members
              12:44:25.858:TMR2:INFO:adaptMembers:isc_PickListMenu_0:found 0 size-adaptable members (descending): 
              12:44:25.875:TMR2:INFO:draws:isc_Canvas_0:draw(): drawing Canvas with parent: [PickListMenu ID:isc_PickListMenu_0]
              12:44:25.876:TMR2:INFO:drawing:isc_Canvas_0:inserting HTML into parent: [PickListMenu ID:isc_PickListMenu_0]
              12:44:25.878:TMR2:INFO:drawing:isc_Canvas_0:drawChildren(): 1 children
              12:44:25.879:TMR2:INFO:draws:isc_SelectItem_3_pickerNavigationBar:draw(): drawing NavigationBar with parent: [Canvas ID:isc_Canvas_0]
              12:44:25.881:TMR2:INFO:drawing:isc_SelectItem_3_pickerNavigationBar:inserting HTML into parent: [Canvas ID:isc_Canvas_0]
              12:44:25.885:TMR2:INFO:adaptMembers:isc_SelectItem_3_pickerNavigationBar:Layout.$1659(): remaining space is 1279 after reserving minimums for 0 stretch members
              12:44:25.886:TMR2:INFO:adaptMembers:isc_SelectItem_3_pickerNavigationBar:found 0 size-adaptable members (descending): 
              12:44:25.887:TMR2:INFO:draws:isc_SelectItem_3_pickerExitButton:draw(): drawing NavigationButton with parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.889:TMR2:INFO:drawing:isc_SelectItem_3_pickerExitButton:inserting HTML into parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.893:TMR2:INFO:sizing:isc_SelectItem_3_pickerExitButton:Specified size: 1x42, drawn scroll size: 55x42, border: 0x0, margin: 0x0, old size: 55x42, reason: parentDrawn
              12:44:25.895:TMR2:INFO:adaptMembers:isc_SelectItem_3_pickerNavigationBar:Layout.$1659(): remaining space is 1225 after reserving minimums for 0 stretch members
              12:44:25.896:TMR2:INFO:adaptMembers:isc_SelectItem_3_pickerNavigationBar:found 0 size-adaptable members (descending): 
              12:44:25.901:TMR2:DEBUG:layout:isc_SelectItem_3_pickerNavigationBar:centering wrt visible breadth: 42
              12:44:25.902:TMR2:INFO:layout:isc_SelectItem_3_pickerNavigationBar:layoutChildren (reason: initial draw):
              layout specified size: 1280w x 44h
              drawn size: 1280w x 44h
              available size: 1280w (length) x 42h
                 [NavigationButton ID:isc_SelectItem_3_pickerExitButton]
                    55 drawn length (policyLength: 55) (inherent size)
                    42 drawn breadth (breadth policy: fill)
                12:44:25.904:TMR2:INFO:draws:isc_SelectItem_3_pickerNavigationBar_titleLabel_isc_OID_2:draw(): drawing Label with parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.906:TMR2:INFO:drawing:isc_SelectItem_3_pickerNavigationBar_titleLabel_isc_OID_2:inserting HTML into parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.908:TMR2:INFO:sizing:isc_SelectItem_3_pickerNavigationBar_titleLabel_isc_OID_2:Specified size: 1x42, drawn scroll size: 4x42, border: 0x0, margin: 0x0, old size: 1x42, reason: draw
              12:44:25.914:TMR2:INFO:redraws:isc_SelectItem_3_pickerNavigationBar_titleLabel_isc_OID_2:Scheduling redraw (setContents)
              12:44:25.915:TMR2:INFO:draws:isc_SelectItem_3_pickerNavigationBar_leftButton:draw(): drawing NavigationButton with parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.917:TMR2:INFO:drawing:isc_SelectItem_3_pickerNavigationBar_leftButton:inserting HTML into parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.919:TMR2:INFO:sizing:isc_SelectItem_3_pickerNavigationBar_leftButton:Specified size: 1x42, drawn scroll size: 117x42, border: 0x0, margin: 0x0, old size: 117x42, reason: draw
              12:44:25.924:TMR2:INFO:draws:isc_SelectItem_3_pickerNavigationBar_titleLabel:draw(): drawing Label with parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.926:TMR2:INFO:drawing:isc_SelectItem_3_pickerNavigationBar_titleLabel:inserting HTML into parent: [NavigationBar ID:isc_SelectItem_3_pickerNavigationBar]
              12:44:25.928:TMR2:INFO:sizing:isc_SelectItem_3_pickerNavigationBar_titleLabel:Specified size: 100x42, drawn scroll size: 100x42, border: 0x0, margin: 0x0, reason: draw
              12:44:25.930:TMR2:INFO:sizing:isc_SelectItem_3_pickerNavigationBar:Specified size: 1280x44, drawn scroll size: 55x42, border: 2x0, margin: 0x0, reason: parentDrawn
              12:44:25.932:TMR2:INFO:sizing:isc_Canvas_0:Specified size: 1280x1, drawn scroll size: 1280x44, border: 0x0, margin: 0x0, old size: 1280x44, reason: parentDrawn
              12:44:25.934:TMR2:INFO:layout:isc_PickListMenu_0:member: [Canvas ID:isc_Canvas_0] overflowed.  set length: 1 got length: 44
              12:44:25.934:TMR2:INFO:adaptMembers:isc_PickListMenu_0:Layout.$1659(): remaining space is 679 after reserving minimums for 1 stretch members
              12:44:25.935:TMR2:INFO:adaptMembers:isc_PickListMenu_0:found 0 size-adaptable members (descending): 
              12:44:25.936:TMR2:INFO:cellValueCache:isc_PickListMenu_0_body:Dropping all cached cell values 
              12:44:25.937:TMR2:INFO:draws:isc_PickListMenu_0_body:draw(): drawing GridBody with parent: [PickListMenu ID:isc_PickListMenu_0]
              12:44:25.941:TMR2:INFO:cellValueCache:isc_PickListMenu_0_body:getCellValue(0,0): Not using cached cell value(enable debug logging for stacktrace)
              12:44:25.944:TMR2:INFO:drawing:isc_PickListMenu_0_body:inserting HTML into parent: [PickListMenu ID:isc_PickListMenu_0]
              12:44:25.948:TMR2:INFO:sizing:isc_PickListMenu_0_body:Specified size: 1280x680, drawn scroll size: 1278x678, border: 2x2, margin: 0x0, reason: ScrollCellIntoView requesting size
              12:44:25.949:TMR2:INFO:scrolling:isc_PickListMenu_0_body:Drawn size: 1278 by 678, specified: 1280 by 680, scrollbar state: 
              12:44:25.952:TMR2:INFO:recordComponents:isc_PickListMenu_0:updateRecordComponents - new recordComponents:{}, old record components (will be cleaned up if value is 'true'):{}
              12:44:25.953:TMR2:DEBUG:layout:isc_PickListMenu_0:centering wrt visible breadth: 1280
              12:44:25.955:TMR2:INFO:layout:isc_PickListMenu_0:layoutChildren (reason: initial draw):
              layout specified size: 1280w x 724h
              drawn size: 1280w x 724h
              available size: 1280w x 724h (length)
                 [Canvas ID:isc_Canvas_0]
                    44 drawn length (resizeLength: 1) (policyLength: 44) (explicit size)
                    1280 drawn breadth (breadth policy: fill)
                 [Canvas ID:isc_Canvas_1]
                    undefined drawn length (policyLength: 0) (hidden)
                    undefined drawn breadth (undefined)
                 [GridBody ID:isc_PickListMenu_0_body]
                    680 drawn length (resizeLength: 680) (policyLength: 100%) (explicit size)
                    1280 drawn breadth (breadth policy: fill)
                12:44:25.956:TMR2:INFO:drawing:isc_PickListMenu_0:drawPeers(): 1 peers
              12:44:25.958:TMR2:INFO:draws:isc_BackMask_0:draw(): drawing BackMask with parent: [Layout ID:isc_SelectItem_3_fillScreenContainer]
              12:44:25.960:TMR2:INFO:drawing:isc_BackMask_0:inserting HTML next to master element: [PickListMenu ID:isc_PickListMenu_0]
              12:44:25.967:TMR2:INFO:sizing:isc_PickListMenu_0:Specified size: 1280x724, drawn scroll size: 1280x724, border: 0x0, margin: 0x0, reason: parentDrawn
              12:44:25.968:TMR2:DEBUG:layout:isc_SelectItem_3_fillScreenContainer:centering wrt visible breadth: 1
              12:44:25.971:TMR2:INFO:layout:isc_SelectItem_3_fillScreenContainer:layoutChildren (reason: resized):
              layout specified size: 1w x 1h
              drawn size: 1w x 1h
              available size: 1w (length) x 1h
                 [PickListMenu ID:isc_PickListMenu_0]
                    1280 drawn length (resizeLength: 1280) (policyLength: 1280) (explicit size)
                    724 drawn breadth (explicit size)
                12:44:25.973:TMR2:INFO:sizing:isc_SelectItem_3_fillScreenContainer:Specified size: 1x1, drawn scroll size: 1280x724, border: 0x0, margin: 0x0, reason: resize
              12:44:26.319:TMR7:INFO:drawing:isc_SelectItem_3_pickerNavigationBar_titleLabel_isc_OID_2:$ra(): redrawing
              12:44:26.322:TMR7:INFO:sizing:isc_SelectItem_3_pickerNavigationBar_titleLabel_isc_OID_2:Specified size: 1x42, drawn scroll size: 4x42, border: 0x0, margin: 0x0, old size: 4x42, reason: redraw
              12:44:29.528:TDN3:INFO:EventHandler:Target Canvas for event 'touchstart': [ImgButton ID:isc_Window_0_closeButton]
              12:44:29.535:TDN3:INFO:ImgButton:isc_Window_0_closeButton:call to deprecated setClassName() property - use setStyleName() instead
              12:44:29.537:TDN3:INFO:sizing:isc_Window_0_closeButton:Specified size: 15x15, drawn scroll size: 15x15, border: 0x0, margin: 0x0, reason: setImage() called
              12:44:29.541:TDN3:INFO:dragDrop:target is draggable with dragOperation: dragResize, dragTarget is : [Window ID:isc_Window_0] (delegated from: [ImgButton ID:isc_Window_0_closeButton])
              12:44:29.700:TUP4:INFO:EventHandler:Target Canvas for event 'touchend': [ImgButton ID:isc_Window_0_closeButton]
              12:44:29.707:TUP4:INFO:nativeFocus:isc_SelectItem_3[Test2]:about to call element blur
              12:44:29.712:TUP4:INFO:aria:ARIA state: hidden: true, set on element: [DIVElement]{ID:isc_1X}
              12:44:29.714:TUP4:INFO:aria:ARIA state: hidden: true, set on element: [DIVElement]{ID:isc_34}
              12:44:29.715:TUP4:INFO:resize:isc_Window_0_shadow:resize of drawn component: new width/height: 1,1, old width/height: 660,382, delta width/height: -659,-381
              12:44:29.720:TUP4:INFO:sizing:isc_Window_0_shadow:Specified size: 1x1, drawn scroll size: 40x40, border: 0x0, margin: 0x0, reason: resize
              12:44:29.722:TUP4:INFO:Window:isc_Window_0:getOffsetLeft() called before widget is drawn - unable to calculate offset coordinates.  Returning specified coordinates
              12:44:29.726:TUP4:INFO:clickMask:hideClickMask called with ID: isc_Window_0
              12:44:29.727:TUP4:INFO:clickMask:hiding clickMask ID: isc_Window_0[autoHide:false], all masks hidden
              12:44:29.729:TUP4:INFO:resize:isc_EH_screenSpan:resize of drawn component: new width/height: 1,1, old width/height: 1280,724, delta width/height: -1279,-723
              12:44:29.731:TUP4:INFO:sizing:isc_EH_screenSpan:Specified size: 1x1, drawn scroll size: 3200x2400, border: 0x0, margin: 0x0, reason: resize
              12:44:29.734:TUP4:INFO:aria:ARIA state: hidden: true, set on element: [DIVElement]{ID:isc_35}
              12:44:29.737:TUP4:INFO:resize:isc_Window_0_modalMask:resize of drawn component: new width/height: 1,1, old width/height: 1280,724, delta width/height: -1279,-723
              12:44:29.739:TUP4:INFO:sizing:isc_Window_0_modalMask:Specified size: 1x1, drawn scroll size: 3200x2400, border: 0x0, margin: 0x0, reason: resize
              12:44:29.740:TUP4:INFO:aria:ARIA state: hidden: true, set on element: [DIVElement]{ID:isc_36}
              Last edited by andyx1975; 10 Nov 2016, 03:46.

              Comment


                #8
                You didn't mention which version of SmartGWT you're using, only it's date - assuming you're using SmartGWT 6.0 or later, this has been fixed for builds dated December 2 and later.

                Comment

                Working...
                X