[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Shawn changed: What|Removed |Added CC||sh...@n4hab.com -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 --- Comment #20 from zyls...@gmail.com --- (In reply to Pussy Boots from comment #19) > > FIXED-IN: 5.113 > > When this will be released? > > Because here: https://invent.kde.org/frameworks/kservice/-/tags > > There is a tag for v5.245.0, which is > 5.113, right? > > But Arch Linux is still at 5.112 v5.113 will be released on branch kf5, current release is v5.112. v5.245 is on master branch, and similar bugs have already been fixed last month. If you can't wait till next month to apply the bugfix, either try kde-unstable repository or manually patch the source file and build the package on your own. ( PS I'm now using my own build with makepkg -e ) -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Pussy Boots changed: What|Removed |Added CC||yuily...@gmail.com --- Comment #19 from Pussy Boots --- > FIXED-IN: 5.113 When this will be released? Because here: https://invent.kde.org/frameworks/kservice/-/tags There is a tag for v5.245.0, which is > 5.113, right? But Arch Linux is still at 5.112 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 David Faure changed: What|Removed |Added Version Fixed In||5.113 Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram |eworks/kservice/-/commit/52 |eworks/kservice/-/commit/ba |03bed8bfb5c46ea3f2539d909fa |4a641ee3bf4f0ccaa58b03dbdf8 |fc24a692ce3 |8abf407b386 Resolution|--- |FIXED Status|REPORTED|RESOLVED --- Comment #18 from David Faure --- Git commit ba4a641ee3bf4f0ccaa58b03dbdf88abf407b386 by David Faure. Committed on 15/11/2023 at 14:39. Pushed by dfaure into branch 'kf5'. Remove warning about empty Exec field from KService::exec() kactivitymanagerd calls exec() just to try and match the desktop file for an executable, it's not actually about to execute the application. So don't warn for e.g. qemu.desktop which only exists in order to provide an icon for the qemu-$ARCH binary (on wayland). FIXED-IN: 5.113 M +0-3src/services/kservice.cpp https://invent.kde.org/frameworks/kservice/-/commit/ba4a641ee3bf4f0ccaa58b03dbdf88abf407b386 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 --- Comment #17 from Jeffrey Walton --- (In reply to Matt M (gardotd426) from comment #5) > (In reply to Ahmad Samir from comment #4) > > I had read that comment; my previous message was sort of my reply to that, > > creating a .desktop file that violates the desktop entry spec is wrong, and > > then when tools that comply with the spec print errors about that, the > > .desktop file should be fixed or removed. > > The problem is that it (the .desktop file) inherently *can't* be fixed, but > the .desktop file is required for Wayland in order to be able to actually > show the right icon when a window is open. > > So basically it can't be fixed, and it can't be removed. The only/best > solution I can think of, because this is an extraordinarily edge case, is > to add an exception to kservice that specifically ignores (or at least > doesn't print any errors related to) the qemu.desktop file. Whatever is happening, it is creating a lot of noise in the journals. Maybe the complaint can be throttled instead of hammering the log files: # journalctl -r -b ... Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. Nov 15 07:30:35 raptor.home.arpa kactivitymanagerd[2027]: kf.service.services: The desktop entry file
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Jeffrey Walton changed: What|Removed |Added CC||noloa...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 zyls...@gmail.com changed: What|Removed |Added CC||zyls...@gmail.com --- Comment #16 from zyls...@gmail.com --- Same issue still occurs in 5.112.0. And I suppose that as defined in kservice.h, maybe removing the if block will be a simple fix. Only if `m_strExec` is properly set to an empty QString. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Richard Jones changed: What|Removed |Added CC||rjo...@redhat.com -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Yaroslav Sidlovsky changed: What|Removed |Added Version|5.111.0 |5.112.0 --- Comment #15 from Yaroslav Sidlovsky --- FYI: warning is still on it's place for version 5.112.0 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Nate Graham changed: What|Removed |Added Ever confirmed|1 |0 Status|NEEDSINFO |REPORTED Resolution|WAITINGFORINFO |--- --- Comment #14 from Nate Graham --- So it is! -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 --- Comment #13 from Yaroslav Sidlovsky --- This code has been already included in latest kf5-kservice release (5.111.0), http://download.kde.org/stable/frameworks/5.111/kservice-5.111.0.tar.xz. ``` $ grep -Fr 'but has no Exec field' kservice-5.111.0/src/services/kservice.cpp:qCWarning(SERVICES) << "The desktop entry file" << entryPath() << "has Type=" << d->m_strType << "but has no Exec field."; ``` -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Nate Graham changed: What|Removed |Added Status|REOPENED|NEEDSINFO Resolution|--- |WAITINGFORINFO --- Comment #12 from Nate Graham --- That commit is master-only; it hasn't been released yet. Are you testing with released packages, or unreleased code built from source? -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 --- Comment #11 from Yaroslav Sidlovsky --- Example output from journalctl: ``` Oct 31 12:36:38 rapidus kactivitymanagerd[4618]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field. Oct 31 12:36:38 rapidus kactivitymanagerd[4618]: kf.service.services: The desktop entry file "/usr/share/applications/bookmarks.desktop" has Type= "Application" but has no Exec field. Oct 31 12:36:38 rapidus kactivitymanagerd[4618]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but has no Exec field. ... ``` I've counted 684 of this warnings logged in 1 second, it looks like too much for me. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Yaroslav Sidlovsky changed: What|Removed |Added Version|5.76.0 |5.111.0 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Yaroslav Sidlovsky changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 --- Comment #10 from Yaroslav Sidlovsky --- It still spams as hell after fix from this line: https://invent.kde.org/frameworks/kservice/-/blob/25917d20effad77ac6976a672430a3aac19575d2/src/services/kservice.cpp#L939 Also not only qemu.desktop affected, both /usr/share/applications/bookmarks.desktop and /usr/share/applications/org.freedesktop.Xwayland.desktop gives such message too. (/usr/share/applications/bookmarks.desktop goes with konqueror). -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Yaroslav Sidlovsky changed: What|Removed |Added CC||zawer...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Stefan Brüns changed: What|Removed |Added See Also||https://gitlab.freedesktop. ||org/xdg/xdg-specs/-/issues/ ||81 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 David Faure changed: What|Removed |Added Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram |eworks/kservice/-/commit/25 |eworks/kservice/-/commit/52 |917d20effad77ac6976a672430a |03bed8bfb5c46ea3f2539d909fa |3aac19575d2 |fc24a692ce3 --- Comment #9 from David Faure --- Git commit 5203bed8bfb5c46ea3f2539d909fafc24a692ce3 by David Faure. Committed on 14/09/2023 at 12:35. Pushed by dfaure into branch 'master'. KService: allow .desktop files without an Exec line qemu ships one of those, just to associate icons with windows on wayland, even though there's nothing to execute (the desktop file has NoDisplay set). We don't need to warn here, surely we'll get an error when launching such a desktop file (if it doesn't have NoDisplay), at runtime, right? (cherry picked from commit 25917d20effad77ac6976a672430a3aac19575d2) M +0-9src/services/kservice.cpp https://invent.kde.org/frameworks/kservice/-/commit/5203bed8bfb5c46ea3f2539d909fafc24a692ce3 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 David Faure changed: What|Removed |Added Status|ASSIGNED|RESOLVED Latest Commit||https://invent.kde.org/fram ||eworks/kservice/-/commit/25 ||917d20effad77ac6976a672430a ||3aac19575d2 Resolution|--- |FIXED --- Comment #8 from David Faure --- Git commit 25917d20effad77ac6976a672430a3aac19575d2 by David Faure. Committed on 14/09/2023 at 12:28. Pushed by dfaure into branch 'kf5'. KService: allow .desktop files without an Exec line qemu ships one of those, just to associate icons with windows on wayland, even though there's nothing to execute (the desktop file has NoDisplay set). We don't need to warn here, surely we'll get an error when launching such a desktop file (if it doesn't have NoDisplay), at runtime, right? M +0-9src/services/kservice.cpp https://invent.kde.org/frameworks/kservice/-/commit/25917d20effad77ac6976a672430a3aac19575d2 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Bug Janitor Service changed: What|Removed |Added Status|CONFIRMED |ASSIGNED --- Comment #7 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kservice/-/merge_requests/158 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Göran Uddeborg changed: What|Removed |Added CC||goe...@uddeborg.se -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Gurenko Alex changed: What|Removed |Added CC||agure...@protonmail.com -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 david.scott.br...@gmail.com changed: What|Removed |Added CC||david.scott.br...@gmail.com --- Comment #6 from david.scott.br...@gmail.com --- I am not sure this is an edge case, I believe this behavior is affecting every qemu user . For example here are my logs: $ date Sun Feb 12 01:05:37 PM PST 2023 $ journalctl --since "2022-02-01" --until now |grep qemu.desktop|wc 340896 4772544 46038142 So, 340,896 entries in 12 days. I believe this is happening to every KDE user that QEMU installed making the logs just that much more cluttered and bloated. OS: Fedora Linux 37 (KDE Plasma) x86_64 Kernel: 6.1.7-200.fc37.x86_64 DE: Plasma 5.26.5 WM: kwin Theme: [Plasma], Adwaita [GTK2] Icons: [Plasma], breeze-dark [GTK2/3] -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Matt McDonald changed: What|Removed |Added CC||gardotd...@gmail.com --- Comment #5 from Matt McDonald --- (In reply to Ahmad Samir from comment #4) > I had read that comment; my previous message was sort of my reply to that, > creating a .desktop file that violates the desktop entry spec is wrong, and > then when tools that comply with the spec print errors about that, the > .desktop file should be fixed or removed. The problem is that it (the .desktop file) inherently *can't* be fixed, but the .desktop file is required for Wayland in order to be able to actually show the right icon when a window is open. So basically it can't be fixed, and it can't be removed. The only/best solution I can think of, because this is an extraordinarily edge case, is to add an exception to kservice that specifically ignores (or at least doesn't print any errors related to) the qemu.desktop file. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 --- Comment #4 from Ahmad Samir --- I had read that comment; my previous message was sort of my reply to that, creating a .desktop file that violates the desktop entry spec is wrong, and then when tools that comply with the spec print errors about that, the .desktop file should be fixed or removed. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Stefan Brüns changed: What|Removed |Added CC||stefan.bruens@rwth-aachen.d ||e --- Comment #3 from Stefan Brüns --- (In reply to Ahmad Samir from comment #2) > I personally think the fix is to not ship that file at all. https://gitlab.com/qemu-project/qemu/-/issues/440#note_606080304 > We only created the qemu.desktop file in the first place because Wayland > needs this to be present in order to identify what Icon to display for a > window. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Ahmad Samir changed: What|Removed |Added CC||a.samir...@gmail.com --- Comment #2 from Ahmad Samir --- I personally think the fix is to not ship that file at all. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Peter J. Mello changed: What|Removed |Added Status|REPORTED|CONFIRMED Ever confirmed|0 |1 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 fli...@vongellhorn.ch changed: What|Removed |Added CC||fli...@vongellhorn.ch --- Comment #1 from fli...@vongellhorn.ch --- Came across this issue as well and saw you made a report :) yea it's frankly annoying now starting KDE or any other thing which works with kf.service via the terminal, you always have this error -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Jochen Fähnlein changed: What|Removed |Added CC||jochen.faehnlein@ff-ipsheim ||.de -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kservice] [Bug 430157] KDE .desktop parser complains about files that have Type= "Application" but no Exec line, although this situation is normal.
https://bugs.kde.org/show_bug.cgi?id=430157 Nate Graham changed: What|Removed |Added CC||n...@kde.org -- You are receiving this mail because: You are watching all bug changes.