Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 06:14, 31 December 2007.

Screen flicker

From Forum Nokia Wiki

Screen flicker is generally caused by CCoeControl subclasses clearing their rectangle before drawing to it in their Draw method. It's often made worse by excessive use of CCoeControl::DrawNow. Finding the code that is actually causing a particular flicker can often be very difficult. Here's an approach that I've found very useful in the past:


1. Launch the WINS debugger.

2. Resize the MSDev window so that both it and the Symbian OS emulator window are both fully visible.

3. Launch an application with which the flicker can be reproduced.

4. Type ctrl-alt-shift-f to enable Window Server auto-flushing. [This will allow you to see the effect of each draw command]

5. Put a break point in the draw method that is suspected to be causing the problem (or if you're really in the dark then in CCoeControl::HandleRedrawEvent).

6. Type ctrl-alt-shift-r - this will cause a full screen redraw and the debugger should stop at your break point.

7. Step through the draw code, observing the effect of each draw command on the emulator window.

For more Tips Refer : Debugging Draw Function

Related Discussions
Thread Thread Starter Forum Replies Last Post
Problem in shifting view ash_21 General Symbian C++ 26 2007-09-11 05:52
Two GameCanvas Viggy Mobile Java Media (Graphics & Sounds) 0 2004-11-28 19:18
Screen Capure Tool on N80 paresh4617 General Browsing 1 2007-06-13 17:07
Phone Screen to PC screen or Projector geerishxxx General Browsing 1 2006-01-17 11:55
how to get the total area of the screen abrahim General Symbian C++ 2 2003-05-14 13:22
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZseriesE5f60Q
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX