Summary: | netbook/desktop shell setting is not correctly stored | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Stefan Majewsky <majewsky> |
Component: | kdecore | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andresbajotierra, jthorell, mail, mschiff, notmart |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
KAutoStart fixes
Updated patch |
Description
Stefan Majewsky
2009-12-07 11:34:54 UTC
I'm also experiencing this here using: Qt: 4.6.0 (kde-qt master commit cd8595efe9aace2afdaa5db37af7cfe82b87e4aa Date: Wed Nov 18 01:33:21 2009 +0100) KDE Development Platform: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1)) kdelibs svn rev. 1058633 / kdebase svn rev. 1058634 on ArchLinux i686 - Kernel 2.6.31.6 This morning when I logged in: - Plasma (any of the two versions) take several seconds to appear - Plasma Netbook appeared (I have "Desktop" selected in the KCM, but I also selected "Netbook" before). - When I killed (kquitapp) the Netbook version, I could look at the Plasma Desktop which was behind it (weird...) - Plasma Desktop was not really working and windows were not reacting to focus. Restarting Plasma Desktop fixed this. BTW, bug 217653 is probably related to this As stated in bug 217653 comment 4 and bug 217653 comment 5, an autostart entry for plasma-netbook is not deleted when selecting the Desktop layout again, probably causing this bug.. Mh, looking at the code, this seems an error in KAutostart.. *** Bug 217653 has been marked as a duplicate of this bug. *** Created attachment 39149 [details]
KAutoStart fixes
- Fix the setAutostart function (it was checking the things the wrong way) + readability
- Fix a bug about the values of a global autostart .desktop files not being copied to the local instance. + Fixes a little mem leak
I'm going to commit the changes when the SVN is up again
Created attachment 39150 [details]
Updated patch
Improved patch to avoid possible errors when merging the entries from the global .desktop to the local copy.. (this is unrelated to the bug report itself)
SVN commit 1063435 by darioandres: - Fix the setAutostarts function (it was checking the current autostart method the wrong way, and therefore not saving the changes properly) [bug 217698] - Fix a bug about the values of the global autostart .desktop file not being copied to the local instance (as the values of the KDesktopFile* KDesktopFile->copyTo() object were only saved to disk on deletion, or forcing a sync()) - This includes a small memleak fix BUG: 217698 M +5 -3 kautostart.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1063435 *** Bug 219744 has been marked as a duplicate of this bug. *** *** Bug 220217 has been marked as a duplicate of this bug. *** |