[D-Bus API] io.crow_translate.CrowTranslate.MainWindow.translateSelection does not work in wayland.
Created by: beliys
Bug description
D-Bus API call io.crow_translate.CrowTranslate.MainWindow.translateSelection
does not work in wayland (tested with KDE Shortcuts). A blank window always opens with no text selected in the browser before pressing a keyboard shortcut.
Steps to reproduce Steps to reproduce the behavior:
- login to system with KDE and wayland
- create a keyboard shortcut as in the screenshot. https://i.imgur.com/y3elRIt.png
- open any program in which you can select text (text editor, browser, etc.) and select the text
- press the key combination created above
- we will see that the crow-translate window has opened without the previously selected text
Environment
- OS: Manjaro
- Desktop environment: KDE
- Crow Translate version: 2.8.4
Additional context I understand that this is most likely due to the peculiarities of the clipboard in wayland, but perhaps there is a way to make this convenient functionality work in wayland as well.