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

ILSpy running without showing GUI in tiling wm environment #30

Closed
766F6964 opened this issue Mar 9, 2020 · 6 comments
Closed

ILSpy running without showing GUI in tiling wm environment #30

766F6964 opened this issue Mar 9, 2020 · 6 comments

Comments

@766F6964
Copy link

766F6964 commented Mar 9, 2020

System:
OS: Arch Linux x64
Kernel: 5.5.8-arch1-1
Window Manager: bspwm

Summary:
Compiling AvaloniaILSpy and running it results in not showing the GUI. No error is thrown.

Steps to reproduce:

  1. Install Arch Linux with bspwm as window manager
  2. Download the source code of AvaloniaILSpy from GitHub
  3. Run the build.sh script to compile the project.
  4. Start the generated x64 linux binary, and observe the process running without showing a GUI.

Notes:
I am not entirely sure if this problem is actually occurring because the system is using a tiling window manager.
But since the same procedure works just fine on other linux systems that use e.g. Gnome or KDE, I am assuming it is related to the window manager.

@sLLiK
Copy link

sLLiK commented Aug 5, 2020

Can confirm similar behavior using i3 with a fresh Arch install, both by downloading and compiling from source, and via the AUR package. Some dependency missing?

@matoro
Copy link

matoro commented Dec 8, 2020

I am seeing the same thing on Gentoo x64 with i3. I actually let it sit for over an hour and it eventually prints this and dies:

$ ./ILSpy
Stack overflow.
Aborted

@jeffreye
Copy link
Member

jeffreye commented Dec 8, 2020

Could you try some other applications using Avalonia? https://github.com/AvaloniaUI/Avalonia/wiki/Projects-that-are-using-Avalonia

@matoro
Copy link

matoro commented Dec 8, 2020

Interesting, got 2 different results for the 2 applications I managed to get running.

fvim v0.2.348+81a158c exhibits the same problem.
wasabi v1.1.12.2 runs correctly.

Also, digging further...this somehow seems to be font-related...running under strace shows that after initial startup it keeps spamming this system call indefinitely:

access("/usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf", R_OK) = 0

Possibly looks like it might be this issue? AvaloniaUI/Avalonia#3859

I have Dejavu fonts installed, so it may be the Microsoft fonts that it needs. I'll try that out tomorrow.

@matoro
Copy link

matoro commented Dec 8, 2020

Yes, that fixes it. I installed media-fonts/corefonts on Gentoo, ttf-ms-fonts is the corresponding package on Arch. Perhaps that should be noted as a required dependency...

@jeffreye
Copy link
Member

jeffreye commented Dec 9, 2020

@matoro thanks! Let me note it somewhere.

jeffreye added a commit that referenced this issue Feb 11, 2021
jeffreye added a commit that referenced this issue Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants