Bug #2935
Bug #2677: fix drawing and functional differences between P2J GUI and 4GL GUI
Active drop-down disables triggers and WAIT ... PAUSE
0%
History
#1 Updated by Igor Skornyakov over 10 years ago
- File cb-active.p
added
When the drop-down COMBO-BOX (DROP-DOWN and DROP-DOWN-LIST mode) is active then ON <key> ANYWHERE is not invoked and WAIT-FOR ... PAUSE is never ended.
How to reproduce:
Run the attached program.
1. Activate drop-down for cb0! or @cb1 and press CTRL-W. With ABL the trigger will be invoked but with p2j it will not.
2. Press CTRL-W while drop down is not activated. After the next message will be emitted 5 seconds will be displayed activate drop-down within 5 seconds interval. With p2j the second message wait ended will never be shown.
#2 Updated by Igor Skornyakov over 10 years ago
- Assignee set to Igor Skornyakov
#3 Updated by Igor Skornyakov over 10 years ago
The first issue is fixed.
Committed to the task branch 2565a revno 10980.
#4 Updated by Igor Skornyakov over 10 years ago
There is a problem with fixing the second issue. Both WAIT-FOR ENDKEY OF DEFAULT-WINDOW PAUSE 5. and activated COMBO-BOX end up with the ThinClient.waitForEvent() method invoked from the main thread.It is unclear for me now how to deal with the issue in a single thread event processing model.
#5 Updated by Igor Skornyakov over 10 years ago
I was able to implement and test drop-down deactivation on the SET-WAIT-STATE with fixed first issue. May be it makes sense to postpone the second one and finish the #2565 first?
Thank you.
#6 Updated by Greg Shah over 10 years ago
May be it makes sense to postpone the second one and finish the #2565 first?
Yes.
#7 Updated by Igor Skornyakov over 10 years ago
Greg Shah wrote:
May be it makes sense to postpone the second one and finish the #2565 first?
Yes.
Thank you Greg.