New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global Shortcuts functionality crashes on wayland wlroots! #635
Comments
Can't reproduce on my machine. Probably something specific to Wayland. Maybe a bug in our OCR provider for Wayland. |
This is the error when i try to execute recognizeScreenArea from the terminal, Error: org.freedesktop.DBus.Error.NoReply |
For some reason it can't access xdg desktop portal to request the screen area. |
I didn't really understand what to do, i tried excuting dbus-send --type=method_call --dest=org.gnome.Shell /org/gnome/Shell/Screenshot org.gnome.Shell.Screenshot.Screenshot, but of course nothing happened. |
Check if you even have this D-Bus interface. Something like this:
|
Service 'org.gnome.Shell' does not exist. |
Dbus is here i can exec other keybindings. "dbus-send --type=method_call --dest=io.crow_translate.CrowTranslate /io/crow_translate/CrowTranslate/MainWindow io.crow_translate.CrowTranslate.MainWindow.translateSelection" |
Expected, it's because you have Sway. Try this:
|
signal void org.freedesktop.DBus.Properties.PropertiesChanged(QString interface_name, QVariantMap changed_properties, QStringList invalidated_properties) |
Now check if you have the following method:
|
Error: org.freedesktop.DBus.Error.UnknownMethod |
Not sure what happens here, it's either something changed on Sway or something wrong with your configuration. |
i'm on hyprland |
Then maybe it doesn't have this interface and in order to retrieve a screenshot you need other D-Bus command. |
Whenever i try to utilize the OCR functionality through the global shortcuts it immediately crashes;
If i try to launch the functionality through the gui clicking on the icons it works;
Also when i try to launch translate selection in popup mode, if it loses the focus a couple times it also crashes, the only way to utilize it by now is utilizing it with the "Translation Mode: Main Window"
Tested on Sway/Hyprland!
The text was updated successfully, but these errors were encountered: