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

Mode shortcuts are not correctly restored on startup

    XMLWordPrintable

Details

    Description

      I'd like to change the keyboard shortcuts for switching between different modes i.e. edit, design, debug, and project. I set my preferred keyboard shortcuts through `Tools` -> `Options` -> `Environment` -> `Keyboard` tab. I then apply the changes and close the Option window. The shortcuts work properly. I check the `QtCreator.ini` file and confirm that they are saved under `[KeyboardShortcuts]` category as:

      QtCreator.Mode.Design=Ctrl+1
      QtCreator.Mode.Edit=Ctrl+`
      QtCreator.Mode.Mode.Debug=Ctrl+2
      QtCreator.Mode.Project=Ctrl+3

      Now, I close Qt Creator and check the `QtCreator.ini` again and confirm that the newly modified shortcuts are still there. However, when I run Qt Creator again, it changes the `QtCreator.ini` and removes two of my shortcuts. This is what it has now:

      QtCreator.Mode.Design=Ctrl+1
      QtCreator.Mode.Edit=Ctrl+`

      I repeated this process couple of times with no luck. How can I fix this? Is this a bug?

      (I am using Qt Creator 4.5.2 in Linux.)

      Attachments

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

        Activity

          People

            con Eike Ziller
            dalvand dalvand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes