HandyOrg / HandyOrg/HandyControl

hc:Window cannot be resized if it starts with WindowState=Maximized and is then restored

Open
#1,793 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
7.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

When the hc:window is initialized with WindowState=Maximized, resizing no longer works after restoring it to normal state.

Steps to reproduce the bug

Set WindowState="Maximized" in XAML or during initialization(hc:Window)
Launch the application
Restore the window to normal state
Move the mouse to the window edge

Expected behavior

The window should be resizable, and the resize cursor should appear at the edges.

Screenshots

No response

NuGet package version

HandyControls (Custom version) 3.6.0

IDE

Visual Studio 2026

Framework type

.Net 10.0

Windows version

Windows 11

Additional context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with hc:Window initialized to WindowState="Maximized", then restore it and test resizing at the window edges. Inspect the hc:Window state and resize handling; done means the restored window resizes normally and shows the resize cursor at its edges.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.