8

I was editing a question and started from the title. Then when editing question body I accidentally pressed "Esc" instead of "`" for code formatting (body wasn't edited yet). The edit was closed without any prompt to cancel and I lost the edits in the title.

I was on Chrome version 33.0.1750.146.

I suppose this is a bug and there should have been a prompt asking if I want to abandon the edit.

migrated from meta.programmers.stackexchange.com Mar 10 '14 at 12:43

This question came from our discussion, support, and feature requests site for professionals, academics, and students working within the systems development life cycle.

  • 1
    Cannot reproduce on Firefox. – devnull Mar 10 '14 at 12:45
  • 3
    From playing about with this (admittedly on mobile in desktop mode) it seems that both clicking esc and clicking "Cancel" both insta-cancel when only the title is edited. On the other hand if the body is edited then a confirmation box is shown when clicking cancel – Richard Tingle Mar 10 '14 at 12:47
  • 1
    Cannot repro on Chrome – qwertynl Mar 10 '14 at 13:16
  • 1
    @qwertynl, I've encountered the bug on Chrome version 33.0.1750.146. – superM Mar 10 '14 at 13:57
  • I couldn't reproduce this on Chrome 33, Windows 7 either. When I'm on edit page, pressing "Esc" button didn't do anything at all. I wonder if there's something else causing this... – Meta Andrew T. Mar 10 '14 at 14:38
  • @superM did you change the body as well? Looks like the warning is displayed only if you changed something in the post body. – Shadow The Dragon Wizard Mar 10 '14 at 15:38
  • 1
    @Shadow Wizard, I changed only the title. That's the issue that nothing was prompted when I tried to closed the edit. – superM Mar 10 '14 at 16:55
  • 1
    I see, so the "when editing question body" part is misleading. So to reproduce one has to only change the title then press ESC, to see the title edit vaporized into thin air. Can you edit the question to make it clearer? – Shadow The Dragon Wizard Mar 10 '14 at 18:42
  • 1
    reproduced, fix incoming... – m0sa Mar 11 '14 at 12:58
4

Fixed in build rev 2014.3.11.2031 on meta and 2014.3.11.1435 on sites.

  • 1
    What about tags? When editing a question and changing tags only, ESC will silently cancel the edit too without any warning. In my opinion tags are as important as title, so... :) – Shadow The Dragon Wizard Mar 11 '14 at 14:50
  • @ShadowWizard of course that was also taken care of too, but this should be fairly rare, since the ESC button doesn't trigger edit cancellation when the tag editor is focused. – m0sa Mar 11 '14 at 15:07
  • Awesome! Same build, or will it wait for 2014.3.11.2032 and 2014.3.11.1436? – Shadow The Dragon Wizard Mar 11 '14 at 15:08
  • same change-set even – m0sa Mar 11 '14 at 15:42
  • Cool, hope this isn't the change causing the readonly mode! ;) – Shadow The Dragon Wizard Mar 11 '14 at 15:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .