In T52868#7720620, @Alex42 wrote:This feature worked as expected until now. The last time i remember it working correctly is a few month ago.
But now it is broken and no dialog "Are you sure?" is shown any more, when pressing Esc key once. Yesterday i lost a hour of work.
Tested in main view of VisualEditor on fr-, de- and en-wiki with Firefox 97.0 (64-Bit) on Win10.
See also this disussion: en-wiki:User_talk:Nick_Moyes#ESC_key_in_VisualEditor
Description
Description
Details
Details
Customize query in gerrit
Related Objects
Related Objects
- Mentioned In
- T52868: Escape key inside the main editor should cancel VE mode and return to action=view
- Mentioned Here
- T299907: Sticky header / editing toolbar sometimes switch out later than necessary
rEVEDfb8815f6583d: Fix some behaviour when user aborts VE loading with escape
T52868: Escape key inside the main editor should cancel VE mode and return to action=view
Event Timeline
Comment Actions
This may be a bug in recent refactoring we've done while working on the editing loading transitions (T299907), maybe rEVEDfb8815f6583d: Fix some behaviour when user aborts VE loading with escape?
Comment Actions
Change 763799 had a related patch set uploaded (by DLynch; author: DLynch):
[mediawiki/extensions/VisualEditor@master] Only teardown with no prompt on escape while loading
Comment Actions
Change 763800 had a related patch set uploaded (by Esanders; author: Esanders):
[mediawiki/extensions/VisualEditor@master] Don't suppress teardown prompt when pressing escape
Comment Actions
Change 763799 abandoned by DLynch:
[mediawiki/extensions/VisualEditor@master] Only teardown with no prompt on escape while loading
Reason:
I60fcddee7bf0dfb3a39e92d26898da2963861c19 is simpler
Comment Actions
Change 763800 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Don't suppress teardown prompt when pressing escape
Comment Actions
Actually, we can't deploy today, because it's a holiday in the US and so non-emergency deployments are not allowed. Tuesday then, I guess…
Comment Actions
Change 764396 had a related patch set uploaded (by Bartosz Dziewoński; author: Esanders):
[mediawiki/extensions/VisualEditor@wmf/1.38.0-wmf.22] Don't suppress teardown prompt when pressing escape
Comment Actions
Change 764396 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@wmf/1.38.0-wmf.22] Don't suppress teardown prompt when pressing escape
Comment Actions
Mentioned in SAL (#wikimedia-operations) [2022-02-22T08:20:52Z] <taavi@deploy1002> Synchronized php-1.38.0-wmf.22/extensions/VisualEditor/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js: Backport: Revert: [[gerrit:764396|Don't suppress teardown prompt when pressing escape (T302096)]] (duration: 00m 49s)
Comment Actions
I'll go ahead to verify this. Escape key triggers the confirmation dialog as expected if the key is pressed after one or more edits.