Open Bug 1509641 Opened 7 years ago Updated 3 years ago

Increase the granularity of the undo stack

Categories

(Core :: DOM: Editor, defect, P5)

60 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: public, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Steps to reproduce: Type a large amount of text, and then press Ctrl+Z. Actual results: All your text is removed. Expected results: The undo stack has too few checkpoints. Pressing Ctrl+Z will undo too much typing. The exact points at which undo should set a checkpoint are a matter of debate, but examples include: • A pause in typing of some number of seconds • Starting a new numbered/bulleted list entry in HTML editing mode (this is what Word and Outlook do when they are in a good mood) • Starting a new line or paragraph with the enter key • A new sentence, with suitable heuristics (depends on language) • Word boundaries, with suitable heuristics (this is what Pidgin does in chat messages — Undo removes words one by one, very useful) • Some random number of letters or seconds (this is what Outlook and Word do) • Message autosave • Message manual save (per Outlook)
Component: Message Compose Window → Editor
Product: Thunderbird → Core
Version: 60 → 60 Branch
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.