Git Icon doesn't reflect changes in subsheet
Description
The current behavior is that the git icon (green checkmark, red circle, etc) in the project window only reflects the state of the top-level schematic sheet. If the schematic icon represents the "whole" schematic by hiding the subsheets, then I would expect the git icon to also reflect the "whole" schematic.
Pardon the high-res image. I wanted to visually show the git status (using VSCode) and in the project window.
Steps to reproduce
- Create a KiCAD project where the schematic has subsheets.
- Commit the KiCAD files in Git.
- Change something in the subsheet
- Observe the icon in the project window.
KiCad Version
Application: KiCad x64 on x64
Version: 9.0.4, release build
Libraries:
wxWidgets 3.2.8
FreeType 2.13.3
HarfBuzz 10.2.0
FontConfig 2.15.0
libcurl/8.13.0-DEV Schannel zlib/1.3.1
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Aug 18 2025 00:41:45
wxWidgets: 3.2.8 (wchar_t,wx containers)
Boost: 1.88.0
OCC: 7.9.1
Curl: 8.13.0-DEV
ngspice: 44
Compiler: Visual C++ 1942 without C++ ABI
KICAD_IPC_API=ON
Locale:
Lang: en_US
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)