The existing WinLaunch does not support placing folders inside other folders. Since I critically need this feature, I modified the source code of WinLaunch v0.7.3.0 to add nested folder functionality. However, icons within nested folders fail to display correctly.
Observed Behavior:
If a folder was rendered before being moved into another folder, the icons inside it display normally.
After restarting the software, since the folder now exists within another folder, its internal icons fail to display.
Right-clicking the nested folder and selecting "Edit" or "Restore" causes the icons inside it to render correctly again.
Modifications Attempted After Discovery:
Called UpdateIcons at the end of the UpdateIC method: This caused the icons to render with an extra border.
Added a new recursive method AddItemAndChildrenToContainer: This resulted in an error stating: "The specified Visual is already a child of another Visual or the root of a CompositionTarget". The root cause was that the same ContentRef was being added (Add) in multiple places.
Fixed the above error: The icons still did not display correctly.
Attempted recursive icon rendering during program initialization: This was ineffective.
Attempted a workaround by placing the folder's snapshot inside a hidden outer folder: This involved:
Adding an IsHidden property to the SBItem class.
Setting the IsFolders property of this outer folder type to False within the Folders class.
Result: This approach was also ineffective.
As a high school student from China, my technical knowledge and time are limited. I've been unable to resolve this issue despite these efforts. I sincerely hope you can assist me.
The existing WinLaunch does not support placing folders inside other folders. Since I critically need this feature, I modified the source code of WinLaunch v0.7.3.0 to add nested folder functionality. However, icons within nested folders fail to display correctly.
Observed Behavior:
If a folder was rendered before being moved into another folder, the icons inside it display normally.
After restarting the software, since the folder now exists within another folder, its internal icons fail to display.
Right-clicking the nested folder and selecting "Edit" or "Restore" causes the icons inside it to render correctly again.
Modifications Attempted After Discovery:
Called UpdateIcons at the end of the UpdateIC method: This caused the icons to render with an extra border.
Added a new recursive method AddItemAndChildrenToContainer: This resulted in an error stating: "The specified Visual is already a child of another Visual or the root of a CompositionTarget". The root cause was that the same ContentRef was being added (Add) in multiple places.
Fixed the above error: The icons still did not display correctly.
Attempted recursive icon rendering during program initialization: This was ineffective.
Attempted a workaround by placing the folder's snapshot inside a hidden outer folder: This involved:
Adding an IsHidden property to the SBItem class.
Setting the IsFolders property of this outer folder type to False within the Folders class.
Result: This approach was also ineffective.
As a high school student from China, my technical knowledge and time are limited. I've been unable to resolve this issue despite these efforts. I sincerely hope you can assist me.