Version: unspecified (using KDE 4.5.4) OS: Linux There are two ways to add a new item to a KConfigSkeleton object. 1) create the item with one of KConfigSkeleton.ItemFoo constructors and call KConfigSkeleton.addItem(...) 2) using the convenience functions KConfigSkeleton.addItemFoo(...) For primitive / immutable types (bool, int, uint, longlong, ulonglong, double, enum) only the second method works as expected. The first one returns random garbage. And as a bonus, if you try to load a value already stored in a config file using method 1, python segfaults... Reproducible: Always Steps to Reproduce: >>> from PyKDE4 import kdecore >>> reference = int() >>> item = kdecore.KCoreConfigSkeleton.ItemInt('group', 'key', reference, 1234) >>> item.value() Actual Results: -1216966668 Expected Results: 1234 python-qt4 version: 4.8-2.9 python-kde4 version: 4.5.4-18.4
might be a duplicate of bug 253123 (which is still open too)
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
Hello, unfortunately this bug is being closed as unmaintained, per request of einar77.