Skip to content

[1.7.105.1] 银河麒麟系统 窗口偏移设置导致不置顶等各种恶性BUG #1358

@OrangeFish6

Description

@OrangeFish6

检查清单

  • 我已更新到最新版 最新的版本号最新的版本号 测试,并看过 最新提交,确认这一 Bug 还没有修复。我也已在 Issues 中检索,确认这一 Bug 未被提交过,并且在 常见问题 中没有解决方案。
  • 我已经仔细阅读过选项里的内容,并且知道这个选项不用勾选。
  • 我已知晓并同意,此处仅用于汇报程序中存在的问题(关于其他非程序本身的问题应当在 Discussion 板块提出)。

首先对因为此类奇奇怪怪的bug反复打扰wrc致歉()
但是这次貌似确实破案了
#1354 是之前的问题,后面我把我设置全删了发现好了还以为是直接导入配置的问题,没想到今天手动加配置又出现了这问题,最后反复排查发现是这毛病。。


期望的行为

可以随意修改窗口偏移数值,不出现显示bug

实际结果

目前:在1.7.105.1版本中,银河麒麟系统,在窗口设置菜单中,调整任意大小的“向右偏移”“向下偏移”数值,会出现:①无法绝对置顶(比如ppt放映都盖不过去);②部分显示位置会出现无法点击的恶性问题;③部分情况下会出现显示割裂、课岛不按原计划居中、课岛被截断的奇怪bug。(以上仅为个人复现情况,基本锁定是窗口设置导致的奇怪问题,具体还需您来测试判断)。
但是貌似自启动不会出现这个问题,手动启动会出现;但是自启动现在也配置不了啊,详见 #1355 .

(本人目前复现的系统版本:Kylin-V10-SP1-2303)

重现步骤

银河麒麟系统,窗口设置菜单中调整偏移数值,可以复现。复现成功即可无法实现ppt上的置顶(),或者喜提上方所述的部分问题()
复现视频详见附件。
?为何上传失败。。无语了
(视频附件和诊断数据我发您邮箱上了)
下方为错误形式启动的错误日志,但很显然我不懂是啥问题,所以我全复制过来了()

堆栈跟踪(可选)

