[maemo-developers] osso, muali , dbus and Qt closeEvent()s

From: David Greaves david at dgreaves.com
Date: Tue Mar 24 19:49:35 EET 2009
Kimmo Hämäläinen wrote:
> On Mon, 2009-03-23 at 14:44 +0100, ext David Greaves wrote:
>> Hi
>>
>> Crossposting as I think this is a maemo-dev question of interest to Qt devs :)
>>
>> I am having a problem with my Qt applications and the osso window manager.
>> Essentially the window manager is doing a sigkill which doesn't allow Qt to emit
>> a closeEvent().
> 
> You mean D-Bus daemon is killing you 20-30s after you are D-Bus
> activated?
No. I know about that one :)

ah, and as I write this I see Antonio has solved it :)  \o/
But we still have issues....

> Maybe looking at this example helps:
> https://garage.maemo.org/svn/maemoexamples/tags/maemo_4.1/maemopad/
Yes, used that - happy with osso_initialize()

I actually would like to know what osso_initialize() should do so we can do the
right things in a Qt app though.

And your name appears a lot in the source Kimmo :)

>> Digging into libosso and libossowm/osso-rpc.c I find
>>
>> #define HILDON_DESKTOP_SERVICE "com.nokia.hildon-desktop"
>> #define HDWM_STARTUP_NOTIFICATION_IFACE "com.nokia.hildon.hdwm.startupnotification"
>> #define HDWM_OBJECT_PATH                "/com/nokia/hildon/hdwm"
>> #define HDWM_STARTUP_NOTIFICATION_STARTING  "starting"
> 
> You don't need this. It's just for the "Loading..." banner in Diablo.
OK - but do you have a list of things that we should do to make Qt equivalent to
gtk?

I seem to recall things like dbus messages on low memory and others. Are these
documented?

The banner would be nice - but the dbus services listed above don't seem to be
correct - and I can't find them using a dbus introspect (qdbusviewer)
ie this bit (from original email)

>> Message:Method "starting" with signature "" on interface
>> "com.nokia.hildon.hdwm.startupnotification" doesn't exist
>>
>> I installed qdbusmonitor and "com.nokia.hildon-desktop" doesn't provide
>> hdwm.startupnotification or starting
>>
>> Nor do I see it on the dbus-monitor --session when my gtk app runs.

Are you in a postion to help us write the Qt equivalent of osso_initialize() and
help make Qt == Gtk


David

-- 
"Don't worry, you'll be fine; I saw it work in a cartoon once..."

More information about the maemo-developers mailing list