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

Code changes are not saved automatically

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • QDS 4.7
    • QDS 4.5
    • Code View
    • None
    • b5aac705e (qds/dev)

    Description

      If user changes the content of a file in code view, there is no indication that file has been changed. This is revealed only by

      a) user gets a prompt about saving unsaved changes when running the project (causes confusion)

      b) user gets a prompt when trying to quit the application

      Qt DS does not automatically save files, it uses internal logic to determine if change can be saved or not but does not commit it to the file (unless cmd/ctrl + s is pressed).

      suggestion

      If there are unsaved changes on the file when focus is no longer in the code view (user clicks somewhere else) :

      • mark the file 'dirty' in the widget title with asterisk ( * ) (similar to VSC)
      • prompt for saving changes (similar to current dialog, no new UX needed)
      • have 'remember my choice' so Qt DS can save the files each time user navigates out from the code view (can be restated from settings)

       

       

      Attachments

        For Gerrit Dashboard: QDS-12361
        # Subject Branch Project Status CR V

        Activity

          People

            thohartm Thomas Hartmann
            javihria Jarko Vihriälä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes