Public bug reported:

I don't know much about how python wraps the C libraries, however, I've
found a bug in gdl library which exists in python implementations but
not C implementations. I'm attaching a python program and a C program I
wrote to test this. With each of these programs:

The first time you execute the program, a gdl dock and it's items are
created. When you quit, they are saved to an XML file with
gdl.DockLayout.save_to_file(). If you then look at the saved XML file,
it looks normal. The second time you execute the program, the XML file
is loaded using gdl.DockLayout.load_from_file(). The C implementation
works. The python implementation results in an empty layout (there are
no dock items). When you quit the second time, this new layout is saved.
You can look at the XML file this time and see that all of the dock
items were not saved in the XML file. This is why I think it's a problem
in gdl.DockLayout.load_from_file().

** Affects: gnome-python-extras (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gdl.DockLayout.load_from_file() loads empty layout.
https://bugs.launchpad.net/bugs/430441
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-python-extras in ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to