-
Notifications
You must be signed in to change notification settings - Fork 114
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
[BUG] No search icon in rofi search input field #573
Comments
Thanks for testing. Will check on my system and give you feedback. One Question. Have you the ms-tt-fonts installed? The Microsoft font package? |
I am on fedora and I can see the search icon. Can you also check that Font Awesome has been installed? |
Hello, I have the following packages installed: Furthermore, the command:
|
I guess it is this font that generates the side effect https://mscorefonts2.sourceforge.net/ |
❯❯ yay -S ttf-ms-fonts ❯❯ fc-cache -fv I am running Arch and I can still see the four rectangles as well. |
I've been poking around the fonts installed by dnf and the rofi config files. The package fontawesome-6-free installs two font files with different font weights and number of glyphs. The proper one seems to be:
Setting the font explicitly in other places, where awesome glyphs are used probably wouldn't hurt. BTW, I haven't changed my font setup described in the previous post. |
@marcinfreitag Thanks for testing. I will test with the new font declaration. |
@marcinfreitag Hi. Can you try to change the font settings in ~/.config/rofi/config.rasi at the beginning to
|
Further debug info (clean fedora 41 workstation). In order to test whether a particular font breaks the ML4W setup, it is sufficient to move it to the font folder (/usr/share/fonts on fedora systems) and check the apps that use Font Awesome glyphs straight away. It's unnecessary to regenerate the font cache after adding/deleting the font files. I set up a clean system with the copr repo https://copr.fedorainfracloud.org/coprs/solopasha/hyprland/ enabled. Then I performed a system update, rebooted the pc and then installed the ML4W dotfiles with all the defaults according to the wiki (I didn't installed the dependencies, the script handled this for me). Then I copied the font files from the package The result is as follows: Safe fonts: unsafe fonts: Having any of the "unsafe fonts" in the font directory causes the search glyph in rofi being replaced by the 'fi' phrase or by four rectangles (see the screenshot in my first post). This is "interesting" and I wonder whether other fonts could cause a similar issue. |
Describe the bug
No search icon appears in rofi-window in the search input field
To Reproduce
Press CTR+Meta+Return to lauch rofi
Expected behavior
There schould be a search icon in the search input field (left to the cursor position/search label). Instead there is a glyph consisting of four rectangles.
Screenshot
Distribution
Additional context
My installation probably misses a font or another asset. A message in the installer about required and optional fonts/assets or a list of dependencies in the wiki would probably be helpful to me and other users. Love the dot-flies, BTW. Thanks guys.
The text was updated successfully, but these errors were encountered: