Bug #4625
Frame configuration not shared or synched back to the GUI frame on redirection
0%
Related issues
History
#1 Updated by Roger Borrello about 4 years ago
- Related to Feature #4164: implement misc UI features (frame options, misc attributes) added
#2 Updated by Roger Borrello about 4 years ago
During debug, I found that when the visible
flag is set prior to the frame being displayed, the getFrame(frameId)
returns FrameGuiImpl
. After the frame is displayed, it returns FrameChuiImpl
.
During the f0
frame handling, the visible
flag is found to be true
in the FrameChuiImpl
, so it's values for FRAME-COL
and FRAME-ROW
are returned correctly. But for all the other frames, it is left as false
.
I am not familiar enough with why FrameGuiImpl
is the frame class before the display, and FrameChuiImpl
after, to know if that's working correctly. I do see when the frame is displayed, the visible
in FrameGuiImpl
is what is set.
I set a breakpoint in the client FrameChuiImpl
and it shows StreamableWidget.convertToStreamable
-> FrameGuiImpl.convertToStreamable
-> WidgetFactoryAdapter.ChuiWidgetFactory.create
...
Testcase:
uast/frame_layout/frame_loc_attributes_get2-redirected.p uast/frame_layout/frame_loc_attributes_get2.p uast/frame_layout/frame_loc_attributes_helper.i
The helper takes a pre-processor directive for a log file. If it's there, it redirects. If it's not, it doesn't redirect.