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

-client only works for the first instance of Qt Creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 2.8.0-rc
    • Qt Creator 2.7.1, Qt Creator 2.8.0-rc
    • All Other Issues
    • None
    • Windows, Linux
    • 29597d36d253be8e4032e1cfa02af8cf9f9419cd

    Description

      • Open 2 instances of Creator
      • Close the first one
      • Execute qtcreator -client foo.cpp
      • A new instance is started instead of opening in the previous one. This is true even if -pid is specified.

      firstPeer is locked by the first instance.

      When the second instance is started, it the file is already locked, so it can't lock it again. When qtcreator -client is started, isClient() returns false because the file is not locked anymore, so a new instance is started.

      Attachments

        Activity

          People

            orgads Orgad Shaneh
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: