Bug 510750 - "Translate selected text" shortcut no longer works after version 4.0
Summary: "Translate selected text" shortcut no longer works after version 4.0
Status: CONFIRMED
Alias: None
Product: Crow Translate
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: pillowtrucker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-18 14:52 UTC by Rocket Aaron
Modified: 2025-11-19 21:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: upcoming 4.0.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rocket Aaron 2025-10-18 14:52:35 UTC
SUMMARY
After upgrading to crow-translate 4.0, the global short "Translate seleted text" Ctrl+Alt+E no longer works. Previously it would show a popup window in center of the screen with translated text. Now it would only work with the main window already open.

Other shortcuts (eg. "Show main window" Ctrl+Alt+C) seem to work fine.

STEPS TO REPRODUCE
1. Install crow-translate 4.0.2
2. Launch crow
3. Press "Ctrl+Alt+E"

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
Popup window shows

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
built on arch linux with this PKGBUILD: https://github.com/archlinuxcn/repo/blob/master/archlinuxcn/crow-translate/PKGBUILD
Comment 1 pillowtrucker 2025-10-20 17:48:43 UTC
Hmm the PKGBUILD looks correct. 
I think the shortcut for this and the other selection-related functionality really is broken.
Comment 2 kreutpet 2025-10-26 08:32:02 UTC
can confirm the same behavior in ubuntu 25.10

apt search crow-translate
crow-translate/questing,now 2.11.1+git20240108+ds-2 amd64

Operating System: Kubuntu 25.10
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-5-generic (64-bit)
Graphics Platform: Wayland

syslog message when using short cut key
kwin_wayland_wrapper[1906]: kf.kio.gui: "qdbus" "Programm „qdbus“ ist nicht auffindbar"

When opening crow i do get this message in syslog
crow[2288]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Comment 3 kreutpet 2025-10-26 08:44:10 UTC
i also checked 
apt show crow-translate

Package: crow-translate
Version: 2.11.1+git20240108+ds-2
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Dmitry Ilyich Sidorov <jonmagon@gmail.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4’427 kB
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.3.1), libkf5waylandclient5 (>= 4:5.41.0), libqt5core5t64 (>= 5.15.1), libqt5dbus5t64 (>= 5.14.1), libqt5gui5t64 (>= 5.10.0) | libqt5gui5-gles (>= 5.10.0), libqt5multimedia5 (>= 5.6.0~beta), libqt5network5t64 (>= 5.14.1), libqt5widgets5t64 (>= 5.15.1), libqt5x11extras5 (>= 5.6.0), libstdc++6 (>= 5), libtesseract5 (>= 5.3.4), libx11-6, libxcb1
Comment 4 pillowtrucker 2025-10-26 10:32:17 UTC
There is a possible fix in the master branch on gitlab - the issue seems to be that, on wayland, the window needs to be non-minimized and visible (not hidden to tray) to access selection/clipboard. There's a couple of other things I need to fix before I make a patch release though.
Comment 5 pillowtrucker 2025-10-26 10:33:39 UTC
err, version 2.x will definitely not be fixed though. Please update directly to 4.x, if anything, because 3.x has broken TTS and a couple of other wayland issues with OCR, possibly the same ones as 2.x.
Comment 6 kreutpet 2025-10-26 11:20:46 UTC
it looks like ubuntu is still using the git version 2.11 and has not moved to 4.0.2
would the reight way to fill a bug at kde ?
Comment 7 Cherkah 2025-11-15 13:57:21 UTC
the issue remains even with version 4.0.2-1.fc43 ...

SYSTEM:
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Graphics Platform: Wayland
Comment 8 kreutpet 2025-11-17 18:50:27 UTC
 apt install qdbus-qt5/questing
solved to problem for me on Kubuntu 25.10
Comment 9 valdikss 2025-11-19 21:08:34 UTC
Fixed in commit 3c530120fc0b52bc6b31b74fbe9a124a8fbd49d9
https://invent.kde.org/office/crow-translate/-/commit/3c530120fc0b52bc6b31b74fbe9a124a8fbd49d9