Skip to content

fix: validate corner radius against window geometry - #365

Merged
mmstick merged 1 commit into
pop-os:masterfrom
hojjatabdollahi:hojjat/fix-radius
Jul 10, 2026
Merged

fix: validate corner radius against window geometry#365
mmstick merged 1 commit into
pop-os:masterfrom
hojjatabdollahi:hojjat/fix-radius

Conversation

@hojjatabdollahi

@hojjatabdollahi hojjatabdollahi commented Jul 9, 2026

Copy link
Copy Markdown

This should fix the minimize applet crashing.

The size in gaurd.size is outdated and the compositor will validate the radius against the latest window geometry.

Also on resize we keep recalculating and applying different values for corner radius.

@jacobgkau
jacobgkau requested a review from a team July 10, 2026 00:05
@mmstick
mmstick merged commit 5da1188 into pop-os:master Jul 10, 2026
jackpot51 added a commit to pop-os/libcosmic that referenced this pull request Jul 10, 2026
- [x] Depends on pop-os/iced#365
___
- [x] I have disclosed use of any AI generated code in my commit
messages.
- If you are using an LLM, and do not fully understand the changes it is
making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex
code that lacks enough context for a proper fix or feature inclusion.
This results in considerably longer code reviews. Due to this, AI
authored or partially authored PRs may be closed without comment.
- [x] I understand these changes in full and will be able to respond to
review comments.
- [x] My change is accurately described in the commit message.
- [x] My contribution is tested and working as described.
- [x] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.
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