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

UI doesn't work / is garbled. #1

Open
aarchangel64 opened this issue Feb 18, 2024 · 8 comments
Open

UI doesn't work / is garbled. #1

aarchangel64 opened this issue Feb 18, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@aarchangel64
Copy link

This is a wonderful idea, thank you for making it!

I copied the binary out of the .deb package just to try running it since I'm on Arch (I also had to install scrot - perhaps this could be listed in the readme?).

The functionality works, however this is what it displays:
image

I have two monitors if that is an issue.

Interestingly it seems to display fine if I don't have scrot installed (without images of course, and it does crash after a few moments).

@iondodon
Copy link
Owner

Thank you for raising this issue. Yes, indeed I should have mentioned scrot in the README.

I will do my best to fix this issue and I'm happy that this project is useful for other people not just me.

I did not test with two monitors, I will test this case.

@iondodon iondodon self-assigned this Feb 18, 2024
@iondodon iondodon added the bug Something isn't working label Feb 18, 2024
@iondodon
Copy link
Owner

iondodon commented Feb 21, 2024

@Cosmic-Goat I fixed some issues and created a new version - v0.2.0 . Could you please download this version and retest the aplication? I added a i3-switcher-x11-bin-0.2.0-1-x86_64.pkg.tar.zst package in the Releases page and updated the README with installation instructions. Now scrot is not needed.

@aarchangel64
Copy link
Author

Thank you so much for this and for being so kind and helpful! I also really appreciate the creation of an arch package :)

Unfortunately it now gives me the following error when I try to run it:

X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  33 (X_GrabKey)
  Serial number of failed request:  10
  Current serial number in output stream:  10

I wish I had more time at the moment to look into this, but I definitely want to contribute when I get the opportunity! I've asked a friend to try it out and take a look as well, so hopefully they will have some feedback soon.

@iondodon
Copy link
Owner

iondodon commented Feb 21, 2024

Thank you for your interest. The error you're experiencing may be due to another application that has locked the Alt+Tab key binding. You will need to unlock or release this key binding in the conflicting application.

@aarchangel64
Copy link
Author

aarchangel64 commented Feb 22, 2024

Ah, you're right! I had Alt+Tab assigned in my i3 config. After removing that it now runs, however the issue of not displaying correctly still persists (it still looks the same as in the screenshot). I tried disabling my second monitor and turning off my compositor but that did not make a difference.

Also, it seems to load one cpu core to 100% when running / displaying. Not sure if that is related to the issue.

@iondodon
Copy link
Owner

Ok, I will continue the investigation.

@iondodon
Copy link
Owner

@Cosmic-Goat If you run the i3-switcher-x11 app from the command line, do you see any errors there?

@aarchangel64
Copy link
Author

@iondodon Apologies for the delayed response! I see no output on the command line. Once I have some free time I'll clone the repo and try debugging it myself (if you don't manage to solve it by then).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants