microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
161.21k stars 28.3k forks source link

Web: Firefox support #85252

Open rebornix opened 4 years ago

rebornix commented 4 years ago

This is a meta issue for our Firefox support in Web (issue list) and this can be used to track the limitations and gaps we currently see today on Firefox.

Currently we have two major blockers: Full Keybindings Support and PWA.

Besides, we have some nice-to-haves:

  1. Clipboard read support. Currently web applications are only allowed to read clipboard in user-initiated event callbacks. It means we can't have customized keybindings or context menu entries for Paste command. https://github.com/microsoft/vscode/issues/84084
  2. Unicode support for regex. We adopted Unicode mode in language definitions, find/search, etc already but Firefox is lacking support for it. bugzilla, https://github.com/microsoft/vscode/issues/83698
rebornix commented 4 years ago

Move this item to backlog as there are blockers that we want to track.

miketaylr commented 4 years ago
2\. Unicode support for regex. We adopted Unicode mode in language definitions, find/search, etc already but Firefox is lacking support for it. [bugzilla](https://bugzilla.mozilla.org/show_bug.cgi?id=1361876), #83698

This should be fixed as of yesterday (in 78+: https://bugzilla.mozilla.org/show_bug.cgi?id=1361876#c21)

digitarald commented 4 years ago

@miketaylr and I can help from the Firefox side to find the right bugs, people and input. Feel free to cc us on similar bugs.

rebornix commented 4 years ago

@miketaylr @digitarald thanks for your help, I'll give it a try and do another round of accessment. For now the major blockers for us dogfood running VS Code in Firefox IMHO is still keybindings in Full Screen (https://bugzilla.mozilla.org/show_bug.cgi?id=1593883, or https://bugzilla.mozilla.org/show_bug.cgi?id=700123) and PWA (https://bugzilla.mozilla.org/show_bug.cgi?id=1407202). I can also share more details about the keybindings part if you are interested.

digitarald commented 4 years ago

@rebornix I can see fullscreen being important for workflows as it allows full keyboard access.

Regarding PWA and to understand how it blocks you: Do you have any insights if users are adding VS Code as installed web app? Is that something that Codespaces encourages users?

bpasero commented 4 years ago

Is that something that Codespaces encourages users?

This is currently not yet supported but planned for: https://github.com/MicrosoftDocs/vsonline/issues/43

Nevertheless, in Edge for example I can save a Codespace as "App" even without official PWA support: https://twitter.com/BenjaminPasero/status/1258650064538480640

rebornix commented 4 years ago

@digitarald we see PWA as an environment for VS Online / Codespace users to embrace a similar desktop like experience as VS Code Desktop. For example, in PWA, users should be able to use CMD+Q to quit just the Codespace where in norma browser mode (no matter it's full screen or not), CMD+Q will quit the whole application.

digitarald commented 4 years ago

@digitarald we see PWA as an environment for VS Online / Codespace users to embrace a similar desktop like experience as VS Code Desktop.

I understand the added value of PWA for this project with the additional keyboard access it provides, @rebornix. We will continue to make a case for it, listing your use cases.

But is the absence of PWA support in Firefox a strong enough reason to block Firefox for online.visualstudio.com, Codespaces and co?

kieferrm commented 4 years ago

@digitarald FF is not blocked, it's only an info to the user. On GH Codespaces, the user can dismiss the info. This is not possible on VS Codespaces which is an oversight.