Project

General

Profile

Bug #3073

Bug #2677: fix drawing and functional differences between P2J GUI and 4GL GUI

Combo-box bug: widget is not in the container

Added by Vadim Gindin about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD
case_num:

History

#1 Updated by Vadim Gindin about 8 years ago

Here is the stack of this error met in trunk:

Caused by: java.lang.IllegalStateException: widget is not in the container
        at com.goldencode.p2j.ui.client.widget.AbstractWidget.screenPhysicalLocation(AbstractWidget.java:850)
        at com.goldencode.p2j.ui.client.widget.AbstractWidget.getActualBounds(AbstractWidget.java:2329)
        at com.goldencode.p2j.ui.client.gui.driver.swing.SwingMouseHandler$9.run(SwingMouseHandler.java:292)
        at com.goldencode.p2j.ui.chui.ThinClient.waitForEvent(ThinClient.java:13256)
        at com.goldencode.p2j.ui.chui.ThinClient.waitForWorker(ThinClient.java:11202)
        at com.goldencode.p2j.ui.chui.ThinClient.waitFor(ThinClient.java:10776)

For example, the test demo/demo_widgets.p: just selecting items of combo-box chcb and at some moment we'll see this error. The error happen not each time we select an item.

Other test: demo/movie-ratings-dynamic.p, the field Select movie. After window is opened press space and after widgets will be enabled, select items in combobox Select movie. The error happen almost each time.

#2 Updated by Hynek Cihlar about 8 years ago

  • Status changed from New to WIP
  • Assignee set to Hynek Cihlar

#3 Updated by Hynek Cihlar about 8 years ago

Could not reproduce the issue. I have tried several tests with combo boxes, including the above mentioned demo/demo_widgets.p and demo/movie-ratings-dynamic.p in both Swing and Web GUI. Possibly the problem has been already resolved since.

#4 Updated by Hynek Cihlar about 8 years ago

  • % Done changed from 0 to 100

#5 Updated by Greg Shah about 8 years ago

Vadim: can you recreate this on the current trunk?

#6 Updated by Greg Shah almost 8 years ago

Vadim: please test this and confirm if you can recreate it.

#7 Updated by Vadim Gindin almost 8 years ago

I've tested it and couldn't recreate it. So we can assume this task is not actual.

#8 Updated by Greg Shah almost 8 years ago

  • Start date deleted (04/20/2016)
  • Status changed from WIP to Closed
  • Target version set to Milestone 16

#9 Updated by Greg Shah over 7 years ago

  • Target version changed from Milestone 16 to Cleanup and Stabilization for GUI

Also available in: Atom PDF