espanso icon indicating copy to clipboard operation
espanso copied to clipboard

Cannot detect the title, exec or class of the window on Ubuntu 22.04.2 Wayland with Sway

Open BjornW opened this issue 1 year ago • 6 comments

Describe the bug Detect displays a new window but the detected values are empty.

To Reproduce Steps to reproduce the behavior:

  1. type "#detect#" (without quotes) in an application such as Firefox search bar or terminal or LibreOffice
  2. A window pops open with the title, exec and class values empty

Expected behavior I expect to find the detected window title, exec and class to be shown.

Screenshots screenshot-2023-03-17_18-37-03

Setup information

  • OS: Ubuntu 22.04.2 LTS with Wayland and Sway as window manager
  • Version: 2.1.8

BjornW avatar Mar 17 '23 18:03 BjornW

In addition: I'd like to use an application specific configuration to make LibreOffice behave and use the Clipboard backend while other applications can keep using the default backend. Seems LibreOffice will only work correctly with the clipboard back. Without the option to filter an application on title or class this will be not possible afaik.

BjornW avatar Mar 17 '23 18:03 BjornW

Same result while using Arch+Hyprland.

bkuri avatar May 16 '23 20:05 bkuri

Experiencing the exact same behaviour on Debian 11 with Wayland and Gnome:

  1. cannot detect title, exec or class, making app-specific configurations impossible

  2. espanso will only work correctly in LibreOffice when using the clipboard backend

Are these perhaps two unrelated bugs, or is LibreOffice behaviour expected?

Regards

zchap26 avatar Jun 16 '23 10:06 zchap26

Can confirm for Manjaro Linux v23.1.0 - kernel: 5.15.138-1-MANJARO and Wayland.

putzwasser avatar Nov 28 '23 16:11 putzwasser

Yep, unfortunately the info module is not implemented on Wayland yet: https://github.com/espanso/espanso/blob/dev/espanso-info/src/wayland/mod.rs

federico-terzi avatar Dec 05 '23 21:12 federico-terzi

Thank you for the update! I'll keep an eye when this gets update. Thank you again for this amazing program!

kohane27 avatar Dec 08 '23 12:12 kohane27