A Subtilty in Overlaying Notification Windows on Maemo

I was recently hunting down a slightly annoying usability bug in Khweeteur, a Twitter / identi.ca client: Khweeteur can notify the user when there are new status updates, however, it wasn’t overlaying the notification window on the application window, like the email client does. I spent some time investigating the problem: the fix is easy, but non-obvious, so I’m recording it here. A notification window overlays the window whose WM_CLASS property matches the specified desktop entry (and is correctly configured in /etc/hildon-desktop/notification-groups.conf ).

Share

Profiling Python Code

While working on the Woodchuck support in gPodder , I decided to profile the code. Reading the Python manual , I thought it would be as easy as: import cProfile cProfile.run(‘foo()’) On both Debian and Maemo, this results in an import error: Traceback (most recent call last): File ” “, line 1, in File “/usr/lib/python2.6/cProfile.py”, line 36, in run result = prof.print_stats(sort) File “/usr/lib/python2.6/cProfile.py”, line 80, in print_stats import pstats ImportError: No module named pstats To my eyes, this looks like I need to install some package. This is indeed the case: the python-profiler package provides the pstats module.

Share

maemo.org Extras Bug Jar 2011.38

A Quick Look at Extras in Bugzilla 2011-09-12 through 2011-09-18 As of 2011-09-19 Extras contains: total items 2723 ( 20) total open items 998 ( 8) open bugs 571 ( 5) critical/blocker 43 ( 1) “easyfix” 6 “moreinfo” 5 “crash” 2 “patch” 4 reopened 6 ( 1) unconfirmed 342 ( 1) open enhancements 427 ( 3) “easyfix” 3 ( 2) “moreinfo” 1 “patch” 6 reopened 1 ( 1) unconfirmed 184 ( 2) Top Tens Ten biggest open bugs by number of votes : (6%) 7334 [FM Radio] audio disappear using other device functions(connecting-disconnecting wi-fi,hspa) (6%) 11961 [Maemo 5 Community SSU] Random email application (modest) crashes with CSSU (5%) 7351 [Recorder] Recorder app closes automatically after few mins (4%) 6511 [Canola] Unable to type text in Canola on N900 (4%) 11031 [PyMaemo] python-all depending on specific python version breaks updating python modules (2%) 11842 [Maemo 5 Community SSU] RDesktop halt on connection screen (2%) 6847 [gPodder] gPodder does not attempt to connect to internet if no ambient connection (2%) 8508 [The One Ring] Integration with System Contacts isn’t working (2%) 7505 [Mauku] Claims to be free, but ships no license and says ‘You are NOT allowed to modify or redistribute the source code.’ (+1 this week) (2%) 7938 [BlueMaemo] Connection dies immediately on Mac OS X 10.4.11 (new this week) Please visit Bugzilla to vote. Registration is easy and free. Ten biggest open enhancements by number of votes : (6%) 8224 [Hermes] Support for getting orkut contact details with Hermes (5%) 5453 [Hermes] Add google as a source for contact information (feature request) (5%) 7738 [FM Radio] Scan and auto-preset feature (5%) 5823 [Personal GPRS Monitor] programmable auto-reset (4%) 5045 [Conboy] Add undo and redo (4%) 5452 [Hermes] Don’t overwrite pre-existing contact info (3%) 6383 [PasswordSafe] Add support for V3 Format (+1 this week) (3%) 11976 [Maemo 5 Community SSU] viewing sms conversations in portrait mode without horizontal scrolling (patch) (-1 this week) (2%) 5018 [StockThis] Create a Desktop widget to display portfolio (2%) 7374 [FM Radio] Record FM radio to file Please visit Bugzilla to vote.

Share

howto

The following text is from the introduction of the HOWTO I’ve written explaining how to modify a program to use Woodchuck. The focus is on the Python interface, but it should be helpful to anyone who wants to modify an application to use Woodchuck. This document, unlike the detailed documentation , should be a bit easier to digest if you are just getting started with Woodchuck.

Share

APT Woodchuck

A couple of weeks ago, I was chatting with Michael Banck about DebConf. He told me that one of the sponsors provided everyone a SIM card with 5 units of credit, and that the first time he established a data connection was also his last: he got bit by Maemo’s automatic repository update misfeature ; because, he had gone more than 24 hours without checking for software updates, Maemo checked even though he was using a cellular data connection and only had a few megabytes worth of data transfer credit. A simple workaround for this bug is to disable updates .

Share

How quick I got started with Qt Quick

A month ago I downloaded the last Qt SDK , plugged my Nokia N9 to it and started writing from scratch a chess game UI.

Share

ANN: LightMediaScanner 0.4.4 released

I’m proud to announce LightMediaScanner 0.4.4 was released and I’d like to take some time to remind you of this awesome project While 0.4.4 is no big leap ahead of 0.4.3 I’m doing this post more to make clear people that the project is still alive and it may be the right tool for you, particularly if you need fast media scanning on your desktop or embedded device. Introduction (History) LightMediaScanner (LMS) was born in 2007 during the development of Canola2 media player for Nokia N800 Maemo device. We did a previous try at media scanners for Canola1 and did learn a lot, that would be the foundation of LMS

Share

D-Bus eavesdroppers and unicast signals

There was an interesting issue in D-Bus, related to unicast vs broadcast signals, which led [edit: typo] to a small change in specs and which might be of some interest for D-Bus developers. Unicast signals are not widely known and probably even less used, but they are possible. They are useful, for instance, when you need to trigger an action from a single client, among your listeners.

Share

Refactoring our writeback system

Tracker writes back certain metadata to your files. It for example writes back in XMP the title of a JPeg file, among other fields that XMP supports

Share

The good, the bad and the ugly (or Python, Security FW and Harmattan)

In harmattan, if you want to access certain resources (E.G. Tracker) you need to ask for permission to the Security FW.

Share

Next Page »