So, spent some time at MobileBarCamp and at work this Monday, re-organising MokoFingerScroll and how it synthesises events. Previously, all events would be intercepted and only after the cursor button was raised would a whole ‘click’ event be synthesised. This is probably how it works in Qtopia, as they seem to have the same problems in their similar widget in Qtopia phone edition (which I recently tried on the OpenMoko phone).
Now, when the mouse is clicked, an enter and a button-down event are sent to the underlying widget – then all following motion events are transformed and forwarded onto that widget too. When the mouse is raised, if scrolling occured, a leave event is sent, then a button-raise event are sent. If no scrolling occured, we want the underlying widget to respond to the click, so we send the button-raise event first, then the leave event.
The up-shot of this is, text selections work in MokoFingerScroll (hah, take that Qtopia! +1 GTK!) and behaviour of widgets in MokoFingerScroll is just overall more reliable and predictable (for example, buttons present their ‘pressed’ state while you hold down on them now). There are still a couple of kinks to work out, but this is much better than the previous method.
libjana documentation
Was going to get my hair dreaded today, but it ends up it’s still a couple of inches too short ๐ So spent most of the day watching Bones and filling in the blanks for the documentation of libjana. 100% symbol docs coverage ๐ (libjana-ecal and libjana-gtk to follow in the near future) This means that all the info is there if you wanted to write a new back-end for libjana, say, for example, xmltv for TV listings, or GPE, or whatever KDE uses, etc. It also means you could write interface widgets for another toolkit, like Qt, EFL, or Clutter. No excuses for people not to be doing my work for me now, hop to it! In all seriousness though, libjana[-ecal|-gtk] may be something you want to consider if you’re writing an application to interoperate with calendar data on the GNOME desktop and you’ve seen what using libecal is like. I’ll try and write something a bit more substantial about it at some point.
[Update]: libjana-ecal documentation complete
]]>Openmoko on TV!
I know thomas has already blogged about it, but this is really cool. ABC local news San Francisco did a piece on open source phones, largely featuring Openmoko. In the video, you can even see my Today app and Neil’s Dialer app! Very cool when you get to see something you’ve worked on like that ๐

OpenMoko Dates – Second shots!
Thomas already stole my thunder on this one, but a lot of progress has been made since that post. It still isn’t done, but it’s approaching usable (note: approaching, not reached quite yet imho). I just ‘finished’ colour-category support today, where unique (but determinate) colours are assigned to each category, automatically. Also, Marcin’s post had some nasty comments on digg about the OpenMoko theme (which I mostly disagree with), so to show that it’s all academic at this stage anyway, I’ve taken some screenshots in Clearlooks. Enjoy:
