Archived:Incorrect behavior of CAknGrid in the Nokia N95 (Known Issue)
Drawing the grid when the cell in focus is changed a number of times causes erroneous behavior.
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
- Launch the FileList example application in portrait mode.
- Switch to landscape mode.
- 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():