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

j4-dmenu-desktop + dmenu works but does not show on screen #122

Open
FromOopsToOps opened this issue Jun 30, 2021 · 4 comments
Open

j4-dmenu-desktop + dmenu works but does not show on screen #122

FromOopsToOps opened this issue Jun 30, 2021 · 4 comments

Comments

@FromOopsToOps
Copy link

I'm not even sure how to word this problem.

I was using my system just fine (Gentoo, Wayland, Sway, j4-dmenu-desktop, dmenu, no xwayland) without any problems then suddenly it stopped showing up on screen. I thought... okay?... and restarted Sway.
Now menu does not show anywhere BUT it works! If I press Win+D, type "brave" without seeing any return on screen and press enter, Brave Browser gets started. So it IS working, but it's not SHOWING on screen.

I'm not sure how to debug the reason behind this. I wasn't doing anything special at the time.

@enkore
Copy link
Owner

enkore commented Jun 30, 2021 via email

@FromOopsToOps
Copy link
Author

@enkore I discovered what the issue is, but I don't know whose fault it is. :D

I issued the command swaymsg output eDP-1 pos 0 135 res 1366x768 scale 0.75 to configure my internal screen. j4-dmenu-desktop was being drawn where I suppose was pos 0 0 so it was being drawn out of screen. Setting pos 0 0 made j4-dmenu-desktop appear on screen again.

Like I said, I don't know whose fault it is. Is it because wayland is not telling j4 where to draw? Is it j4 for not probing screen geometry? Is it mine because I should tell j4 the geometry myself?

@enkore
Copy link
Owner

enkore commented Jun 30, 2021 via email

@FromOopsToOps
Copy link
Author

I can confirm the issue is regarding the pos 0 135 setting, as I set pos 0 2 to test and it cut the menu in about half. So yeah, menu is being displayed on pos 0 0. I can confirm the issue is not limited to dmenu as I tried again with bemenu and the same thing happens with bemenu. Both were started by j4-dmenu-desktop though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants