Bug #9591
Displaying a down frame with no widgets is not working properly
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:
History
#1 Updated by Lorian Sandu over 1 year ago
- Subject changed from Displaying a frame with no widgets is not working properly to Displaying a down frame with no widgets is not working properly
- File fwd_GUI_v2.png added
- File fwd_GUI.png added
- File 4gl_GUI.png added
Testcase:
form "FRAME A" with frame a no-box no-labels width 10. form "FRAME B" with frame b no-box no-labels width 10. form with frame f-blank no-box 2 down no-labels width 10. display with frame a. display with frame f-blank. display with frame b.
4GL :

FWD :

f-blank has no widgets so it is not displayed.
In #8953-190, Hynek suggested to remove
// ignore call if there are no widgets defined in frame
if (data != null &&
data.length == 0 &&
(widgets == null || widgets.length == 0) &&
(headers == null || headers.length == 0))
{
return;
} from GenericFrame.displayWorker and GenericFrame.displayAndDownWorker. Now, f-blank will appear on the screen:

This is good but it is still not replicating the 4GL behavior (it is not honoring the 2 down)