Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Wrong pop-up window coordinates in Gnome Wayland Debian 12 #694

Open
erdemgazeloglu opened this issue Jun 19, 2024 · 0 comments
Open

Wrong pop-up window coordinates in Gnome Wayland Debian 12 #694

erdemgazeloglu opened this issue Jun 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@erdemgazeloglu
Copy link

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 erdemgazeloglu added the bug Something isn't working label Jun 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant