Categories: Known Issue | Symbian C++ | S60 3rd Edition, Feature Pack 1 | S60 3rd Edition, Feature Pack 2 | UI
This page was last modified 11:01, 7 January 2008.
KIS000795 - Incorrect behavior of CAknGrid in the Nokia N95
From Forum Nokia Wiki
| ID | KIS000795 | Creation date | December 18, 2007 |
| Platform | S60 3rd Edition, FP1 | Devices | Nokia N95, Nokia E90 Communicator |
| Category | Symbian C++ | Subcategory | UI, UI components |
Overview
Drawing the grid when the cell in focus is changed a number of times causes erroneous behavior.
Description
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.
Solution
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() { ... iGrid->ItemDrawer()->FormattedCellData()->SetSkinStyle(&KAknsIIDQsnBgAreaMain, Rect()); ... }
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Nokia Smart Messaging N95 | eduardo.almeida | General Messaging | 1 | 2008-02-13 17:17 |
| How to set SubCell Colour in CAknGrid | mobile_don | Symbian User Interface | 0 | 2007-11-29 11:35 |
| Keypad Layout? | amirelattar | Symbian User Interface | 1 | 2002-12-13 00:55 |
| N95, h.264, details on level/profile supported? | bugme | Graphics & Video & Streaming | 0 | 2007-05-04 12:40 |
| icons are not getting displayed | nokiarulz | Symbian User Interface | 3 | 2007-02-07 11:29 |

