Skip to content

カタログにデスクトップ別ウィンドウアイコンを表示#212

Open
Freeesia with Copilot wants to merge 6 commits into
masterfrom
copilot/add-window-icons-to-catalog-window
Open

カタログにデスクトップ別ウィンドウアイコンを表示#212
Freeesia with Copilot wants to merge 6 commits into
masterfrom
copilot/add-window-icons-to-catalog-window

Conversation

Copilot AI commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

各仮想デスクトップに属する表示中ウィンドウを定期収集し、カタログ上でプロセスアイコンを確認できるようにします。ラベルとバッジの表示領域を維持します。

  • ウィンドウ収集
    • WindowMonitor が可視ウィンドウをデスクトップ単位で収集・更新通知
  • アイコンキャッシュ
    • 実行ファイルパスをキーにアイコンを抽出・キャッシュ
    • WPF で安全に共有できる凍結済み ImageSource を返却
  • カタログ表示
    • 各デスクトップ項目の右下にウィンドウアイコンを横並びで表示
    • 左下のバッジ、および上下のラベル領域と重ならない配置
var windowIcons = this.windowMonitor.GetDesktopWindows(c.Id)
    .Select(this.windowIconCache.Get)
    .OfType<ImageSource>()
    .ToArray();

Copilot AI changed the title [WIP] Add window icons to catalog window カタログにデスクトップ別ウィンドウアイコンを表示 Jul 12, 2026
Copilot AI requested a review from Freeesia July 12, 2026 12:16
@Freeesia Freeesia marked this pull request as ready for review July 13, 2026 14:50

@Freeesia Freeesia left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

@copilot 指摘点修正して。

Comment thread VdLabel/Program.cs Outdated
.AddSingleton<CommandService>()
.AddSingleton<UpdateChecker>()
.AddSingleton<WindowMonitor>()
.AddSingleton<WindowIconCache>()

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

WindowIconCacheは実クラスをDI登録する必要性がないので、やめて。

Comment thread VdLabel/WindowMonitor.cs Outdated

interface IWindowMonitor
{
event EventHandler? DesktopWindowsChanged;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

カタログは長時間表示するものではないので、追従不要

Copilot AI commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

@copilot 指摘点修正して。

指摘を修正しました。81d5f04

Copilot AI requested a review from Freeesia July 13, 2026 14:53
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.

各デスクトップに表示されているウィンドウのアイコンをカタログウィンドウに載せる

2 participants