"import deskbar" causes a chdir to "~"

Bug #386612 reported by Glyph Lefkowitz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
deskbar-applet
New
Undecided
Unassigned
deskbar-applet (Ubuntu)
New
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: deskbar-applet

I love the fact that I can use deskbar as a library, because there's some very useful functionality in there. However:

$ python
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.getcwd()
'/tmp'
>>> import deskbar
>>> os.getcwd()
'/home/glyph'

This is not expected behavior, and there's no way to turn it off. I understand that it might need to be there, but might I suggest putting this into /usr/lib/deskbar/deskbar-applet:applet_factory instead?

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report, that's something to send directly upstream at http://bugzilla.gnome.org, for forwarding instructions please read http://wiki.ubuntu.com/Bugs/Upstream/GNOME, Thanks in advance.

Changed in deskbar-applet (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.