View Issue Details

IDProjectCategoryView StatusLast Update
0020596Open CASCADEOCCT:Visualizationpublic2009-06-25 11:15
ReportersanAssigned Topsn 
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSWindows NT 
Fixed in Version6.3.1 
Summary0020596: Eliminate background flicker in 3D view
DescriptionOn Windows, resizing a 3D view window or the main application window in MDI
aplications where 3D view is an MDI child, results in backround flicker: the
view is first filled with the widget's background (typically grey) and then a
3D scene is drawn.

See for instance standard Qt ImportExport sample.

Several posts on OpenCASCADE community forum shows that many community members
has also discovered this problem. All they correct it by adding the following
line to their 3D view window creation code:

Handle(WNT_Window) w = new WNT_Window( .... );
// This line prevents flicker
w->SetFlags( WDF_NOERASEBKGRND );

It is suggested to add this line to WNT_Window class constructor so as not to
draw the background by default. This might affect 2D viewer applications,
however 3D view window is the main use of WNT_Window class, and its default
behavior should reflect this.
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2008-11-01 14:47 san CC => psn
2008-11-01 14:49 bugmaster Assigned To bugmaster => psn
2008-11-01 14:49 bugmaster Status new => assigned
2008-11-07 16:03 san OtherBugsDependingOnThis => 20205
2008-11-12 12:06 psn Status assigned => resolved
2009-06-25 13:15 bugmaster Status resolved => closed
2009-06-25 13:15 bugmaster Resolution @0@ => fixed
2011-08-02 11:24 bugmaster Category OCCT:VIZ => OCCT:Visualization