Summary: | error showing desktop file if text description start with some #comment line | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Simona Pisano <simona.pisano.70> |
Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
Status: | CLOSED NOT A BUG | ||
Severity: | normal | CC: | kde, kdelibs-bugs-null, kfm-devel, nate |
Priority: | NOR | ||
Version First Reported In: | 6.11.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Simona Pisano
2025-02-28 14:27:43 UTC
Can you clarify where that file was placed and how exactly you're viewing it? Also, please mention which version of Dolphin you're using. And where did you find this file? the last, all update, with 6.3.2 If you have a text file .desktop that contains the text bellow dolphin do not view it as an icon to use to launch a program but as a txt file. Icon inside Icon= is not used. When I remove # and all comments all goes ok. I answer to "And where did you find this file?" I find this file by browsing through the apps of the standard kde icon launcher on the bottom left bar and I get it by dragging the app icon to any folder, like the root of my home. I assume the original file was located in "/usr/share/applications/" but I did not copy the file by reading it directly from that folder. Thanks for the info. Unfortunately I can't reproduce that issue. When I try to open that file, it tries to launch merkuro-calendar as I would expect. Does the issue happen in a new clean user account on the same machine? Can you check? holding down the icon with the left mouse button does not execute it for me but lets it move. at the end there is the usual menu in which it asks whether to create the link, move or copy. once copied with the right mouse button you can open it with kate and see the content. but it already shows you the wrong icon, after the copy. if you remove the comments from kate instantly dolphin shows you the correct icon. you need to drag the icon, not double click to execute it. p.s. i personally can't stand the setting that makes the icon execute with a single click. it prevents you from doing any magic. and anyway to see the problem just open a txt file, edit it with kate, paste the text above, comments included, in any folder, and see how dolphin displays it, whether as a txt or as a desktop file. I have the habit of taking the .desktops, copying them wherever I want, and removing the final .desktop extension that I hate seeing on the text part of the icon. It would be nice if there was a setup on Dolphin with an on/off check that allowed you to hide the final .desktop. > and removing the final .desktop extension that I hate seeing on the text part of the icon.
Yeah I think that's not going to be good for system stability long-term. :)
I don't think we're going to get anywhere here; closing.
sorry for asking something |