Skip to content

Show minimize button when ShowInTaskbar is enabled - #2033

Draft
MORTEM3845 wants to merge 2 commits into
QL-Win:masterfrom
MORTEM3845:feat/2015-taskbar-minimize
Draft

MORTEM3845 wants to merge 2 commits into
QL-Win:masterfrom
MORTEM3845:feat/2015-taskbar-minimize

Conversation

@MORTEM3845

Copy link
Copy Markdown

PR Checklist

  • Functionality has been tested, no obvious bugs
  • Code style follows project conventions
  • Documentation/comments updated (if applicable): no separate documentation change is needed for this caption button

Brief Description of Changes

When ShowInTaskbar=true, the preview window appears on the taskbar but has no minimize button. Add a caption button next to maximize that sets WindowState.Minimized. Bind its visibility to ShowInTaskbar, so it stays hidden when the option is disabled.

Use the existing caption style and translation helper. Add MW_Minimize in all 29 locale sections for the tooltip and accessibility name.

Related Issue (if any)

Closes #2015.

Context: #1789 (comment)

Additional Notes

Validation:

  • Debug AnyCPU / .NET Framework 4.6.2 build passed using local SDK/resource build adjustments, excluded from this PR.
  • Translation XML parsed successfully; every locale has exactly one nonempty MW_Minimize entry.
  • A screenshot of the test build shows the new caption button.

This is a feature request. The PR is a draft because end-to-end minimize/restore, ShowInTaskbar=false, pinned-window behavior, and F11 fullscreen transitions have not yet been verified.

Remaining manual checks:

  1. Enable ShowInTaskbar, open a preview, minimize with the new button, and restore from the taskbar.
  2. Repeat with a pinned preview and check that its contents and pinned state survive.
  3. Enter and leave fullscreen with F11; check window bounds and caption behavior.
  4. Disable ShowInTaskbar, restart, and confirm that the minimize button remains hidden.

@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
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.

[FR] Show minimize button when ShowInTaskbar is enabled

1 participant