Project

General

Profile

Bug #3071

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

A NPE is thrown when Alt-Tab while COMBO-BOX drop down active

Added by Hynek Cihlar 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 Hynek Cihlar about 8 years ago

This can be reproduced in current trunk.

The steps:
  1. Open COMBO-BOX drop down by clicking into the widget.
  2. Press Alt-tab.
  3. An NPE is thrown, see below for the call stack.
Thread [main] (Suspended (exception NullPointerException))    
    ThinClient.invokeTriggers(Widget, Widget, long, int, boolean, Integer, Integer) line: 16770    
    ThinClient.invokeTriggers(Widget, Widget, int, boolean) line: 16639    
    ThinClient.processProgressEvent(Event) line: 16217    
    FocusManager.focusChange(Widget, boolean, boolean) line: 1388    
    ThinClient.nextTabStop(Widget) line: 18350    
    ComboBoxGuiImpl(ComboBox<O>).processKeyEvent(KeyInput) line: 505    
    ComboBoxGuiImpl.processKeyEvent(KeyInput) line: 494    
    ComboBox$1.run() line: 1369    
    ThinClient.eventBracket(boolean, Runnable) line: 14272    
    ThinClient.eventDrawingBracket(Widget<?>, boolean, boolean, Runnable) line: 14213    
    ThinClient.independentEventDrawingBracket(Widget, Runnable) line: 14086    
    ComboBoxGuiImpl(ComboBox<O>).processSystemKey(KeyInput) line: 1364    
    ComboBoxGuiImpl.processFocusMoveKey(KeyInput) line: 660    
    ComboBoxGuiImpl.postprocessDropDown() line: 940    
    ComboBoxGuiImpl(ComboBox<O>).activate() line: 1153    

The cause seems to be in FocusManager. It must be made aware of the overlay windows when calculating the next focused widget on TAB.

#2 Updated by Greg Shah about 8 years ago

  • Start date deleted (04/19/2016)
  • Parent task set to #2677

#3 Updated by Hynek Cihlar almost 8 years ago

Cannot reproduce anymore, resolved by #3062.

#4 Updated by Hynek Cihlar almost 8 years ago

  • % Done changed from 0 to 100

#5 Updated by Greg Shah almost 8 years ago

  • Target version set to Milestone 16
  • Status changed from New to Closed
  • Assignee set to Hynek Cihlar

#6 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