| Summary: | Creating a link to the folder on the desktop ends with ".desktop" | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Einar Lielmanis <einars+kdebugs> |
| Component: | general | Assignee: | David Faure <faure> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | aseigo |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Einar Lielmanis
2009-06-25 15:25:29 UTC
it also happens in dolphin; it's a bug in libkonq. David: is this the right component for libkonq bugs? in any case, the problem is in KNewMenu::slotActionTriggered(QAction* action). if ( KDesktopFile::isDesktopFile( entry.templatePath ) ) is true, and so is if ( df.readType() == "Link" ), and so it appends ".desktop" to the resulting target a few lines later. Well, that's because it's a desktop file and not a symlink :-) But yeah, extensions aren't strictly necessary, since we detect files without it too. I found that I added that logic in 2000, (r62771), so things were different back then. But I think what you really wanted was a symlink. Wish/Bug 66248, basically, no? (although, as discussed there, the problem is that the icon of the symlink cannot be changed) SVN commit 1016350 by dfaure: respect the user's wish and don't append .desktop to the filename. Fix will be in 4.3.1 BUG: 197840 M +0 -2 knewmenu.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1016350 |