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

Creator does not notice file updates when in Options dialog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 3.4.1, Qt Creator 3.6.1
    • Fix Version/s: Qt Creator 4.0.0-beta1
    • Component/s: All Other Issues
    • Labels:
    • Environment:
      Ubuntu 15.10 64 bit

      Creator built on Qt 5.4.2, Qt 5.5.1 or Qt 5.6.0

      Description

      1. Open a file in Creator.
      2. Open the Options dialog using "File" -> "Options...".
      3. Edit and save the file from step 1 using an external editor, e.g. gedit.
      4. Give focus to the Options dialog.
        Creator won't report the changed file.
      5. Click "Cancel" to close the Options dialog.
        Creator won't report the changed file.
      6. Give focus to a different application, e.g. a terminal window.
      7. Give focus to Creator
        The file changed indeed. Creator shows the "File Changed" dialog at last.

      Creator should show the "File Changed" dialog after closing the Options dialog. I think this is a serious issue because it may lead to unnoticed loss of data. On Windows, this seems to work correctly.

      Found while preparing an update for Squish test tst_edit_externally.

        Attachments

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

          Activity

            People

            Assignee:
            con Eike Ziller
            Reporter:
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes