Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-6275

Binary Editor does not update editor view correctly for changed-on-disk files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • Qt Creator 3.1.0-beta
    • Qt Creator 2.3.0
    • Editors
    • None
    • Win XP SP3
    • f5e7526a33d5425b67c154996f643c7904a2ecd9

      When viewing a loaded binary file the Qt Creator asks to reload the file, if it is changed on disk.

      When answering "yes" the size of the file is correct, but the contents is not updated correctly.

      This costs you some time, if you check for output of a QDataStream
      while changing the data that you output,
      living in believing that the refresh of the editor works correctly....

      Reproduce:

      • Create a binary file
      • Open it with QtCreator (so the binary editor ... 3column view: address | context as hex | context as ASCII ... shows up
      • Use another editor to change the binary file
        -> switch back to QtCreator and answer the question: File Changed .... with "Yes"

      Expected Result: The context of the editor should reflect the new context of the file.
      Faulty Result: The context of the editor is not changed.

      Work around:
      close file, reopen file: contents is correct.

        For Gerrit Dashboard: QTCREATORBUG-6275
        # Subject Branch Project Status CR V

            fawzi Fawzi Mohamed
            moellney Michael Möllney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes