-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 18.0.0
-
None
examples-manifest.xml can contain <fileToOpen/> elements with an attribute mainFile="true". The file marked in that way is supposed to be the active file in the editor, after the project is loaded. That is achieved by ensuring it is the last file being loaded: https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/src/plugins/qtsupport/gettingstartedwelcomepage.cpp?h=17.0#n178
However, at least in the case of the Satellite Info example, the other file is active:
Note: If the file to be loaded on top is prepended instead of appended (in gettingstartedwelcomepage.cpp), the correct document is open on top. I doubt, though, that this would be a proper fix.