Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703070 - media-gfx/imv-2.1.3 - imv should not show up in desktop app menus
Summary: media-gfx/imv-2.1.3 - imv should not show up in desktop app menus
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL: https://github.com/eXeC64/imv/commit/...
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks:
 
Reported: 2019-12-16 09:04 UTC by CaptainBlood
Modified: 2020-01-05 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to cancel display of desktop file in Xorg apps menu context (imv-2.1.3-001-NoDisplay-desktop-entry-activation.patch,335 bytes, patch)
2019-12-16 09:08 UTC, CaptainBlood
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2019-12-16 09:04:15 UTC
user patch:
--- imv-2.1.3/files/imv.desktop.old	2016-10-22 14:35:20.000000000 +0300
+++ imv-2.1.3/files/imv.desktop	2019-12-16 11:49:53.355124443 +0300
@@ -4,6 +4,7 @@
 GenericName[en_US]=Image viewer
 Comment=Fast freeimage-based Image Viewer
 Exec=imv %F
+NoDisplay=true
 Terminal=false
 Type=Application
 Categories=Graphics;2DGraphics;Viewer;


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-12-16 09:06:50 UTC
Why is it that you consistently report bugs without mentioning the packages they pertain to?
Comment 2 CaptainBlood 2019-12-16 09:08:14 UTC
Created attachment 599706 [details, diff]
patch to cancel display of desktop file in Xorg apps menu context

upstream thread: https://github.com/eXeC64/imv/issues/218#issuecomment-565966666
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-12-16 10:06:10 UTC
I guess it should not be displayed because when called without arguments, it just sits there waiting for string input on stdin to be parsed as filenames while displaying a "blank" window?
Comment 4 CaptainBlood 2019-12-16 15:34:25 UTC
Indeed.
NoDisplay seems to adress such a situation. IMHO
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-05 13:06:36 UTC
Fixed in 4.1.0.