[maemo-developers] QtMobility app shows, hides, shows again at startup
From: David Talmage talmage at acm.orgDate: Fri Apr 8 21:08:55 EEST 2011
- Previous message: PySide 1.0.1: Python for Qt released for Maemo5!
- Next message: QtMobility app shows, hides, shows again at startup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
My newly released PanicButton application [1] behaves strangely at startup. When I start the application, it displays its window, then immediately hides the window. In a few but significant number of seconds, it displays its window again. It should display its window only once. Perhaps one of you can help me make it behave the right way. I can't be the only one who has ever encountered this application behavior. I've searched for a solution but haven't found the right way to describe it to Google or developer.qt.nokia.com. This is what PanicButton does at startup in order: 1. Changes the style sheet of its single, large button, so that the text color is green. 2. Creates but does not display a dialog for choosing contacts. 3. Reads settings from a file. 4. Creates a QMenuBar, populates it with QActions, and displays it. Each QAction has some of its signals connected to slots in PanicButton. 5. Creates a QMessageService and connects one of its signals to one of the PanicButton slots. 6. Creates a QGeoPositionInfoSource, connects one of its signals to one of the PanicButton slots, and asks it to begin getting updates. 7. Connects some of the contact chooser dialog's signals to PanicButton's slots. 8. Connects some of the signals of two QContactFetchRequests to some of PanicButton's slots. 9. Starts one of the QContactFetchRequests. Dave [1] http://talk.maemo.org/showthread.php?p=982605
- Previous message: PySide 1.0.1: Python for Qt released for Maemo5!
- Next message: QtMobility app shows, hides, shows again at startup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]