Summary: | Desktop icons are added after every login | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Dorian Vasco <dorian.nagel> |
Component: | containment-desktop | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amantia, dpbasti, kouzinopoulos, mail, npmeriksson, updatedb |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | checks if the icon applet is already registered in the cache |
Description
Dorian Vasco
2008-01-07 20:42:41 UTC
That bug should only have been fixed in svn revision 757612. If the packages are from a more recent svn revision (or the next version of the packages have the same problem), re-open the bug. Even after last package updates (I think two days before) the problem is still there. If you want more infos, please let me know. i can also confirm this; essentially when a ~/Desktop icon is removed, it should deleted from disk as well (after a confirmation ;) *** Bug 155344 has been marked as a duplicate of this bug. *** It doesn't even save the option for not using desktop icons here (I've checked in ~/.kde4/share/config/plasmarc, and there's no DesktopIcons group after I kquitapp plasma). Alex: it's not saved in plasmarc, but in plasma-appletsrc in the global section. the settings are saved between restarts here. *** Bug 155724 has been marked as a duplicate of this bug. *** Confirmed on Kubuntu Gutsy (with KDE 4.0.0 installed from kubuntu-members-kde4 PPA repository) I can confirm this on openSUSE_10.3 with packages from the openSUSE BuildService. A new set of icons is added on every login if "Show Icons" is set. If "Show Icons" is turned off, one of the duplicate sets of Icons is removes, all others remain on the desktop. After the next login, exactly one set of Icons is on the desktop, all the duplicates have been deleted. After following logins nothing changes. When turning "Show Icons" on again, Icon duplication on login starts anew. *** Bug has been marked as fixed ***. I have the same problem also i have update the packet from the repository yesterday... I have this bug also with the new version of KDE 4.0.1 !!! Download from suse 10.3 repository... Same here, with Kubuntu Gutsy with KDE 4.0.1 the problem persist The fix done in trunk (aka upcoming 4.1) with r757612, see here also comment #2, was backported to the 4.0.x-branch with r758191 at 2008-01-07 what was 2 days after the release of 4.0.1. That means, it should be fixed with 4.0.2. oh, forgive me. The release of 4.0.1 was on 2008-02-05 while the backport was on 2008-01-07 what in turn means, that the fix is part of 4.0.1 :-/ So, as sayed on comment #1 and cause of the feedback that this is still reproducable with 4.0.1, let's reopen the bug-report. UNCONFIRMED=>NEW cause at least 2 ppl are able to reproduce this with 4.0.1 and cause I double-checked the backport and it's the same solution we have in trunk (though I can't reproduce this by myself in trunk even if trying it the hard way). So, let's add those that did the fix to the CC-list to let him know, that the fix was not fixing the issue 100%. Any idea there, Jason? :) Could anybody who is able to reproduce this please with a short step-by-step how the icon was added to the desktop (copied to the ~/Desktop folder? or e.g. from kickoff right-click and then "Add to Desktop"? or drag+drop from Dolphin/Konqueror? or...), is it enough to just add an icon, logout and login again? I still try to reproduce this and to look at the code where the prob may located. Would probably also help if someone who's able to reproduce this, could provide his ~/.kde4/share/config/plasma-appletsrc file, an info what files are in the ~/Desktop directory and what files are duplicated at the desktop. Thanks in advance :) SVN commit 774783 by sitter: Don't translate Url config key ... initial fix in branch was incomplete and the fix in trunk didn't get backported BUG: 155241 M +1 -1 iconloader.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=774783 *** Bug 155620 has been marked as a duplicate of this bug. *** bug still present in kde 4.0.2 (opensuse 10.3 packages) hi Sebastian (nice name btw :) does that happen with each icon you have at the desktop? So, if you have e.g. one KSpread-icon, logout and login, you have 2 now? I ask cause there is another issue that may a bit related. That is, if you have the icon in ~/Desktop, remove it from your desktop, the link/item in ~/Desktop doesn't got removed. That in turn means, that after you re-login, the icon is there again. While it somehow has the same affect, it's another issue since what this report imho was about is, that each icon got duplicated at each login. So, after 10 login/logout you had 10 KSpread icons :-/ yes it happens for every icon- and yest the icons get duplicated every login - so after 10 logins/logout i have 10 icons one under another (you can notice that by moving the icon and see that that there are more underneeth overlapping each other) Then let's reopen the report again. Seems this issue is really hard to catch :-/ i know it's easy to say but it's just to check if the icons are already included in plasma-appletsrc before adding them again >
> i know it's easy to say but it's just to check if the icons are already
> included in plasma-appletsrc before adding them again
>
That's done here in iconloader.cpp.
//build list of current icons
foreach (Plasma::Applet* applet, m_desktop->applets()) {
if (applet->name() == i18n("Icon")) {
addIcon(applet);
}
}
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">i know it's easy to say but it's just to check if the icons are already included in plasma-appletsrc before adding them again<br>
<div><div></div><div class="Wj3C7c"></div></div></blockquote><div><br>That's done here in iconloader.cpp.<br>//build list of current icons<br> foreach (Plasma::Applet* applet, m_desktop->applets()) {<br> if (applet->name() == i18n("Icon")) {<br>
addIcon(applet);<br> }<br> } <br></div></div>
ok so for example transh can does not get duplicated. I know i may be talking bullshit because i just try to imagine how it looks like but if the code is as You show then before "foreach" all icons should be deleted or before addIcon is called there should be "if" to check if it's not already added. Created attachment 23823 [details]
checks if the icon applet is already registered in the cache
Sebastian, try this.
can this problem be related to the fact that i have files in ~/Desktop ? is there a kde4 rule that the icons should only be some virtual links to apps? i can't try the code fix as i use only opensuse rpms and dont use self compiled Well it works for me so unless someone can test the fix. Then there's nothing I can do. Files in the ~/Desktop folder are supported. I have installed the lastest rpm from opensuse repository (the version : ) but the problem exist again ... This bug prevents the use of kde4 in my workstation, it's absurd that this bug it has been carried from version 4.0 to version 4.0.2 !!!! This problem involves also that the icons duplicate on the desktop they are not opened by dobble left click on the mouse!! Hi Alessio, well, both cases - so, this one and bug #155413 which deals with the doubleclick - have patches attached, but at both cases so far noone did provide feedback if the patches are really fixing the issues... Allesio, Understand that this works for us. So unless someone who is having the problem steps up and tests the proposed fixes this bug will not be fixed. Goto techbase, checkout the page that tells you how to make a build environment checkout the 4.0.2 codebase and test the patch. That is the only way this will get fixed. If you don't want to perhaps you can persuade someone else to do so. I would love more than any user to get this bug fixed because as a dev I have to hear about it on a regular basis. Testing patches is MUCH more useful that chastising us about what horrible coders we all are. bug still present in kde 4.0.2 - installed the 10.3 opensuse packages! If you delete The .desktop files they stay away - but thats not the way i want to use my Desktop! Please send me some sample files so I can test. OK, but what should I send to you? OK, I got rid of that bug by creating a new Desktop folder for kde3 and moced the files of the old desktop fodler to the new one! But that should happen automatically - I thnk the file handling of the Plasma-Desktop should be changed a bit to be more intuitive - because now it feels very buggy - not to have the possibility to store a file on the desktop! Fixed in 4.0.3 In the comment #27 say "... before addIcon is called there should be "if" to check if it's not already added." Wrong, i have the same problem in the opensuse 11b3. But i do not want this icons susehelp, network navigation, firefox(3.0), and if i was deleted do not must reapear. Must be any turnaround work, after home was created.. where get the kde4 what icons must create. Maybe i can delete the template. Is CONFIRMED in kde 4.0.3 release 10 STILL THERE the problem. Sorry for bad news. Icons on the desktop will be different in 4.1 so this issue, if it still remains will not be fixed. If will not be fixed, we must migrate to gnome? ohhh i like kde is a good job. > If will not be fixed, we must migrate to gnome?
go ahead. but first i'd suggest reading what Blauvelt actually wrote again.
Actualy, i would like to know more about what blauvelt wrote. Is there a new icon applet in developement? because i use kde 4 from svn and didnt notice any changes. A new folderview applet is under development in playground that will be able to take up the whole screen and have a low z-index which will allow it to behave identically to a desktop icon view. Check it out in playground. the strange thing happened - I deleted ~/.kde4 and the problem disapeard. Now all icons - even the ones I have in ~/Desktop are displayed ok and not duplicated. The problem seems to be fixed in 4.0.4. You should be able, to start KDE3.5 and after it KDE4 and the icons shouldn't be doubled. *** Bug 162340 has been marked as a duplicate of this bug. *** I have this problem on 4.0.80 from Debian experimental |