[maemo-developers] [maemo-developers] non-maemo apps in toolbar

From: Eero Tamminen eero.tamminen at movial.fi
Date: Thu Jan 5 13:34:42 EET 2006
Hi,

> What exactly are the other issues that I mentioned?  Here's a list that
> is likely incomplete (and doesn't mention those issues already
> discussed):

If user cannot switch to an application already having a window
open, that should be filed as a bug.  I did a quick search on
Maemo bugzilla, but didn't find anything.  Didn't anybody consider
this as a bug???


As to the input method, maybe the program could depend from
xkbd (AFAIK doesn't support unicode, but as it works by synthetizing
key events with XTest extension it should work with all X programs)
and launch it when the program itself is started?


> 1.  Full screen support

That doesn't need Gtk or Maemo support.  Just the use of the
EWMH standard window property for fullscreen. See:
	http://www.freedesktop.org/wiki/Standards_2fwm_2dspec

Fullscreen key is sent as a normal X key event so that shouldn't
be a problem either.


> 2.  Proper menus, toolbars, titles.

These are only look & layout issues, not problems functionality
wise.  Menu key is also sent as a normal X key event.


> 3.  Integration with libosso (refer to libosso APIs for more information).

I think the only real problem here is that program shouldn't
use CPU (*at all*) if it's not visible (either untopped or
screen is blanked) and it's not doing something for the user
(e.g. playing music). Otherwise it will drain the battery
pretty quickly.

This shouldn't be any problem for apps that react only
to user input and don't do any polling.  Other applications
(and games), could check either:
- if they lose focus (e.g. in fullscreen SDL game)
- Matchbox X property for topmost app window (e.g. in Xlib programs), see:
  http://projects.o-hand.com/matchbox/documentation/developers/matchbox-key.txt
And then pause their polling...


> 4.  And finally, behaving in a way that 770 users expect, based on
> the already existing software on the device and developed for the device.

Well, one can't get everything. :-)


	- Eero


More information about the maemo-developers mailing list