Announcement

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

    onItemChanged() bugs in TextAreaItem and RichTextItem?

    Hello

    1. SmartClient Version: SNAPSHOT_v9.0d_2013-04-06/LGPL Development Only (built 2013-04-06)
    6. sample code: see attachment


    Issue 1.
    When text data is loaded into TextAreaItem I put cursor there and move it with arrow keys. First time it raises ItemChangedEvent event.

    Appears in IE 9. Works correct in FF 20

    It looks like a bug. Can it be fixed?

    Issue 2.
    generalValuesManager.editRecord(record) raises onItemChanged() event for RichTextItem.
    It also looks like a bug.

    Appears in IE8, IE 9. FF 20


    testData.xml (sorry, not able to upload more than 5 files)
    Code:
    <List>  
    <testItem>  
        <text>text 1</text>  
        <comment>Comment 1
            2
            
            4
        </comment>  
    </testItem>  
    <testItem>  
        <text>text 2</text>  
        <comment>Comment 2</comment>  
    </testItem>  
    </List>
    Attached Files

    #2
    Please try simplifying to a minimal test case and let us know if you still get an issue. This test case appears to have a bunch of extraneous elements - one file should be sufficient, with either no DataSource or a clientOnly DataSource.

    Comment


      #3
      Please, find new files attached.

      TestIso.java - for TextAreaItem
      TestIsoRich.java - for RichTextItem

      Test case for TextAreaItem:
      put cursor on Line 3
      press Up button
      -> get ItemChanged message

      Test case for RichTextItem:
      run application
      -> get ItemChanged message
      Attached Files

      Comment


        #4
        We see the issue and it's assigned to be looked at - we'll update this thread when we have more information

        Comment


          #5
          Thank you, Isomorphic.

          Comment


            #6
            We've made changes that should address this in 4.0. Please retest with a nightly build dated May 20 or later

            Comment


              #7
              Hi

              Issue 1.
              When text data is loaded into TextAreaItem I put cursor there and move it with arrow keys. First time it raises ItemChangedEvent event.

              Still appears in IE 9. Could you please finally fix it?

              SmartClient Version: v9.1p_2014-03-18/LGPL Development Only (built 2014-03-18)

              Comment

              Working...
              X