OnlyShowIn and NotShowIn not properly honored
Bug #1869905 reported by
Ken VanDine
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
Fix Released
|
High
|
Marco Trevisan (Treviño) |
Bug Description
glib provides g_app_info_
glib does have tests for this that are still passing and @seb128 wrote a simple test case to show the glib API does the right thing.
The snap-store snap in the beta channel provides two desktop files, one to be displayed when XDG_CURRENT_DESKTOP is ubuntu:GNOME and one for when it isn't.
Changed in gnome-shell (Ubuntu): | |
status: | In Progress → Fix Committed |
tags: | added: fixed-in-3.36.2 |
tags: | removed: fixed-in-3.37.0 |
tags: |
added: rls-ff-tracking removed: rls-ff-incoming |
To post a comment you must log in.
Install the snap-store snap from the beta channel and
$ gcc onlyshowin.c -o onlyshowin `pkg-config --cflags --libs gio-unix-2.0`
$ grep NotShow snapd/desktop/ applications/ snap-store_ snap-store. desktop
/var/lib/
NotShowIn=ubuntu
$ ./onlyshowin snap-store_ snap-store. desktop snap-store. desktop in ubuntu:GNOME is false
Display of snap-store_