Skip to content

Document frameless guidance for popout dialogs#2619

Merged
ten9876 merged 1 commit into
aethersdr:mainfrom
rfoust:codex/claude-dialog-frameless-guidance
May 13, 2026
Merged

Document frameless guidance for popout dialogs#2619
ten9876 merged 1 commit into
aethersdr:mainfrom
rfoust:codex/claude-dialog-frameless-guidance

Conversation

@rfoust

@rfoust rfoust commented May 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add CLAUDE.md guidance that new popout windows, floating tool windows, and QDialogs should respect the global FramelessWindow setting.
  • Point future agents at the existing FramelessWindowTitleBar, FramelessResizer, and NetworkDiagnosticsDialog setFramelessMode pattern.
  • Call out the constructor-time geometry/top-left placement pitfall and when explicit centering should be documented.

Testing

  • Documentation-only change; not run.

Copilot AI review requested due to automatic review settings May 13, 2026 04:54
@rfoust rfoust requested a review from ten9876 as a code owner May 13, 2026 04:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds contributor/agent guidance to ensure new popout windows and dialogs consistently respect the global FramelessWindow setting and follow existing frameless-chrome patterns already used in the GUI code.

Changes:

  • Document requirement that new popout windows/tool windows/QDialogs honor AppSettings("FramelessWindow") by default.
  • Point contributors at existing frameless helpers (FramelessWindowTitleBar, FramelessResizer) and the NetworkDiagnosticsDialog::setFramelessMode geometry/visibility pattern.
  • Add guidance on avoiding constructor-time geometry restore / forced (0,0) placement and when explicit centering should be documented.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ten9876 ten9876 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved. Accurate summary of the frameless pattern, and the (0,0)/constructor-geometry anti-pattern guidance is timely after #2618 removed that exact code from AudioDeviceChangeDialog.

@ten9876 ten9876 merged commit 003982b into aethersdr:main May 13, 2026
7 checks passed
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.

3 participants