Re: [w3c/manifest] Feature Request: Shortcuts categories (#922)

I now checked the situation on Linux: At least KDE and Gnome seem to have _application actions_ which **cannot** be grouped: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#extra-actions

![image](https://user-images.githubusercontent.com/6698344/88228829-075a8e00-cc70-11ea-9eb5-bf25c6a969fd.png)

```
[Desktop Entry]
Actions=new-window;new-private-window;

[Desktop Action new-window]
Name=Hello, it's me.

[Desktop Action new-private-window]
Name=Open a New Private Window
```

The scenarios on the different desktop platforms seem to be as follows:
* Windows: groups with a name
* macOS: implicit "groups" (= separator between menu entries), not named
* Linux (KDE/Gnome): no groups

So we could indeed go with a `group` property that directly contains the caption. On macOS, group captions would simply not be shown. Neither Windows jump lists nor macOS dock menus have changed much over the past years, so if we would ever need to add more properties for a group, we could still introduce the `shortcut_groups` map.

> Perhaps to address that we could define a phantom unnamed group that is first int he groups and is only used for ungrouped shortcuts (which would also cover the existing behavior).

That would make sense then.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/922#issuecomment-662698454

Received on Wednesday, 22 July 2020 21:11:06 UTC