Show more optimistic device tile for desktop-only apps on desktop systems
Software as of 0715db5d (which happened to be the tip of main
when I pressed the button to update gnome-nightly) displays the following context tile for most apps:
desktop-symbolic
Desktop Only
Not optimized for touch devices or phones
Example for Obfuscate:
Reading the code, this is the fallback path where the app's appdata has no recommends/requires data of interest, and the computer has a keyboard & mouse.
I think it is strange to talk about phones on my laptop. (Touch devices is debatable since the laptop does actually have a touchscreen, but it also has a keyboard and mouse.)
Quoth @bertob:
that is a bug, on a laptop it should just say something generic like "works on this device" iirc in the dialog it would show all the details of course, but not on the tile
I have not consulted the design mockups. This suggests that the tile should have a green tint, and should read something like:
desktop-symbolic
Desktop Only
Works on this device.
I'm not quite sure what the title should be. "Only" seems rather negative – in this case the tile is good news, I'm on a desktop (well, laptop… is there a good name for desktop-or-laptop? "PC"? but maybe "desktop" is understood) and the app works here.
Tobias continues:
btw do we have form factor metadata for the device you're on?
I don't think Software currently uses it but this information does exist:
wjt@camille:~$ gdbus call --system --dest org.freedesktop.hostname1 --object-path /org/freedesktop/hostname1 --method org.freedesktop.DBus.Properties.Get org.freedesktop.hostname1 Chassis
(<'laptop'>,)