crow-translate
crow-translate copied to clipboard
Wrong pop-up window coordinates in Gnome Wayland Debian 12
Bug description
In gnome wayland debian 12 i added a shorcut key for select translated when i select text and hit shortcut popup window always popsup same location and crow translate gives a error code
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Steps to reproduce
- Install Debian 12 with GNOME
- Install libtesseract4 from here
- Install crow translate from here
- Add keyboard shortcut for this command
dbus-send --type=method_call --dest=io.crow_translate.CrowTranslate /io/crow_translate/CrowTranslate/MainWindow io.crow_translate.CrowTranslate.MainWindow.translateSelection
- Start crow in the terminal and select a text, press the translate shortcut and you will see the error message in the terminal.
Expected behavior
Position of the popup window relative to the mouse cursor when I translate the selected text.
Screenshots
Environment
- OS: Debian 12
- Desktop environment: Gnome
- Crow Translate version: 2.11.1
- My /etc/environment:
- ANKI_WAYLAND=1
- QT_QPA_PLATFORMTHEME=qt5ct
- QT_QPA_PLATFORM=wayland
- MOZ_ENABLE_WAYLAND=1