If you have a subgroup in your product, right clicking on it, selecting "add new file" and following with "next, next, next" will by default select this available subgroup to place new files instead of the Product's files: section.
Attached example. Steps to reproduce:
You will see that "pch" group gets selected by default.
This behaviour is extremely undesirable and produces a multitude of problems when the group is not changed manually in this combobox
P.S. I am afraid JIRA insists that I miss some kind of token and refuses to allow me to attach a file so here it is on google drive:
P.P.S pls note that the project isn't supposed to compile, because it doesn't need to, to demonstrate the behaviour, so it most likely doesnt
|For Gerrit Dashboard: QTCREATORBUG-20480|
|230314,2||QbsProjectManager: Add new files to the top-level product||4.7||qt-creator/qt-creator||Status: MERGED||+2||0|