Open SamOphis opened 4 years ago
Thanks for the very thorough issue!
This problem has been discussed in the past and is probably the last major hurdle functionally. In fact I already have a somewhat working solution that you can find here. It's not quite there because it crashes very easily. I assume this is a result of the pixmap being updated when that isn't expected.
I haven't looked into this further because, to be honest, it wouldn't be a feature I'd use. I'll push the change to a seperate branch and hopefully someone more motivated then me can track down what causes the crash.
The changes are now on the shape-dev
branch, you can find them here.
The crash I'm referring to can be reproduced by following these steps:
I see, thank you. The crashes won't bother me too much and I'd actually try to help track it down if I was experienced with this sort of stuff. The strokes are mainly for aesthetic reasons, so they're not too important. I'll close this issue because of the changes you made available, thank you.
I think I'm going to leave this open. I'm glad this change works for you, but I'd still like to find a solution and it would be nice to have something open for people that are curious why this hasn't been fixed yet.
Hello there ! I've been using your fork for the last day and can't live without the rounded corners now. :heart:
So here's the thing, I have plenty of time being confined and I would really like to push this issue further but I don't have much experience with C. Would you have some time for mentoring me in the next 5 or so weeks ?
@MonsieurMan Love to hear when people are interested in working open source, even if they don't have the experience. Working on established code bases is how I learned anything about C so I think it's a great place to start!
As for suggestions:
If you want to try to solve this issue in particular I would suggest just using the shape-dev
branch to start. If you create a fair amount of windows you'll see the issue pretty quickly. Things you may need to learn about to get some context:
x_shape_window()
in src/x.c
. Lots of the important logic is in there and the title reshaping.I'm not in a place to actually mentor someone, but if you have any general questions feel free to DM me on twitter (@resloved) or on reddit (/u/resloves).
@resloved, that was the kind of 'mentoring' I was looking for. I know time is a precious resource.
Thank you for trying to make me confident facing this big codebase aha !
I'll be sure to DM you on reddit if I make any significant progress or hit a wall. Thank again and see you soon.
I'm submitting a…
Current Behavior
Setting a
border pixel
size of1
currently outlines the border, as expected, but has issues when outlining the rounded edge; it usually cuts off as seen here:Expected Behavior
The expected behavior is that the rounded edges get outlined the way the non-rounded sides get handled, like this:
(basically just a black line going smoothly around the edge, instead of cutting off).
Reproduction Instructions
Just add these two lines to your i3 config and reload/restart.
Environment
Output of
i3 --moreversion 2>&-
:i3 configuration file is here.