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

Random coloring on rounded corners #6

Open
psyleft opened this issue May 14, 2022 · 3 comments
Open

Random coloring on rounded corners #6

psyleft opened this issue May 14, 2022 · 3 comments

Comments

@psyleft
Copy link

psyleft commented May 14, 2022

First of all thanks for the awesome plugin, but I'm having a very strange issue. I'm on arch linux running wayfire compiled from source on the most recent master branch, using system wlroots. Likewise with firedecor, compiled from source on the most recent master branch. The problem is that there are strange gaps in the border near the top and bottom of the window, and when I add a corner radius these gaps become bright red instead. Also, you seem to be able to see the border color behind the outlines, in the corner.

Here is an image album of the problem in question.
https://postimg.cc/gallery/TXsFQ3L

@AhoyISki
Copy link
Owner

It is very likely that firedecor is installed in the wrong place. Because the plugin expects the user to download the wayfire-git package from the aur, it installs firedecor at /usr/lib/wayfire/libfiredecor.so. But since you installed wayfire manually, I think the actual plugin install for your build would be at /usr/local/lib/wayfire/. It may be the case that you're using an older version of firedecor, where I remember using those red colors for testing reasons, and before I changed things to install in the "expected" place. Can you check if there is a /usr/lib/wayfire/libfiredecor.so? If there is, try moving it to the /usr/local/lib/wayfire/ directory, since things in /usr/local/lib/ have priority over things in /usr/lib/.

@AhoyISki
Copy link
Owner

I still have to figure out how to have meson find the correct installation directory for both cases

@psyleft
Copy link
Author

psyleft commented May 19, 2022

Hmm... libfiredecor.so seems to have been correctly installed to /usr/local/lib/wayfire.

I guess I should mention that I installed both wayfire and firedecor to /opt and then used gnu stow to place them in /usr/local. Firedecor recognizes this just fine and meson puts all the files in the right place. I tried recompiling and still had the same issue. The reason I didn't use the aur package in the first place was because there was a conflict with the standard wlroots, but on the wayfire-git page someone has posted an updated pkgbuild. I'll try doing this the "standard" way and see if it works. If so it was probably some strange issue specific to my system of the way I built the package.

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

No branches or pull requests

2 participants