[2025/10/3 上午12:17:18] [Warning] 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/10/3 上午12:17:18] [Warning] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[Animations] Cannot find the appropriate transform: "Avalonia.Media.TranslateTransform" in Avalonia.Controls.Border. (Border #OverlayMask)
[2025/10/3 上午12:17:18] [Warning] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[Binding] An error occurred binding 'Content' to '$visualParent[MainWindowLine].OverlayContent.Content' at 'OverlayContent': 'Value is null.' (ContentPresenter #9196329)
[2025/10/3 上午12:17:18] [Warning] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[Binding] An error occurred binding 'ContentTemplate' to '$visualParent[MainWindowLine].OverlayContent.ContentTemplate' at 'OverlayContent': 'Value is null.' (ContentPresenter #9196329)
[2025/10/3 上午12:17:18] [Warning] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[Binding] An error occurred binding 'Content' to '$visualParent[MainWindowLine].MaskContent.Content' at 'MaskContent': 'Value is null.' (ContentPresenter #OverlayMaskContent)
[2025/10/3 上午12:17:18] [Warning] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[Binding] An error occurred binding 'ContentTemplate' to '$visualParent[MainWindowLine].MaskContent.ContentTemplate' at 'MaskContent': 'Value is null.' (ContentPresenter #OverlayMaskContent)
[2025/10/3 上午12:17:18] [Warning] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[Binding] An error occurred binding 'ItemsSource' to 'ClassPlan.TimeLayout.Layouts' at 'ClassPlan': 'Value is null.' (LessonsListBox #MainLessonsListBox)
[2025/10/3 上午12:17:18] [Warning] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[Binding] An error occurred binding 'ItemsSource' to 'ClassPlan.TimeLayout.Layouts' at 'ClassPlan': 'Value is null.' (LessonsListBox #TomorrowLessonsListBox)
[2025/10/3 上午12:17:21] [Warning] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[Binding] An error occurred binding 'IsVisible' to '!ViewModel.SelectedPageInfo.HidePageTitle' at 'SelectedPageInfo': 'Value is null.' (Grid #64754634)
[2025/10/3 上午12:17:21] [Warning] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[Binding] An error occurred binding '__AvaloniaReserved::Classes::FullWidth' to 'ViewModel.SelectedPageInfo.UseFullWidth' at 'SelectedPageInfo': 'Value is null.' (Grid #64754634)
[2025/10/3 上午12:17:21] [Warning] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[Binding] An error occurred binding 'Text' to 'ViewModel.SelectedPageInfo.Name' at 'SelectedPageInfo': 'Value is null.' (TextBlock #26120409)
[2025/10/3 上午12:17:24] [Error] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[IME] Error:
Tmds.DBus.Protocol.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "SetCapacity" with signature "u" on interface "org.fcitx.Fcitx.InputContext" doesn't exist

   at Tmds.DBus.Protocol.DBusConnection.MyValueTaskSource`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Tmds.DBus.Protocol.DBusConnection.CallMethodAsync(MessageBuffer message)
   at Tmds.DBus.Protocol.Connection.CallMethodAsync(MessageBuffer message)
   at Avalonia.FreeDesktop.DBusIme.Fcitx.FcitxX11TextInputMethod.PushFlagsIfNeeded()
   at Avalonia.FreeDesktop.DBusIme.DBusTextInputMethodBase.<>c__DisplayClass40_0.<<UpdateCapabilities>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Avalonia.FreeDesktop.DBusCallQueue.Process() (FcitxX11TextInputMethod #6622802)
[2025/10/3 上午12:17:24] [Error] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[IME] Error while destroying the context:
Tmds.DBus.Protocol.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "DestroyIC" with signature "" on interface "org.fcitx.Fcitx.InputContext" doesn't exist

   at Tmds.DBus.Protocol.DBusConnection.MyValueTaskSource`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Tmds.DBus.Protocol.DBusConnection.CallMethodAsync(MessageBuffer message)
   at Tmds.DBus.Protocol.Connection.CallMethodAsync(MessageBuffer message)
   at Avalonia.FreeDesktop.DBusIme.DBusTextInputMethodBase.QueueOnErrorAsync(Exception e) (FcitxX11TextInputMethod #6622802)
[2025/10/3 上午12:17:27] [Error] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[IME] Error:
Tmds.DBus.Protocol.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "SetCapacity" with signature "u" on interface "org.fcitx.Fcitx.InputContext" doesn't exist

   at Tmds.DBus.Protocol.DBusConnection.MyValueTaskSource`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Tmds.DBus.Protocol.DBusConnection.CallMethodAsync(MessageBuffer message)
   at Tmds.DBus.Protocol.Connection.CallMethodAsync(MessageBuffer message)
   at Avalonia.FreeDesktop.DBusIme.Fcitx.FcitxX11TextInputMethod.PushFlagsIfNeeded()
   at Avalonia.FreeDesktop.DBusIme.DBusTextInputMethodBase.<>c__DisplayClass40_0.<<UpdateCapabilities>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Avalonia.FreeDesktop.DBusCallQueue.Process() (FcitxX11TextInputMethod #58424829)
[2025/10/3 上午12:17:27] [Error] ClassIsland.Services.Logging.AvaloniaLoggingSink:
[IME] Error while destroying the context:
Tmds.DBus.Protocol.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "DestroyIC" with signature "" on interface "org.fcitx.Fcitx.InputContext" doesn't exist

   at Tmds.DBus.Protocol.DBusConnection.MyValueTaskSource`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at Tmds.DBus.Protocol.DBusConnection.CallMethodAsync(MessageBuffer message)
   at Tmds.DBus.Protocol.Connection.CallMethodAsync(MessageBuffer message)
   at Avalonia.FreeDesktop.DBusIme.DBusTextInputMethodBase.QueueOnErrorAsync(Exception e) (FcitxX11TextInputMethod #58424829)

诊断信息

SystemOsVersion: Kylin V10 SP1
SystemOsArch: X64
SystemDeviceName: ???
SystemDeviceVendor: ???
AppPackageRoot: /opt/apps/cn.classisland.app/files/
AppRoot: /home/orangefish/.config/ClassIsland/Data
AppCurrentDirectory: /opt/apps/cn.classisland.app/files/bin
AppCurrentMemoryUsage: 552,144,896.000
AppStartupDurationMs: 881
AppVersion: 1.7.105.1-Khaslana-6ad17efa(HEAD) (Core 2.0.0.0)
AppSubChannel: linux_x64_full_deb
AppIsAssetsTrimmed: False
DiagnosticFirstLaunchTime: 2025/10/1 下午8:31:57
DiagnosticStartupCount: 42
DiagnosticMemoryKillCount: 0
DiagnosticLastMemoryKillTime: 2025/10/1 下午8:31:57
DiagnosticMemoryKillFreqDay: 0.000

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题。如果我的 issue 没有按照上述的要求填写,可能会被无条件关闭。

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug在使用 ClassIsland 的过程中遇到了 Bug优先级:无短期内不会计划完成的事项待查看等待开发者查看此 Issue需要人工分类

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions