[Webkit-unassigned] [Bug 88595] [GTK] WebKitGtk+'s WebView should allow arbitrary actions to be added to the UndoStack.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 16 02:53:34 PST 2018


Milan Crha <mcrha at redhat.com> changed:

           What    |Removed                     |Added
                 CC|                            |mcrha at redhat.com

--- Comment #2 from Milan Crha <mcrha at redhat.com> ---
Having also some API to "glue" together several commands on the Undo stack and make them behave like a single Undo/Redo step would be a (related) benefit. That would be for cases when you know you are going to do a complicated task, which can be partly recorded by WebKit, but which also requires some additional manual DOM changes. Then you'd do something like:

   ... do the changes...

It won't be probably dom_document, but something lower, I do not know, it doesn't matter that much, the thing is to be able to have undo, which does several other undo steps. Whether nesting of complex undo commands will be allowed is a question. It probably could be allowed.

An API to clear Undo stack would be also nice to have.

All these things together would relax Undo/Redo code in applications like Geary and Evolution, where the undo stacks are duplicated due to semi-complex changes on the DOM (which, in case of Evolution, sometimes leads to misbehaviour).

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180216/08f76f5b/attachment-0001.html>

More information about the webkit-unassigned mailing list