Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-8041 Moving widgets with keyboard does not update them in the UI
  3. QTBUG-8048

QUndoStack: Add API to give it a concept of "dirty" to be able to create editor applications conveniently.

    XMLWordPrintable

Details

    Description

      Most editor applications implement the concept of "Dirty" by tracking the stack index/position of QUndoStack: This triggers insidious bugs:

      1) push command - save - undo - push another command: Appears as clean as the stack index equals that at the time of saving
      2) Doing a sequence of commands that are merged:
      push some commands - save - push further commands of the same kind: Appears as clean as all commands are merged (see parent task)

      Thus it would be nice if the QUndoStack did the book-keeping of "dirty" in a consistent way.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stormols Marius Storm-Olsen
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes