Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Refreshing problem when using a status pane with small layout (Known Issue)

From 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}}.

Applications using small status pane layout may experience a refreshing problem after launching a dialog containing EDWIN control(s).

Article Metadata
Platform(s): S60 3rd Edition
S60 3rd Edition (initial release)
Created: User:Technical writer 1 (20 Aug 2007)
Last edited: hamishwillee (21 Jun 2012)


When a small status pane with a signal pane is used in an application, the signal strength indicator is embedded in the status pane. If a dialog with an EDWIN control is launched, the text editor will hide the status pane automatically. However, after the dialog is dismissed, the status pane is displayed incorrectly, without the signal strength indicator.

How to reproduce

Create a small status pane by calling:


Launch a dialog with an EDWIN control inside it for taking user input. After launching the dialog, the status pane is overwritten by the text field and shows empty with a T9 indicator on the right side. Enter some input and press OK. The status pane is not returned back to original but is left empty.


There are two possible workaround solutions for this problem:

  1. From the dialog's OkToExitL() method, launch an AknNoteDialog with a short timeout period (for example, 1 µs) to reset the status pane, then call SwitchLayout() for the status pane again.
        CAknNoteDialog* pdlg = new (ELeave) CAknNoteDialog();
    // sp is a pointer to status pane
    Resource definition for the note dialog:
        RESOURCE DIALOG r_singlepage_dialog
    flags = EEikDialogFlagNoDrag |
    EEikDialogFlagFillAppClientRect |
    EEikDialogFlagCbaButtons |
    items =
    type = EAknCtNote;
    id = ESomeLabel;
    control = AVKON_NOTE
    layout = ETextualNotificationLayout;
  2. Start an active object with a timer (for example, 10 µs) in OkToExitL(). In RunL(), (when the timer expires) call SwitchLayoutL() for the status pane, as described above.
This page was last modified on 21 June 2012, at 05:19.
20 page views in the last 30 days.