Change:
<!-- Do Not Delete This! bugreporttemplate --<!-- Please read our Rules of Conduct: --<!-- Please search existing issues to avoid creating duplicates. --<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: --<!-- Use Help Report Issue to prefill these. --- VSCode Version: Codespaces OS Version: iPadOS 14 Steps to Reproduce: any repo in Codespaces off any file touch (not mouse) to click on any button at the top right corner (git, duplicate tab, close file, dropdown ellipsis) you click or it fires the command, showing the Command Palette (just like when you click on regular tabs when visible) you click it just blinks the dropdown items, and the same command in the Command Palette <!-- Launch with to check. --Does this issue occur when all extensions are disabled?: Yes
Just to clarify: we currently do not fully support touch devices, so it may well be that the experience is buggy. Other related issues:
no problem, I understand I just wanna report the issue, because Codespaces could be a game changing for me, if iPadOS is fully supported. Thank you
I think this should be fixable, marking as help wanted if someone wants to chime in. The code that opens the command palette is probably doing something wrong: or
looks like this is from the code you : This is registered on the title container here: So it will open whenever you tap anywhere into the title area, including actions. My first idea was to register this listener simply on the same element as we do here: But that somehow was not working. I attempted a fix via
This bug has been fixed in to the latest release of ! you can help us out by confirming things are working as expected in the latest Insiders release. If things look good, please leave a comment with the text to let us know. If not, please ensure you're on version of Insiders (today's or later - you can use in the command pallete to check), and leave a comment letting us know what isn't working as expected. Happy Coding!
/verified

Discussion:
import { ResourceLabel, IResourceLabel } from 'vs/workbench/browser/labels'; import { TAB_ACTIVE_FOREGROUND, TAB_UNFOCUSED_ACTIVE_FOREGROUND } from 'vs/workbench/common/theme'; import { EventType as TouchEventType, GestureEvent, Gesture } from 'vs/base/browser/touch'; <del> import { addDisposableListener, EventType, EventHelper, Dimension } from 'vs/base/browser/dom'; </del> <ins> import { addDisposableListener, EventType, EventHelper, Dimension, isAncestor } from 'vs/base/browser/dom'; </ins> import { IAction } from 'vs/base/common/actions'; import { CLOSE_EDITOR_COMMAND_ID } from 'vs/workbench/browser/parts/editor/editorCommands'; import { Color } from 'vs/base/common/color';

} private onTitleTap(e: GestureEvent): void { <ins> // We only want to open the quick access picker when // the tap occured over the editor label, so we need // to check on the target // (https://github.com/microsoft/vscode/issues/107543) const target = e.initialTarget; if (!(target instanceof HTMLElement) || !this.editorLabel || !isAncestor(target, this.editorLabel.element)) { return; } </ins> // TODO@rebornix gesture tap should open the quick access // editorGroupView will focus on the editor again when there are mouse/pointer/touch down events // we need to wait a bit as `GesureEvent.Tap` is generated from `touchstart` and then `touchend` evnets, which are not an atom event.