Announcement

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

    SmartGWT Warning when destroying DrawItem

    I am trying to get rid of any warnings produced by SmartGWT in our product in order to ensure we are using SmartGWT as intended.

    One warning I can't seem to resolve is when using the Drawing API (e.g. DrawLine), destroying the object gives the following:
    "DrawItem not yet drawn - exiting erase()"

    The line is drawn: it is displayed in the window.

    I can reproduce the issue if I use the code from this example:
    http://www.smartclient.com/smartgwt/showcase/#lines_and_arrowheads

    Here is the information for my development environment:
    Isomorphic SmartClient Framework (v8.2p_2012-08-08/PowerEdition Deployment 2012-08-08)

    FireFox 14.0.1 (may not be limited to this browser)

    Here are the log messages from the console:

    15:48:20.853:MUP7:INFO:destroys:isc_DrawPane_0:destroy()
    15:48:20.864:MUP7:WARN:DrawLine:isc_DrawLine_1:DrawItem not yet drawn - exiting erase()
    15:48:20.865:MUP7:WARN:DrawLinePath:isc_DrawLinePath_1:DrawItem not yet drawn - exiting erase()
    15:48:20.871:MUP7[E]:INFO:layout:isc_VLayout_0:layoutChildren (reason: membersRemoved):
    layout specified size: 100w x 100h
    drawn size: 300w x 104h
    available size: 100w x 100h (length)
    [DynamicForm ID:dynamicForm]
    104 drawn length (policyLength: 104) (inherent size)
    300 drawn breadth (explicit size)

    Please let me know if any more information is needed.

    #2
    I'm still having this issue. Any suggestions?

    Comment

    Working...
    X