adi1090x / rofi

A huge collection of Rofi based custom Applets, Launchers & Powermenus.
GNU General Public License v3.0
6.51k stars 303 forks source link

Very small icons and weird element padding #28

Closed TheLegent27 closed 3 years ago

TheLegent27 commented 3 years ago

Hello, Every applet or menu I try to run looks like that.

I'm running now stable release of rofi(ver. 1.6.0) but I have tried with next branch too. All fonts are installed in /usr/share/fonts I guess all my fonts are installed but here is fc-mach output of needed fonts.

fc-match 'Hurmit Nerd Font'
Hurmit Medium Nerd Font Complete.otf: "Hurmit Nerd Font" "medium"

fc-match 'Iosevka'
iosevka-regular.ttf: "Iosevka" "Regular"

fc-match 'feather'
feather.ttf: "feather" "Regular"

fc-match 'Fantasque Sans Mono'
FantasqueSansMono_Regular.ttf: "Fantasque Sans Mono" "Regular"

fc-match 'Comfortaa'
Comfortaa-Regular.ttf: "Comfortaa" "Regular"

And this problems appear with all applets and menus but launcher is running without a problem. Is there any easy solution to this?

mchataway commented 3 years ago

I found the same thing just in the last couple of days since updating to the latest Rofi, I believe they changed how icons are handled in the latest release or some such. Not sure of a solution yet

TheLegent27 commented 3 years ago

Ok, thank you for the reply and giving me a bit of context here.

fatihkaan22 commented 3 years ago

I had the same issue, downgraded rofi to version 1.5.4 for now.

sarbajit125 commented 3 years ago

Me too same problem, will laucher work with rofi 1.5.4

TheLegent27 commented 3 years ago

Thanks for workaround solution, going to downgrade too. Now should I close this issue or leave it open? Sorry this is actually my first issue so I don't know what should I do.

longErste commented 3 years ago

Please leave it open

JonnyHaystack commented 3 years ago

1.6.0 has a LOT of changes (some breaking) and can be quite a pain to get your config back to looking how it was unfortunately

stiliajohny commented 3 years ago

@TheLegent27 Do you know if there is a plan to fix this ?

adnn-alc commented 3 years ago

@TheLegent27 Were you able to fix this by downgrading? This is my first time trying out these rofi scripts and on 1.6, it was working like on your screenshot but after downgrading, no icons are showing at all, just empty small recangles.

I'd really appreciate help on this. Thank you.

sarbajit125 commented 3 years ago

@TheLegent27 Were you able to fix this by downgrading? This is my first time trying out these rofi scripts and on 1.6, it was working like on your screenshot but after downgrading, no icons are showing at all, just empty small recangles.

I'd really appreciate help on this. Thank you.

Scripts work perfectlyy in 1.5.4 version, If you are sesing small rectangle, then problem with fonts not correctly installed. Each Script has it own font so make sure you install them correctly. Siji fonts may not work properly even after correctly installed

adnn-alc commented 3 years ago

@sarbajit125 Any tips on how to troubleshoot it? I have looked everywhere and installed everything but it wont work :(

sarbajit125 commented 3 years ago

@sarbajit125 Any tips on how to troubleshoot it? I have looked everywhere and installed everything but it wont work :(

You need to provide more information. Which OS? Which Rofi Version? Which module and which font are installed

adnn-alc commented 3 years ago

You need to provide more information. Which OS? Which Rofi Version? Which module and which font are installed

It is Arch Linux, Rofi was downgraded from 1.6.0 to 1.5.4. I installed everything from requirements and out of all modules, only launcher works properly.

For example power menu is not showing any icons at all in small rectangles. Any idea what icon pack to try reinstalling?

TheLegent27 commented 3 years ago

@stiliajohny @ChuckD3ath Sorry for late reply but now is my college starting and because covid this is a mess. Anyway simple downgrading does the trick no problem with pre 1.6 version. Unfortunately I don't know if any fix coming. It is really question to the author of the repo.

sarbajit125 commented 3 years ago

You need to provide more information. Which OS? Which Rofi Version? Which module and which font are installed

It is Arch Linux, Rofi was downgraded from 1.6.0 to 1.5.4. I installed everything from requirements and out of all modules, only launcher works properly.

For example power menu is not showing any icons at all in small rectangles. Any idea what icon pack to try reinstalling?

which power modules, which fonts are causing issues

adnn-alc commented 3 years ago

You need to provide more information. Which OS? Which Rofi Version? Which module and which font are installed

It is Arch Linux, Rofi was downgraded from 1.6.0 to 1.5.4. I installed everything from requirements and out of all modules, only launcher works properly. For example power menu is not showing any icons at all in small rectangles. Any idea what icon pack to try reinstalling?

which power modules, which fonts are causing issues

I am trying powermenu.sh and menu_powermenu.sh. I dont know which ones are causing problems lol that's why I'm asking here. Everything is installed but no icons are showing at all, it's exactly like on @TheLegent27's screenshot but no icons and rectangles are small.

TheLegent27 commented 3 years ago

@ChuckD3ath I didn't have that issue, but did you try to fc-match all required fonts? I think some icons are from one of this fonts. That's my only idea really.

adnn-alc commented 3 years ago

Everything is ther like on your original post @TheLegent27 :(

image

App launcher works perfectly but I guess it's because it uses Papirus icon theme.

TheLegent27 commented 3 years ago

@ChuckD3ath I can't help here then. After downgrade everything work for me just fine. I'm sorry.

guidiamond commented 3 years ago

Same problem here, small icons and small rectangles (i've installed all the required fonts from AUR)

Simon-the-Sorcerer commented 3 years ago

I'm currently trying to fix the powermenu in 1.6.0. I've changed menu-element-padding to 35px 45px 35px 25px. This fixes the sizes of the boxes:

rofi

My only problem is that the 2nd font (My Nerd Font) isn't loading, although it is installed.

adnn-alc commented 3 years ago

@Simon-the-Sorcerer Well playing with paddings and changing them around fixed it for me too on 1.5.4 but not sure why is it so out of place per default so I will have to change it for every menu I want to use :(

JonnyHaystack commented 3 years ago

I'm currently trying to fix the powermenu in 1.6.0. I've changed menu-element-padding to 35px 45px 35px 25px. This fixes the sizes of the boxes:

rofi

My only problem is that the 2nd font (My Nerd Font) isn't loading, although it is installed.

Same happens for me. It's not a problem loading the Hurmit Nerd font, because if you change the text-font to Hermit Nerd the icons look fine but the prompt is the wrong font. Looks like some change to the way the styles are applied? It's only applying the first font it's given. I've tried moving around the font assignment into different blocks but no luck so far.

JonnyHaystack commented 3 years ago

Update: Success! @Simon-the-Sorcerer You don't have to change the paddings at all. You just need to move the text-font: @text-font; line into the prompt, textbox_prompt_colon block, and everything goes back to normal!

Diff: image

This small change should fix all of the scripts, so it should be an easy job to fix it for the whole repo. Now we don't need to use the outdated rofi version anymore :smiley:

joselevelsup commented 3 years ago

@JonnyHaystack Unfortunately, that didn't work for me. The icons are still small. Even tried applying it to the #element but still nothing. I'm still playing around but if I find something, I'll share.

adi1090x commented 3 years ago

@JonnyHaystack @Simon-the-Sorcerer @joselevelsup @longErste @stiliajohny Fixed everything! Try Again.