superfile icon indicating copy to clipboard operation
superfile copied to clipboard

Rendering issues due to a specific file

Open tbone2k-git opened this issue 3 months ago • 6 comments

Hello! o)

I can't seem to get superfile to render correctly (I tried v1.4.0-rc1 and v1.3.3 / Debian 12 - stable), I think I even installed a nerd font, but honestly, I can't figure out if that font is used or not (and I cannot seem to select any of the installed nerd font in the font picker of the xfce4-terminal). I also read about Debian patching generic fonts to include nerd font / material style symbols which leaves me confused even more. Do I even need a nerdfont? Is there a way to use superfile "as is" with no fancy extra font required? I would prefer that..

I am not sure this is a bug, this is more some kind of question, please don't mind, but I was thinking this is the best place to ask for help! o)

The visually not very pleasing experience already starts when using the install script, the logo is effed up, I use a quite common monospace font (I guess).

Image

This is "in" the application, weird symbols on the left top:

Image

And with files in the preview, the whole UI get's corrupted (I think it is related to special characters in that *.desktop file).

https://github.com/user-attachments/assets/283d73cc-6838-4e92-bfad-f0b6b1439611

Maybe you know a quick way to fix this? Thank you! o)

tbone2k-git avatar Sep 11 '25 06:09 tbone2k-git

Ok, I installed some more nerd fonts and one of them finally showed up in the xfce4-terminal setting font picker. The weird symbols in superfile seem to gone now, but the rendering issue persists:

Image

This is the file creating the rendering issue, when shown by the preview area (I added *.txt extension to make it upload here).

xfce4-web-browser.desktop.txt

The logo still shows up "screwed" I think when installing, even with the nerd font in use, not sure this is meant to be like this? Maybe it's my terminal application? I don't know.. it's not that important I guess.

Image

Thanks! o)

tbone2k-git avatar Sep 11 '25 06:09 tbone2k-git

xfce4-web-browser.desktop I feel that file has some characters is not being handled by our application, we we are causing layout corruption while attempting to render it.

lazysegtree avatar Sep 11 '25 08:09 lazysegtree

The logo you see while install is not dependent of nerd font.

lazysegtree avatar Sep 11 '25 08:09 lazysegtree

As far as I know, its supposed to look like this

Image

I also feel its not that clear and nice. Please feel free to raise a PR to update it to a better logo.

This is where its defined

  • https://github.com/yorukot/superfile/blob/main/website/public/install.sh

lazysegtree avatar Sep 11 '25 08:09 lazysegtree

Image

I can reproduce the layout issue due to this file

lazysegtree avatar Sep 11 '25 08:09 lazysegtree

Ah, so the logo actually looks like it's meant to look like, okaaay! o) I still remember the ASCII art days, back in the last century. The superfile ASCII looks odd to me, I was really thinking it was rendering bad or had some other issue. Thank you for clarifying! o) Will see if I can improve on that.

If that file helps to reproduce the problem, then that's wonderful! I always thought it was related to the font(s) I am using, but it's not a font issue then. Good to know, thank you for testing! o)

tbone2k-git avatar Sep 11 '25 12:09 tbone2k-git