lbonn / rofi

Rofi: A window switcher, run dialog and dmenu replacement - fork with wayland support
Other
876 stars 35 forks source link

[BUG] rofi-calc no longer working/detected #123

Closed BarePotato closed 4 months ago

BarePotato commented 4 months ago

Rofi version (rofi -v or git commit in case of build issue)

rofi-lbonn-wayland-1.7.5+wayland3

Configuration

https://gist.github.com/BarePotato/1fce35b655a0903a63664ad79ef9f1c3

Theme

https://gist.github.com/BarePotato/b26757ff1714f6e5bc554683694e3e4a

Timing report

https://gist.github.com/BarePotato/b26757ff1714f6e5bc554683694e3e4a

Launch command

rofi -show drun

Step to reproduce

Install 1.7.5+wayland3 version from AUR. Launching rofi doesn't load and reports error with calc as invalid/unknown plugin. Roll back to version 1.7.5+wayland2. Launching rofi loads and works correctly.

Expected behavior

Rofi should display the drun menu.

Actual behavior

Shows an error that calc plugin is not detected.

Additional information

No response

Using wayland display server protocol

I've checked if the issue exists in the latest stable release

Souvlaki42 commented 3 months ago

How did you solve the issue?

lbonn commented 3 months ago

@Souvlaki42 there are some details about this issue in the release notes: https://github.com/lbonn/rofi/releases/tag/1.7.5%2Bwayland3

BarePotato commented 3 months ago

How did you solve the issue?

Sorry for the slow reply. It's covered in the release notes as mentioned 1 post up from this one.

The issue is an ABI version mismatch, rofi wants 7 and calc is 6, if I recall correctly the numbers. Regardless, it's a mismatch.

What I did initially was to roll back my rofi to a commit that things were working, in Paru, for me that was:

~/.cache/paru/clone/rofi-lbonn-wayland/
 git checkout 25ede94
makepkg -si

Alternately you can try and rebuild the problem plugin, I have not taken a look yet at calc, as the rollback satisfies my needs for now.