Repository navigation
Open
Labels
feature-requestRequest for new features or functionalityghcs-in-progressgithub-codespacesios-ipadoswebIssues related to running VSCode in the web
Milestone
Description
This is a meta issue for our Safari (on iOS/iPadOS) support (issue list) and this can be used to track the limitations and gaps we see today on mobile / touch screens.
updated Oct 2020.
To enable users to use the Web UI in Safari on iOS for some basic work, we need to fix the following blocking issues
Blockers
- ✋ Missing
wheelevent iPad OS trackpad scroll / mouse wheel support #106232 (upstream https://bugs.webkit.org/show_bug.cgi?id=210071 ) - Blockers on Safari desktop Web: Safari on macOS testing #108637
- 🏃 Workbench size inconsistent with visual viewport Workbench miss relayout after viewport size changes #108267
- 🏃 Port forwarding blocked https://github.com/MicrosoftDocs/vscodespaces/issues/728
- No authentication flow as it can't open a new window
- can not debug extensions
- UI affordance fallback for
cursor:styles Safari/iPadOS: UI affordance for non default cursor style #108832 - Drag & Drop views/panels with mouse events https://dvcs.w3.org/hg/d4e/raw-file/tip/mouse-event-test.html
Bugs
- Touch/pointers not working (Settings Editor dropdown, view header, etc) https://github.com/microsoft/vscode/issues?q=is%3Aopen+label%3Atouch%2Fpointer+label%3Aios
- MISC https://github.com/microsoft/vscode/issues?q=is%3Aopen+label%3Aios+label%3Abug+-label%3Atouch%2Fpointer
With above items finished, users can use the Web UI for basic tasks if they us an external keyboard and mouse. However if you are not using an external keyboard with Escape and Function keys, or a mouse/pointer device, you can easily find the Web UI difficult to use and you can't be as productive as on the desktop. Major blockers are:
- Escape. Escape key is the major key for hiding UI elements in the workbench. For native elements, iOS may know how to map
Ctrl+[to behave the same as Escape, however for our keybinding service, we always check keyboard event, which doesn't understandCtrl+[at all.- To mimic the native smart keyboard experience, we can build a Keymap extension, which remaps
Ctrl+[to commands which used to be triggered byEscape.
- To mimic the native smart keyboard experience, we can build a Keymap extension, which remaps
- Function keys. Without Fn keys, quite a lot of our core features are not highly accessible: Command Palette (F1), Rename (F2), Next Match (F3), Next Reference (F4), Debug (F5, F9, F10, F11), Next Problem (F8), Go to Definition/Impl (F12), etc.
- Hover is missing. Definition/Implementation hovers in editor, View title bar actions, List View quick actions, etc rely on Hover events triggered from mouse move. They are hidden by default and only visible and actionable when hover happens (or sometimes even worse, hover with keyboard shortcuts). On a touch screen, these features are not accessible.
- Debug
window.openonly works if it's triggered from user click and synchronous. For debugging VS Code extension in the Web, it's silently broken as the window will not be opened without any error message.
- Most UI elements are small. This is exacerbated by even the smallest mouse cursor being a rather large circle.
- Button/Checkbox/ActionbarItem are 10-20 px wide. It requires users to be very precise while acting on them.
- Default list view height is small and not customizable.
- Editor gutter consists of glyph area (we put breakpoints on it), line number and margin (we put folding icon on it) and users can easily mis-click/touch anyone of them.
- Sashes are thin and no indicator for clicking or dragging
Reacted by Benjamin Pasero, Igor Krupenja, Yukai Huang, Kai Cataldo, Markus Haslinger, lujo777, Rob, Moritz Mahringer, Minh, Tyler and 11 more
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityghcs-in-progressgithub-codespacesios-ipadoswebIssues related to running VSCode in the web
Activity
[-]Web: mobile support[/-][+]Web: Safari and Mobile Safari support[/+]rebornix commentedon Dec 3, 2019
Move this item to backlog as there are blockers that we want to track.
kieferrm commentedon May 8, 2020
The following comes from a short test-run with Peng Lyu (@rebornix) of GH Codespaces in Safari on iPad. Some of the issues are caused by the VS Code WebUI being embedded in an iframe. This will change in the near future as we’ll move out of iFrame.
IFrame issues
Other issues
Polish
kieferrm commentedon May 8, 2020
Dean Jackson (@grorg) you mentioned on twitter you’d be interested in helping to improve the safari experience. 5, 6, 7, 9 seem that they could benefit from your help.
rebornix commentedon May 18, 2020
Dean Jackson (@grorg) the first time when we tested iPadOS 13.4 we found that scrolling with trackpad doesn't work and we thought it's because we didn't handle the events correctly. Turns out to be that it's a bug in webkit (tracked as https://bugs.webkit.org/show_bug.cgi?id=210071 ) and currently with our virtual rendering, we can't workaround this issue. It would be great if this issue can be tackled, thanks in advance!
mjbvz commentedon Aug 18, 2020
Hi Dean Jackson (@grorg), if you are still looking for webkit bugs effecting VS Code, this one came up recently: https://bugs.webkit.org/show_bug.cgi?id=215589 (it may be a duplicate)
This bug prevents out extension detail pages, which use webviews with script disabled, from showing in safari. I tried to work around it last iteration but ended up causing a regression. I'm going to try another approach this iteration but it would be great it the solution we use today worked in Safari as well
VincentDondain commentedon Aug 19, 2020
Hi,
Peng Lyu (@rebornix), Kai Maetzel (@kieferrm) What is the ETA on moving away from using an iFrame? (edit: it looks like deiframing already shipped no?)
To clarify, is your comment affecting the following?
I am still seeing the virtual keyboard overlaying the cursor on iPadOS.
Also, is this meta issue the place to track adding support for iPadOS 13.4 pointer interactions?
3 remaining items
VincentDondain commentedon Sep 28, 2020
Alessandro Fragnani (@alefragnani) I believe the trackpad issue is being tracked here: #106232
alefragnani commentedon Sep 28, 2020
Vincent Dondain (@VincentDondain) It appears to be. The only problem/misinformation that I see about that issue, it only describes about trackpad, not mouse wheel. The WebKit issue, on the other hand, talks about both.
I would ask you to update that issue, correctly describing it handles both scenarios.
Thank you
[-]Web: Safari and Mobile Safari support[/-][+]Web: Mobile Safari support[/+]kieferrm commentedon Oct 14, 2020
Peng Lyu (@rebornix) pls see also https://github.com/github/codespaces/issues/1345
k8n commentedon Jan 30, 2021
The upstream WebKit issue now appears fixed.