Unplugging an external monitor or docking a laptop forces the windowing system to renegotiate the viewerframe mode. The refresh update ensures the frame buffer is reset to avoid displaying a corrupted "last frame" from the previous display configuration.
In scientific visualization (e.g., medical imaging), switching from "2D Slice Mode" to "3D Volume Rendering Mode" requires recalculating voxel data. Without a proper refresh updated, the ViewerFrame might display ghost artifacts from the previous mode. viewerframe mode refresh updated