crow-translate icon indicating copy to clipboard operation
crow-translate copied to clipboard

Wrong pop-up window coordinates in Gnome Wayland Debian 12

Open erdemgazeloglu opened this issue 8 months ago • 0 comments

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

  1. Install Debian 12 with GNOME
  2. Install libtesseract4 from here
  3. Install crow translate from here
  4. 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
  5. 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

bug_report2

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

erdemgazeloglu avatar Jun 19 '24 10:06 erdemgazeloglu