Skip to content

合并分支 - #653

Merged
CJKmkp merged 15 commits into
net10-winrtinkfrom
net10
Sep 6, 2026
Merged

合并分支#653
CJKmkp merged 15 commits into
net10-winrtinkfrom
net10

Conversation

@CJKmkp

@CJKmkp CJKmkp commented Sep 6, 2026

Copy link
Copy Markdown
Member

No description provided.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@CJKmkp
CJKmkp merged commit 415b112 into net10-winrtink Sep 6, 2026
13 checks passed
@augmentcode

augmentcode Bot commented Sep 6, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: This PR refreshes dependencies and improves runtime handling of the Windows light/dark preference.

Changes:

  • Updates Costura, H.NotifyIcon, PDFsharp, MEF, DI, CommunityToolkit, System.Management, and Vortice package versions.
  • Increments the automatic update version from 1.8.0.0 to 1.8.0.5.
  • Synchronizes the application-level Modern WPF theme when applying light, dark, or Follow-system settings.
  • Adds system preference monitoring with delayed retries for registry-update timing during OS theme changes.
  • Stops the theme retry timer and unsubscribes the system event during window shutdown.
  • Preserves the selected toolbar group while editing a child, allowing group-child changes to be synchronized back.
Technical Notes: Theme change handling dispatches to the UI thread and refreshes notification and floating-toolbar appearance after a confirmed system-theme switch.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 1 suggestion posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

try
{
// 手动切换主题时基线失效,运行时系统深浅色切换需要重新建立
_lastFollowedSystemThemeLight = null;

@augmentcode augmentcode Bot Sep 6, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Ink Canvas/MainWindow.xaml.cs:3623] When a running instance changes from a fixed theme to Follow system, this clears the baseline and case 2 never establishes it. CheckSystemThemeSwitch then treats the first subsequent OS light/dark transition solely as baseline initialization and returns, so the application misses that transition and remains on the prior theme until another system preference event occurs.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

@doudou0720

doudou0720 commented Sep 7, 2026 via email

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants