Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-5392

Undo/redo or any manual change to document while in subcomponent edit mode can cause various parsing errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • QDS 2.3 Beta
    • QDS 2.3
    • Model and Rewriter
    • None
    • 2
    • c2fb654681970bf13a948db2bb700ae5ccb9471f (qt-creator/qt-creator/6.0)
    • QDS 3D - 2021 Week 45/46

    Description

      Undo/redo is indistinguishable from manual text change in ComponentTextModifier. Neither properly updates ComponentTextModifier offsets when document is in subcomponent edit mode, usually leading to various parsing errors.

      When an unexpected non-whitespace change to document text is detected, ComponentTextModifier should be recreated from scratch. It's bit problematic as this requires a rewriter view attached to original document model, but rewriter view is currently attached to the in-file subcomponent model.

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes