The Following 2 Users Say Thank You to artpra For This Useful Post: | ||
|
2012-02-01
, 17:56
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#122
|
I`m stress testing (as before) "edition" with seconds and with script wrapper. It`s not the newest version (from tommorow) but one build older.
I don`t know how and I can`t reproduce it but I have managed to run two instances of clock at the same time. Take a look:
I touched the clock icon from main menu (applications view, not desktop) and somehow, instead of taking me directly to the already opened clock in the background, second instance appeared.
|
2012-02-01
, 18:11
|
|
Posts: 158 |
Thanked: 355 times |
Joined on Sep 2011
|
#123
|
|
2012-02-01
, 22:33
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#124
|
Is there any 'assert' in the code? It won't be expanded in release and maybe some code after the assertion is executed because it's not correctly guarded. It could apply to any other code dependant on the debug flags.
|
2012-02-01
, 22:53
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#125
|
The application must be registered as a D-Bus service so that it will not be killed automatically by the system.
The Following 5 Users Say Thank You to nicolai For This Useful Post: | ||
|
2012-02-01
, 23:18
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#126
|
Hi ade,
I think I found the reason why the application crashes.
For me, this only happens when the applications starts
by the clockicon, or the statusmenu clock button. But
not when starting the app from the commandline.
So, what makes the difference? Applications started from
the app-icon are started by a dbus-call. And according to
this
(Maemo: Hildonizing application UI)
You have to use osso_initialize or register yourself
for the dbus top_application call.
Here is a nice example.
(Qt application for Maemo with DBus support)
user 4256 4255 0 00:33 ? 00:00:00 /bin/sh /usr/bin/worldclock user 4259 4256 4 00:33 ? 00:00:03 /usr/bin/worldclock.exe
user 4259 1 3 00:33 ? 00:00:05 /usr/bin/worldclock.exe
|
2012-02-01
, 23:56
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#127
|
|
2012-02-02
, 11:47
|
Posts: 838 |
Thanked: 3,384 times |
Joined on Mar 2009
|
#129
|
|
2012-02-02
, 12:26
|
Posts: 838 |
Thanked: 3,384 times |
Joined on Mar 2009
|
#130
|
apt-get install worldclock
apt-get install clock-ui
The Following 2 Users Say Thank You to AapoRantalainen For This Useful Post: | ||
Tags |
clock-ui, replacement, worldclock |
Thread Tools | |
|
I don`t know how and I can`t reproduce it but I have managed to run two instances of clock at the same time. Take a look:
I touched the clock icon from main menu (applications view, not desktop) and somehow, instead of taking me directly to the already opened clock in the background, second instance appeared.