@Osman SOYKURT , thank you for your help on this. It took a LOT of effort, but I was able to change the Application name in seven files so that it imported into CubeIDE uniquely and properly. It also took some work in the CM4 and CM7 Run/Debug Configurations (as you hinted at), but this was relatively easy.
I hope that you and your team are able to update TouchGFX code someday.
Here are all of the changes that I found were necessary in order to build CM4 and CM7, and also to be able to download the code into the board. The .ioc and .launch filenames were changed, and all of the highlighted entries in all of the files were changed, too.
STM32747I-DISCO.ioc
ProjectManager.ProjectFileName=STM32H747I-DISCO.ioc
ProjectManager.ProjectName=STM32H747I-DISCO
STM32CubeIDE\.project
<name>STM32H747I-DISCO</name>.
<name>STM32H747I-DISCO.ioc</name>
<locationURI>PARENT-1-PROJECT_LOC/STM32H747I-DISCO.ioc</locationURI>
STM32CubeIDE\CM4\.project
<name>STM32H747I-DISCO_CM4</name>
STM32CubeIDE\CM4\.cproject
<builder buildPath="${workspace_loc:/STM32H747I-DISCO_CM4}/Debug" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1420436034"
<builder buildPath="${workspace_loc:/STM32H747I-DISCO_CM4}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1977744108"
<project id="STM32H747I-DISCO_CM4.null.1074626412" name="STM32H747I-DISCO_CM4"/>
STM32CubeIDE\CM7\.project
<name>STM32H747I-DISCO_CM7</name>
STM32CubeIDE\CM7\.cproject
<listOptionValue builtIn="false" value="C:/git/stm32h747i-disco/STM32H747I-DISCO/CM7/Middlewares/ST/touchgfx/lib/core/cortex_m7/gcc"/>
<builder buildPath="${workspace_loc:/STM32H747I-DISCO_CM7}/Debug"
<builder buildPath="${workspace_loc:/STM32H747I-DISCO_CM7}/Release"
<project id="STM32H747I-DISCO_CM7.null.189274870" name="STM32H747I-DISCO_CM7"/>
STM32CubeIDE\CM7\STM32H747I-DISCO_CM7 Debug.launch
DISCO_CM7.elf","fProjectName":"STM32H747I-DISCO_CM7","fPerformBuild":true,"fDownload":true,"fLoadSymbols":true}]}"/>
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug\STM32H747I-DISCO_CM7.elf"/>
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="STM32H747I-DISCO_CM7"/>
<listEntry value="/STM32H747I-DISCO_CM7"/>