Schematic editor: Attributes (exclude from BOM, exclude from board) ignored in derived symbol
<!-- --------Before Creating a New Issue----------- * Limit report to a single issue. * Search the issue tracker to verify the issue has not already been reported. * Complete all instructions between `template comment markers <>. * Keep report contents limited to the necessary information required to fix the issue. * When creating an issue against the stable version of KiCad, make sure the latest available stable version is installed as issues may have already been resolved in later stable versions. --> # Description <!-- What is the current behavior and what is the expected behavior? --> <!-- If the issue is visual/graphical, please attach screenshots of the problem. --> <!-- Add the issue details below this line and before the "Steps to reproduce" heading. --> Attributes (exclude from BOM, exclude from board) unavailable in symbol editor properties dialog of derived symbol, so they are preserved from parent symbol. If any/all of those attributes are set in parent symbol, all of them are reset in derived symbol placed to schematic. "Exclude from simulation" attribute is preserved as expected. # Steps to reproduce <!-- If there are multiple steps to reproduce it or it is a visual issue, then providing a screen recording as an attachment to this report is recommended. --> <!-- If this issue is specific to a project, please attach the necessary files to this issue. --> <!-- Add the steps to reproduce using the numbers below --> <!-- Add new step numbers before the "KiCad Version" heading. --> 1. Create parent symbol, set attributes "Exclude from BOM", "exclude from board", "exclude from simulation". 2. Create derived symbol. 3. Place derived symbol to schematics. 4. Open derived symbol properties dialog - only "exclude from simulation" attribute set. # KiCad Version <!-- Copy version information (from main menu Help->About KiCad ->Copy Version Info) and paste it between the triple backticks below to preserve the formatting. --> ``` Application: KiCad Schematic Editor Version: (7.0.0-rc2-160-g6543d23d9f), debug build Libraries: wxWidgets 3.0.5 FreeType 2.11.1 HarfBuzz 2.7.4 FontConfig 2.13.1 Platform: Linux Mint 21.1, 64 bit, Little endian, wxGTK, cinnamon, x11 wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24 Boost: 1.74.0 OCC: 7.5.1 Curl: 7.81.0 ngspice: 38+ Compiler: GCC 11.3.0 with C++ ABI 1016 Build settings: KICAD_SPICE=ON KICAD_STDLIB_DEBUG=OFF KICAD_STDLIB_LIGHT_DEBUG=OFF KICAD_SANITIZE_ADDRESS=OFF KICAD_SANITIZE_THREADS=OFF ```
issue