Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rounded corners don't apply right away in some cases #782

Open
ModWorx opened this issue Nov 5, 2024 · 11 comments
Open

Rounded corners don't apply right away in some cases #782

ModWorx opened this issue Nov 5, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@ModWorx
Copy link

ModWorx commented Nov 5, 2024

No rounded corners on screens, even "prefer-no-csd" is uncomment and window rules set.

System Information

  • niri version: niri 0.1.9 (6a48728)

  • Distro: Fedora Linux 41 (Workstation Edition) x86_64

  • GPU: AMD RX 5500 XT

  • CPU: AMD Ryzen5 3600

@ModWorx ModWorx added the bug Something isn't working label Nov 5, 2024
@YaLTeR
Copy link
Owner

YaLTeR commented Nov 5, 2024

Do you still not get rounded corners after moving around a little bit and spawning new windows? I know there's some sort of damage bug currently where going from not rounded to rounded does not apply immediately.

What's your window rule? You should do this:

window-rule {
    geometry-corner-radius 12
    clip-to-geometry true
}

@ModWorx
Copy link
Author

ModWorx commented Nov 5, 2024

Still no rounded corners when moving around or spawning new windows.

The window rule is what you replied.

@YaLTeR
Copy link
Owner

YaLTeR commented Nov 5, 2024

Show a screenshot?

@ModWorx
Copy link
Author

ModWorx commented Nov 5, 2024

afbeelding

@YaLTeR
Copy link
Owner

YaLTeR commented Nov 6, 2024

Could you also attach your full config?

@ModWorx
Copy link
Author

ModWorx commented Nov 6, 2024

config.txt

@YaLTeR
Copy link
Owner

YaLTeR commented Nov 6, 2024

That looks fine. Strange. Could you try adding border { off; } into the same window rule to see if it goes into effect?

@ModWorx
Copy link
Author

ModWorx commented Nov 7, 2024

I got rounded corners, but i adjusted the radius several times ( making it smaller, and then increasing again), and know it seems to work.

Geplakte afbeelding (3)

@YaLTeR
Copy link
Owner

YaLTeR commented Nov 7, 2024

Gonna guess it's the damage issue that I mentioned.

@YaLTeR YaLTeR changed the title No rounded corners Rounded corners don't apply right away in some cases Nov 9, 2024
@SofusA
Copy link

SofusA commented Nov 10, 2024

I have the same issue on fedora 40 and 41 with both nvidia and amd gpu.

Rounded corners are applied first overflow of windows.
And then it will keep working with no issues.

Let me know if I can help debugging.

@BRS5672023
Copy link

BRS5672023 commented Nov 14, 2024

I've also encountered with this issue on archlinux, but only on my desktop, and limited to the case of launching a kitty terminal at first (if say, I launch chromium right away, it will have a rounded corner)..

But it seems to have no reason that this does not show up on my laptop, with a radeon 780m gpu (my desktop is also having an rdna3 gpu, 7800xt).

Well, it seems that the issue may related to the scaling of output, which only occur when scale is set to 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants