Open bbarker opened 20 hours ago
Hi @bbarker, I've tried cloning and running your penrose WM under Ubuntu 24.04 which is what I run on my machine. As you can see from the video below everything seems to work fine, even without having Hasklug Nerd Font Mono
installed. Given that you only see this under Pop!_OS and only when restarting the window manager (not on first start) I suspect that this isn't going to be an issue with penrose and that it is more likely something to do with Pop!_OS or rather your current setup under Pop!_OS.
That's not to say that I don't think there's a chance that there are some X11 bugs in the penrose UI status bar code, but I'd expect them to trigger somewhat consistently on different set ups as the X11 code in there is really quite minimal. So anything that is wrong should be obviously wrong in all cases, not subtly wrong like this. The process fully exiting and then crashing on startup with BadLength (poly request too large or internal Xlib length error)
smells like there being some left over state on the X server potentially? But that is just a wild guess at a possible cause.
Hunting around online for this particular error message brought me to a couple of different articles / issues that all suggest the same fix of installing the unifont
package:
Failing that, I know you mentioned that you didn't have this issue on NixOS and I can't reproduce it on stock Ubuntu. Do you have any other setups you could try this on to see if you can trigger the behvaiour outside of Pop!_OS?
https://github.com/user-attachments/assets/819afe41-fecd-40c8-89d3-105117cefc88
Describe the bug
I have certain unicode codepoints used for apps in the status bar.
Current problematic codepoints include:
1f98a
(🦊)When I restart penrose (
pkill penrose
) the status bar causes a crashloop in penrose. This can be fixed by either disabling the bar or disabling the above codepoints in the status bar, and killing again. This occurs in both release and debug builds.The error I get in logs is not a rust error but an X error;
...
To Reproduce
I haven't experienced this issue on NixOS, only on Pop!_OS (Ubuntu-based). I thought that installing the appropriate nerd font (which I verified was available with
fc-list | grep "Hasklug Nerd Font Mono"
) would fix the issue. But so far, that doesn't seem to be the case.Steps to reproduce the behavior:
Alternatively
Expected behavior
If the glyph is missing, it should render something (nothing?) without crashing.
...
Screenshots
https://cdn.discordapp.com/attachments/1042031424879984640/1294300831293898845/VID_20241011_092959.mp4?ex=671071d5&is=670f2055&hm=19f67d2192c2644be50af2bc713ef3512c574fddaaca5bef89e47552d6a67e35&
Discord thread
https://discord.com/channels/1042031165349040148/1294330952654520350
Versions & OS Details
Additional context