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

"Undo Changes" wants to save unrelated file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: Qt Creator 3.6.1
    • Fix Version/s: Qt Creator 4.0.0-beta1
    • Labels:
      None
    • Environment:
      Ubuntu 15.10 64 bit
      Windows 7 64 bit

      Description

      1. Open a file from a git repository.
      2. Change and save that file.
      3. Open a completely unrelated file (no project, outside any repository).
      4. Change this file but do not save it.
      5. Go back to the first file.
      6. Select "Tools" -> "Git" -> "Current File" -> "Undo Uncommitted Changes for <filename>" from the menu.
        Creator will show a popup stating that the second file has unsaved changes.

      This does not matter in this situation. Creator should ask for confirmation and revert the changes in the first file. It should not touch the other file at all.

        Attachments

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

          Activity

            People

            Assignee:
            orgads Orgad Shaneh
            Reporter:
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes