Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1735
Reported by Martin Stjernholm mast@roxen.com