Bug #8911
Default focus resolution should NOT be done until window receives focus
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
Related issues
History
#1 Updated by Vladimir Tsichevski 4 days ago
- File 8770-window.p
added
Code example 8770-window.p
:
- a number of frames with buttons in the root frame.
- the root frame is displayed in a dynamically-created window.
In OE:
- the window is opened unfocused
- no focus update happens: no widgets receives
ENTRY
orLEAVE
events - if the user passes focus to the window somehow, for example, by clicking the window title, then
- the focus resolution happens: the root frame and the window receive
ENTRY
events, no focus is set as the result.
In FWD:
- the window is opened visually unfocused (or it is focused and immediately unfocused?)
- focus resolution happens: widgets receive
ENTRY
events thenLEAVE
events
It seems, in FWD, the newly-created window receives focus first, then focus is removed, so the focus update happen twice.
Also, the focus resolution result is incorrect: in OE no focus is set, while in FWD the first suitable field in the tab ring receives the focus.
#2 Updated by Vladimir Tsichevski 4 days ago
- Related to Bug #8673: Deduce the logic behind OE focus management and implement in FWD added