Archived:Incorrect behavior of CAknGrid in the Nokia N95 (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Drawing the grid when the cell in focus is changed a number of times causes erroneous behavior.

Article Metadata
Tested with
Devices(s): Nokia N95, Nokia E90 Communicator
Platform(s): S60 3rd Edition, FP1
S60 3rd Edition FP2
S60 3rd Edition FP1
Created: User:Technical writer 1 (18 Dec 2007)
Last edited: hamishwillee (19 Jun 2012)


Implementing a grid with CAknGrid as in the FileList example application in the SDK causes incorrect behavior when the cell in focus is changed a number of times. The last 2 cells (on the right-hand side of the screen) are not redrawn properly and become white gradually (because of being highlighted a number of times).

How to reproduce

  1. Launch the FileList example application in portrait mode.
  2. Switch to landscape mode.
  3. Change the cell in focus a number of times.

Some of the cells are not redrawn properly.


The issue can be solved by calling CFormattedCellListBoxData::SetSkinStyle()in its SizeChanged() method. Normally lists and grids have code in their SizeChanged() implementation which calls SetSkinStyle():

void CGridExContainer::SizeChanged()
This page was last modified on 19 June 2012, at 08:06.
22 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.