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

Icons are clipping in awesomewm-vertical on ArchLinux #9

Open
llyram opened this issue Oct 11, 2022 · 20 comments
Open

Icons are clipping in awesomewm-vertical on ArchLinux #9

llyram opened this issue Oct 11, 2022 · 20 comments
Assignees
Labels
awesomewm-vertical related with the awesomewm-vertical rice help wanted Extra attention is needed nerdfonts-issue Just an issue with nerdfonts, maybe a breaking-changes update

Comments

@llyram
Copy link

llyram commented Oct 11, 2022

image

I have installed both the nerd fonts as instructed in the readme.
As you can see some icons are sized correctly like the brightness and volume slider icons but others are clipping in their containers.

I have not modified anything in the config.

I am using this config on Arch linux, with a screen size of 1920x1080

@AlphaTechnolog
Copy link
Owner

hm, i don't really know why the fonts aren't working in this case :/ maybe i forget to include some fonts xD, try installing the nerd-fonts-complete from the aur and restarting completely X11, if that doesn't works too, i'll need a bit more of time to reproduce it installing arch. Also, sorry for late response. :/

@AlphaTechnolog AlphaTechnolog added the awesomewm-vertical related with the awesomewm-vertical rice label Oct 14, 2022
@AlphaTechnolog AlphaTechnolog self-assigned this Oct 14, 2022
@Griffith-Femto
Copy link

I'm having the same issue installing nerd-fonts-complete doesn't help, amazing rice btw

@polipolo55
Copy link

im having the exact same issue on the latest arch build

@fithurriague
Copy link

im having the exact same issue on the latest arch build

Me too, the exact same but in horizontal layout

@AlphaTechnolog
Copy link
Owner

Hm sorry guys, i have to reproduce it in arch then :v

@fithurriague
Copy link

Any update on this issue? I suggest to change the title to "Icons clipping on ArchLinux". Also, temperature doesn't work, can someone confirm? I can fix it for arch, but the right thing to do would be start looking for a long term solution, an os and cpu architecture independent one. What do you guys think?

@llyram llyram changed the title Icons are clipping in awesomewm-vertical Icons are clipping in awesomewm-vertical on ArchLinux Oct 31, 2022
@AlphaTechnolog
Copy link
Owner

AlphaTechnolog commented Nov 3, 2022

Any update on this issue? I suggest to change the title to "Icons clipping on ArchLinux". Also, temperature doesn't work, can someone confirm? I can fix it for arch, but the right thing to do would be start looking for a long term solution, an os and cpu architecture independent one. What do you guys think?

Not yet, i didn't had enough time to try to make a fix (or at least install arch on a virtual machine) because i'm in exams :v (sorry for that y'all). Also, i'll try to make a fix for the temperature, but for that i'll need some details, can you open another issue showing some details of the issue? like what the temperature widget do and that stuff.

@AlphaTechnolog
Copy link
Owner

Also, about the clipping of the icons, can you guys check if the icons clipping problem just happens with the UI of the rice, or it's still happening on others Apps too?

@Underscore30
Copy link

Underscore30 commented Nov 8, 2022

I'm also getting this problem in Void Linux. Installed it on a VM to test it out and am getting the same icon clipping problem. Installed the fonts from the readme and also from the xbps nerd-fonts.

@polipolo55
Copy link

Also, about the clipping of the icons, can you guys check if the icons clipping problem just happens with the UI of the rice, or it's still happening on others Apps too?

It was just happening on the rice but i didn't have much more installed at the moment of trying

@AlphaTechnolog
Copy link
Owner

Ok so I've reproduced in a new freshly installed arch Linux, looks like an update on the nerd fonts, I've got a fix for that, I'll push the changes asap, i think i have to change the nerd font, jet brains looks rare lol

AlphaTechnolog added a commit that referenced this issue Nov 18, 2022
@AlphaTechnolog
Copy link
Owner

ok i pushed the changes, can you guys recheck if with Iosevka Nerd Font works better?

@fithurriague
Copy link

Hi! Can you push the fix to the awesomewm branch too?

@AlphaTechnolog
Copy link
Owner

ok i pushed the changes, can you guys recheck if with Iosevka Nerd Font works better?

yeah sure, it's done, try pulling the changes and copy again cfg/awesome to ~/.config/

@fithurriague
Copy link

fithurriague commented Nov 21, 2022

It actually did not solve the problem. It's just a different kind of clipping now, I would say it's worse. I'd also love to see other people following the issue so we could get more feedback.

*Edit: I'm inspecting under ~/.config/awesome/ui/bar/init.lua where the container is defined, and inside action-icons/ where each icon is and it's placement is defined. But I can't find the problem. As @AlphaTechnolog suspected at first it seems to be a font problem... but changing the font to Iosevka solve nothing at least for me.

@AlphaTechnolog
Copy link
Owner

@fithurriague thanks for your debugging and for every time that you're spending on this for help me! I suspected that iosevka wouldn't solve the problem for this, for some reason on void Linux worked to me, but i think that this could be a problem on an update of NF, because on void i had an outdated version of it, i tried on a fresh arch install and the problem appeared, i solved it by setting theme.nerd_font to an inexistent font (such as Iosevka which i didn't installed on that system) (those changes inside cfg/awesome/theme.lua). Anyways this is so weird because icons aren't working like how should work :/

Don't makes sense that an inexistent font worked and displayed every icon in the UI (and avoided this issue)

So tbh I'll need a very good time of debugging to try to get this working, because i don't understand too much the font issue lol

As @fithurriague said, more ppl feedback could be good for some investigation about this because is so strange and happens on every awesomewm rice :v

@Underscore30
Copy link

Underscore30 commented Nov 24, 2022

I am trying this on OpenSUSE and had the same icon clipping issue while using the Nerd Fonts v2.2.2. However, when I downgraded to the 2.2.1 version it now started working as intended.

This is definitely an issue with the new version of the Nerd Fonts. Also, I tried the 2.3.0RC version they have up and the issue still persists, I guess it only works with the 2.2.1 version.

For anyone having this issue, you can go to the Nerd Fonts github, download the 2.2.1 release, unpack it to /.fonts and in the terminal run fc-cache -fv.

@AlphaTechnolog
Copy link
Owner

Ok so, as I supposed and as @Underscore30 says, it's a nerdfonts update issue.... so i'll need to rework a "little" bit more the configuration to make it look better with the newer ones lol, a temporary fix guys is downgrade the nerdfonts as how @Underscore30 said

@AlphaTechnolog AlphaTechnolog added the nerdfonts-issue Just an issue with nerdfonts, maybe a breaking-changes update label Dec 1, 2022
@quiltedstars
Copy link

@AlphaTechnolog Sorry to disappoint, but the font issue is also happening for me on Void Linux!

@AlphaTechnolog
Copy link
Owner

@AlphaTechnolog Sorry to disappoint, but the font issue is also happening for me on Void Linux!

they could have updated the nerd fonts then... so basically these dotfiles are running under an outdated version of nerdfonts? maybe some refactor is needed then. People's help is actually heavily appreciated tho! anyways imma try to fix it asap.

@AlphaTechnolog AlphaTechnolog added the help wanted Extra attention is needed label Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awesomewm-vertical related with the awesomewm-vertical rice help wanted Extra attention is needed nerdfonts-issue Just an issue with nerdfonts, maybe a breaking-changes update
Projects
None yet
Development

No branches or pull requests

7 participants