Skip to content

Conversation

Copy link

Copilot AI commented Jan 18, 2026

Rules window was constrained to 700×500px while the view required 1200×600px, causing action buttons to be cut off and Edit/Delete buttons to be inaccessible.

Changes

  • Removed conflicting frame constraint from Window definition that was overriding view requirements
  • Updated window initialization size from 700×500px to 1200×600px to match ProxyRulesView dimensions
// Before: Window definition overrode view size
Window("Proxy Rules", id: "proxy-rules") {
    ProxyRulesView(viewModel: viewModel)
        .frame(width: 700, height: 500)  // Conflicted with view's 1200×600
}

// After: Let view determine size
Window("Proxy Rules", id: "proxy-rules") {
    ProxyRulesView(viewModel: viewModel)
}

// AppDelegate window creation
- NSSize(width: 700, height: 500)
+ NSSize(width: 1200, height: 600)

Window remains resizable via existing resizable: true flag.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • github-production-user-asset-6210df.s3.amazonaws.com
    • Triggering command: /usr/bin/curl curl -L -o issue_screenshot.png REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>[Bug, Mac] Rules window is misresized</issue_title>
<issue_description>At the first run it was ok and I created a rule. Now, when I open it, top buttons are cut. Also it's impossible to scroll to EDIT buttons. Macos 26.2

Image

Thank you!</issue_description>

Comments on the Issue (you are @copilot in this section)

@Anof-cyber Can you share some more details? I have added tons of rules, opened, and restarted the app, and even with 10+ rules, I don't see any issues. @Anof-cyber I see the screenshot, the app use dynamic size, there is no fixed size. I have checked on 3 systems, and there are no UI issues that you have mentioned. If I cannot replicate it screesnhot won't help there.

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: Anof-cyber <39705906+Anof-cyber@users.noreply.github.com>
@sonarqubecloud
Copy link

Copilot AI changed the title [WIP] Fix misresized rules window on Mac Fix Rules window size constraint causing UI elements to be cut off on macOS Jan 18, 2026
Copilot AI requested a review from Anof-cyber January 18, 2026 16:42
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