-
Notifications
You must be signed in to change notification settings - Fork 207
Closed
Labels
Bug在使用 ClassIsland 的过程中遇到了 Bug在使用 ClassIsland 的过程中遇到了 Bug优先级:无短期内不会计划完成的事项短期内不会计划完成的事项待发布待查看等待开发者查看此 Issue等待开发者查看此 Issue需要人工分类
Description
检查清单
- 我已更新到最新版
或
测试,并看过 最新提交,确认这一 Bug 还没有修复。我也已在 Issues 中检索,确认这一 Bug 未被提交过,并且在 常见问题 中没有解决方案。
- 我已经仔细阅读过选项里的内容,并且知道这个选项不用勾选。
- 我已知晓并同意,此处仅用于汇报程序中存在的问题(关于其他非程序本身的问题应当在 Discussion 板块提出)。
期望的行为
已隐藏的组件的组件行不再显示。
实际结果
已隐藏的组件确实隐藏了,但组件行仍存在(显示为一个空行)
重现步骤
1.在应用设置-组件中创建至少两个组件行
2.任意一个组件行中放置一个被设定为在指定条件下才会显示的组件(且该组件行只有该组件)
3.在应用设置-组件中创建至少两个配置方案
4.在第二个配置方案中随便放置几个组件
5.在应用设置-组件中从第二个组件配置切换为第一个配置方案
堆栈跟踪(可选)
在开发控制台中出现的Avalonia警告日志:
2025/11/30 11:26:46 | warn | ClassIsland.Services.Logging.AvaloniaLoggingSink | [Binding] An error occurred binding 'IsVisible' to 'SettingsService.Settings.IsMainWindowVisible' at 'SettingsService': 'Could not find a matching property accessor for 'SettingsService' on 'ClassIsland.Controls.Components.SlideComponent'.' (Grid #GridRoot)
2025/11/30 11:26:46 | warn | ClassIsland.Services.Logging.AvaloniaLoggingSink | [Animations] Cannot find the appropriate transform: "Avalonia.Media.TranslateTransform" in ClassIsland.Core.Controls.FluentIcon. (FluentIcon #10213724)
2025/11/30 11:26:46 | warn | ClassIsland.Services.Logging.AvaloniaLoggingSink | [Binding] An error occurred binding 'ItemsSource' to 'ClassPlan.TimeLayout.Layouts' at 'ClassPlan': 'Value is null.' (LessonsListBox #MainLessonsListBox)
2025/11/30 11:26:46 | warn | ClassIsland.Services.Logging.AvaloniaLoggingSink | [Binding] An error occurred binding 'ItemsSource' to 'ClassPlan.TimeLayout.Layouts' at 'ClassPlan': 'Value is null.' (LessonsListBox #TomorrowLessonsListBox)
2025/11/30 11:26:46 | warn | ClassIsland.Services.Logging.AvaloniaLoggingSink | [Binding] An error occurred binding 'IsVisible' to 'SettingsService.Settings.IsMainWindowVisible' at 'SettingsService': 'Could not find a matching property accessor for 'SettingsService' on 'ClassIsland.Core.Models.Components.MainWindowLineSettings'.' (Grid #GridRoot)
2025/11/30 11:26:46 | warn | ClassIsland.Services.Logging.AvaloniaLoggingSink | [Binding] An error occurred binding 'Content' to '$visualParent[MainWindowLine].OverlayContent.Content' at 'OverlayContent': 'Value is null.' (ContentPresenter #2229966)
2025/11/30 11:26:46 | warn | ClassIsland.Services.Logging.AvaloniaLoggingSink | [Binding] An error occurred binding 'ContentTemplate' to '$visualParent[MainWindowLine].OverlayContent.ContentTemplate' at 'OverlayContent': 'Value is null.' (ContentPresenter #2229966)
2025/11/30 11:26:46 | warn | ClassIsland.Services.Logging.AvaloniaLoggingSink | [Binding] An error occurred binding 'Content' to '$visualParent[MainWindowLine].MaskContent.Content' at 'MaskContent': 'Value is null.' (ContentPresenter #OverlayMaskContent)
2025/11/30 11:26:46 | warn | ClassIsland.Services.Logging.AvaloniaLoggingSink | [Binding] An error occurred binding 'ContentTemplate' to '$visualParent[MainWindowLine].MaskContent.ContentTemplate' at 'MaskContent': 'Value is null.' (ContentPresenter #OverlayMaskContent)
2025/11/30 11:26:46 | trce | ClassIsland.Controls.MainWindowLine | 已应用控件模板诊断信息
SystemOsVersion: Microsoft Windows 10.0.26100
SystemOsArch: X64
SystemDeviceName: Default string
SystemDeviceVendor: Default string
AppPackageRoot: ./
AppRoot: ./
AppCurrentDirectory: D:\{UserName}\Desktop\Visual_Studio_Projects\Open_Source_Project\ClassIsland\ClassIsland.Desktop\bin\Debug\net8.0-windows10.0.19041.0\
AppExecutingEntrance: D:\{UserName}\Desktop\Visual_Studio_Projects\Open_Source_Project\ClassIsland\ClassIsland.Desktop\bin\Debug\net8.0-windows10.0.19041.0\ClassIsland.Desktop.exe
AppCurrentMemoryUsage: 785,375,232.00
AppStartupDurationMs: 5022
AppVersion: 1.6.1.0-Khaslana-dbc5bf45(master) (Core 2.0.0.0)
AppSubChannel: windows_unknown_full_folderClassic
AppIsAssetsTrimmed: False
DiagnosticFirstLaunchTime: 2024/12/1 12:42:23
DiagnosticStartupCount: 371
DiagnosticMemoryKillCount: 0
DiagnosticLastMemoryKillTime: 2024/12/1 12:42:23
DiagnosticMemoryKillFreqDay: 0.000
最后一步
- 我认为上述的描述已经足以详细,以允许开发人员能复现该问题。如果我的 issue 没有按照上述的要求填写,可能会被无条件关闭。
Metadata
Metadata
Assignees
Labels
Bug在使用 ClassIsland 的过程中遇到了 Bug在使用 ClassIsland 的过程中遇到了 Bug优先级:无短期内不会计划完成的事项短期内不会计划完成的事项待发布待查看等待开发者查看此 Issue等待开发者查看此 Issue需要人工分类