rofi icon indicating copy to clipboard operation
rofi copied to clipboard

[BUG] Rofi window mode not working on KWIN

Open deivid11 opened this issue 5 months ago • 2 comments

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

1.7.5+wayland2-155-gb29518f0

Configuration

https://gist.github.com/deivid11/7890a747c52e13f4d831860c5f6ddc8d

Theme

https://gist.github.com/deivid11/d23fb4aae6dedbe254804a8691a37247

Timing report

https://gist.github.com/deivid11/d41b6191a90dbff82f6bc8cade80a313

Launch command

rofi --show window

Step to reproduce

Execute rofi --show window

Expected behavior

Show a list with the current applications running.

Actual behavior

Showing an empty rofi window and the following message:

~ rofi -show window

** (process:25405): WARNING **: 15:42:33.644: Mode 'window' does not have a type set. Please update mode/plugin.

(process:25405): Modes.Window-WARNING **: 15:42:33.646: Unable to initialize Window mode: Wayland compositor does not support wlr-foreign-toplevel-management protocol

Additional information

Curiosly, If i run the command using sudo the window mode run correctly. Im using KDE Plasma 5.27.10 and KWIN compositor. Also I have tried on Hyperland and is working as expected.

Using wayland display server protocol

  • [X] Yes, I use rofi with wayland support

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

  • [X] Yes, I have checked the problem exists in the latest stable version

deivid11 avatar Jan 03 '24 21:01 deivid11

@deivid11 yes, the error message says it all. KWIN does not implement this protocol but its own: https://wayland.app/protocols/kde-plasma-window-management

This will need a bit of work...

lbonn avatar Jan 05 '24 16:01 lbonn

Thanks @lbonn ;) I've seen wayland can't access to windows as easy as xorg, matter of time to get new solutions. Long live to Wayland hehe.

deivid11 avatar Jan 09 '24 01:01 deivid11