Skip to content

v1.6.15: PotPlayer in default ExcludedApps + migration framework - #5

Merged
rokogan merged 1 commit into
masterfrom
claude/v1.6.15-potplayer-exclusion
May 24, 2026
Merged

v1.6.15: PotPlayer in default ExcludedApps + migration framework#5
rokogan merged 1 commit into
masterfrom
claude/v1.6.15-potplayer-exclusion

Conversation

@rokogan

@rokogan rokogan commented May 24, 2026

Copy link
Copy Markdown
Contributor

User-reported fix: dragging PotPlayer's custom-chrome title bar or double-clicking on the video area was firing the Ctrl+Insert fallback, which PotPlayer interprets as a non-copy shortcut.

Fix

  • PotPlayerMini64 and PotPlayerMini added to the default ExcludedApps list.
  • New ExcludedAppsDefaultsVersion field + MigrateExcludedAppsDefaults mechanism in SettingsManager: existing users' settings.json files pick up new defaults on Load without overwriting their own additions/removals. Idempotent.

Users who want capture in PotPlayer can still remove these via Settings → Excluded apps; the version field ensures they won't get re-added on next launch.

User report: dragging PotPlayer's (custom-chrome) title bar or double-clicking
on the video area fires SnapActions's capture cascade. WM_COPY and the new
v1.6.13 UIA layer both return empty (no text element), then the Ctrl+Insert
fallback fires — PotPlayer interprets Ctrl+Insert as a non-copy shortcut, so
the keystroke becomes a phantom input rather than a no-op.

Fix:
- AppSettings.cs: new ExcludedAppsDefaultsVersion property (default 0) tracking
  which generation of default-exclusions this file has absorbed.
- SettingsManager.cs: new MigrateExcludedAppsDefaults run during Load, walks
  through ExcludedAppsDefaultsHistory and appends entries the file hasn't seen
  yet. Idempotent (dedup check), user-respecting (only ever adds, never removes).
- ExcludedAppsDefaultsHistory[0] = PotPlayerMini64, PotPlayerMini (v1.6.15).

Existing users upgrade to 1.6.15 → first time they trigger any save the
ExcludedAppsDefaultsVersion bumps to 1 and PotPlayer entries persist. Users
who want capture in PotPlayer can remove them via Settings → Excluded apps;
the version is already 1 so they won't come back.

The migration framework also gives us a clean knob for the next 'this app
mis-fires Ctrl+Insert' report: append a new (version, apps) row.
@rokogan
rokogan merged commit ac931a3 into master May 24, 2026
@rokogan
rokogan deleted the claude/v1.6.15-potplayer-exclusion branch May 24, 2026 15:27
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.

1 participant