Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#65087 - [bemenu] Version 0.3.0-1 fails to display on wayland

Attached to Project: Community Packages
Opened by Carlo Abelli (carloabelli) - Wednesday, 08 January 2020, 21:51 GMT
Last edited by Ivy Foster (escondida) - Wednesday, 29 January 2020, 22:39 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ivy Foster (escondida)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

After updating to version 0.3.0-1, bemenu fails to display.

Downgrading to 0.1.0-1 fixes the issue and installing bemenu-git (which is version 0.3.0) also works.

Using wayland (sway).
This task depends upon

Closed by  Ivy Foster (escondida)
Wednesday, 29 January 2020, 22:39 GMT
Reason for closing:  Fixed
Additional comments about closing:  - Rebuilt with wayland support explicitly enabled
- Upstream plans to reenable wayland by default if it's available
- It turns out that Weston and other non-wlroots-based compositors are officially unsupported; see
https://github.com/Cloudef/bemenu/issues /79#issuecomment-572867783
Comment by Patrik Tesarik (depate) - Wednesday, 08 January 2020, 23:09 GMT
Hey,

todays update bricks somehow bricks my setup with SwayWM as well. I'll check downgrading later on and update this comment.

regards

depate
Comment by Ivy Foster (escondida) - Thursday, 09 January 2020, 01:06 GMT
Hmm. It works on X. Sorry for the trouble; I'll get Wayland set up Real Soon Now and figure out what the deal is.
Comment by Colin Atkinson (colatkinson) - Thursday, 09 January 2020, 01:19 GMT
I've encountered the same issue, and it was resolved by downgrading to version 0.1.0-1. One thing that stood out to me was that the old package has a file "bemenu-renderer-wayland.so" in /usr/lib/bemenu, whereas the new version does not. That seems to explain why it's working under X but not Wayland.

Looking at the upstream repo, it looks like the configuration flags were changed right after the 0.1.0 release (see https://github.com/Cloudef/bemenu/blob/master/CMakeLists.txt). The fix should be as simple as adding "-DBEMENU_WAYLAND_RENDERER=ON" to the CMake flags.
Comment by thayne (ender4) - Thursday, 09 January 2020, 07:19 GMT
I can confirm that if it is built with `-DBEMENU_WAYLAND_RENDERER=ON` it works in sway/wayland.
Comment by Patrik Tesarik (depate) - Thursday, 09 January 2020, 07:53 GMT
(some how after reloading the page, the comment was double posted. Sorry)

But nice to see, you already have clues was went wrong. Thanks everyone for investigating!
Comment by Ivy Foster (escondida) - Thursday, 09 January 2020, 21:00 GMT
Interestingly, simply adding -DBEMENU_WAYLAND_RENDERER=ON to the cmake flags does *not* get it running on wayland when built in a clean chroot. It seems there's some undocumented dependency or something going sideways here.
Comment by Patrik Tesarik (depate) - Friday, 10 January 2020, 00:02 GMT
Corresponding GitHub Issue in bemenu repository:
https://github.com/Cloudef/bemenu/issues/79
Comment by Simon (Sbr) - Tuesday, 14 January 2020, 18:54 GMT
@Ivy Foster
bemenu uses wlroots to display (which also is not in the (make)depends section). Does adding it help?
Comment by Carlo Abelli (carloabelli) - Wednesday, 15 January 2020, 00:28 GMT
Can confirm that the issue seems to be resolved with 0.3.0-2.

Loading...