Skip to content

Autowindow&navigator - #600

Open
LyonJack wants to merge 7 commits into
Dirkster99:masterfrom
LyonJack:autowindow&navigator
Open

Autowindow&navigator#600
LyonJack wants to merge 7 commits into
Dirkster99:masterfrom
LyonJack:autowindow&navigator

Conversation

@LyonJack

@LyonJack LyonJack commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

liuxiaoqing and others added 5 commits July 1, 2026 14:35
… and floating windows, optimize content handling for floating windows

Fixes
1. Fix activation logic of selected items in navigator window
2. Fix layout and foreground color of selectedElementDescription under VS2013 theme for NavigatorWindow
3. Fix floating window size calculation logic
4. Fix potential null reference exceptions when traversing parent visual elements

Improvements
1. Refine overall content handling logic of floating layout window control
2. Add support for content elements implementing the `ILayoutContentElement` interface to improve compatibility with various content types
3. Adjust icon size of dock context menu
Revised the size calculation logic within LayoutFloatingWindowControl when AutoWindowSizeWhenOpened is enabled.
The expected size retrieved via the Measure method is used instead of relying on actual rendered dimensions,
to more accurately resolve the intrinsic content size.
@sharpSteff

Copy link
Copy Markdown
Collaborator

Whats the purpose of this PR? That diff is huge

@LyonJack

LyonJack commented Jul 6, 2026 via email

Copy link
Copy Markdown
Contributor Author

liuxiaoqing added 2 commits July 7, 2026 16:40
- Fix extra spaces in Spanish translations within Resources.es.resx
- Add missing entries to the Portuguese translation file Resources.pt.resx
SonarAnalyzer.CSharp 10.32 introduced rule S6444, which requires
regular expression calls to pass a matchTimeout to prevent ReDoS
attacks. The Regex.Replace call in ToggleDockingManager.cs does not
provide a timeout, so it triggers the rule; combined with
TreatWarningsAsErrors=true in Directory.Build.props, the build fails.

The pattern "(\\B[A-Z])" is a fixed, simple regex applied to internal
enum names (e.g. DockZone -> "Dock Zone"). The input is not
user-controlled, so there is no ReDoS risk. Suppressing the rule
locally with #pragma warning disable S6444 keeps the other rules
enabled and does not affect behavior.
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