Project

General

Profile

Bug #3083

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

Unhandled exception when Shift+Alt+Tab in EDITOR

Added by Hynek Cihlar about 8 years ago. Updated about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:

History

#1 Updated by Hynek Cihlar about 8 years ago

Occurs in current trunk, both Web and Swing GUIs.

To replicate:
  1. Run demo/demo_widgets.p
  2. Select the second frame with EDITOR in it.
  3. Alt-Tab through all the widgets in the frame.
  4. Shift-Alt-Tab back through all the frame widgets until the exception below occurs.
Caused by: java.lang.IllegalStateException: Could not resolve frame from widget ScrollBarGuiButton [id=-69]
    at com.goldencode.p2j.ui.client.FocusManager.focusChange(FocusManager.java:1232)
    at com.goldencode.p2j.ui.chui.ThinClient.previousTabStop(ThinClient.java:18365)
    at com.goldencode.p2j.ui.client.AbstractButton.prevTabStop(AbstractButton.java:468)
    at com.goldencode.p2j.ui.client.AbstractButton.handleCursorKeys(AbstractButton.java:355)
    at com.goldencode.p2j.ui.client.AbstractButton.processKeyEventCommon(AbstractButton.java:311)
    at com.goldencode.p2j.ui.client.Button.processKeyEvent(Button.java:467)
    at com.goldencode.p2j.ui.client.widget.AbstractContainer.processKeyEvent(AbstractContainer.java:897)
    at com.goldencode.p2j.ui.client.widget.AbstractContainer.processKeyEvent(AbstractContainer.java:897)
    at com.goldencode.p2j.ui.client.widget.AbstractContainer.processKeyEvent(AbstractContainer.java:897)
    at com.goldencode.p2j.ui.client.widget.AbstractContainer.processKeyEvent(AbstractContainer.java:897)
    at com.goldencode.p2j.ui.client.Editor.processKeyEvent(Editor.java:895)
    at com.goldencode.p2j.ui.client.gui.EditorGuiImpl.processKeyEvent(EditorGuiImpl.java:617)
    at com.goldencode.p2j.ui.client.widget.AbstractWidget$1.run(AbstractWidget.java:2052)
    at com.goldencode.p2j.ui.chui.ThinClient.eventBracket(ThinClient.java:14272)
    at com.goldencode.p2j.ui.chui.ThinClient.eventDrawingBracket(ThinClient.java:14213)
    at com.goldencode.p2j.ui.chui.ThinClient.independentEventDrawingBracket(ThinClient.java:14086)
    at com.goldencode.p2j.ui.client.widget.AbstractWidget.processSystemKey(AbstractWidget.java:2029)
    at com.goldencode.p2j.ui.chui.ThinClient.checkForSystemEvent(ThinClient.java:13452)
    at com.goldencode.p2j.ui.chui.ThinClient.waitForEvent(ThinClient.java:13341)
    at com.goldencode.p2j.ui.chui.ThinClient.waitForWorker(ThinClient.java:11202)
    at com.goldencode.p2j.ui.chui.ThinClient.waitFor(ThinClient.java:10776)
    at com.goldencode.p2j.ui.chui.ThinClient.waitFor(ThinClient.java:10730)

#2 Updated by Hynek Cihlar about 8 years ago

  • Start date deleted (04/26/2016)

#3 Updated by Greg Shah about 8 years ago

  • Parent task set to #2677

Also available in: Atom PDF