-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add --hide flag to hide any currently visible scan popups. #1778
Comments
what you're describing is a very simple problem: the scanner is not getting focus. please consider just using the casual functions for that, and use the program like it was intended to. |
I'm using that workaround because regular hover, or on selection change, or
even the keybindings in goldendict to lookup a selection aren't working
since KDE 6.0. I felt that would definitely be much more painful to debug.
…On Tue, Oct 1, 2024, 9:58 AM Konstantin ***@***.***> wrote:
what you're describing is a very simple problem: the scanner is not
getting focus.
and this might be a wayland issue or using a hacky approach like the one
that you've mentioned (wl-paste) isn't reliable.
please consider just using the casual functions for that, and use the
program like it was intended to.
whenever you hove the mouse over a word/phrase, it should send to the
scanpopup, no need to call it by a external keybinding or script
—
Reply to this email directly, view it on GitHub
<#1778 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB5JHVXDKLNKFGQWLQMNBJTZZIQG5AVCNFSM6AAAAABOTNLKSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUG43DCNBTGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Is your feature request related to a problem? Please describe.
On KDE 6 on Wayland, I can currently map
goldendict $(wl-paste -n -p)
to a global keyboard shortcut and that makes the scanner work again, but when I pressesc
to close the popup, that escape key is also sent to whatever application is below the scan popup. Basically, it feels impossible to close the scan popup without causing other sideeffects on another application.Additionally, if I type something after seemingly focusing the search box in the scan popup, the text actually gets typed in the application below the scan popup.
Describe the solution you'd like
Add a
goldendict --hide
or similar that can be mapped to another global keyboard shortcut, that'd just hide any currently open scan popup.Describe alternatives you've considered
I tried
goldendict --reset-window-state
but that just opens the main window.The text was updated successfully, but these errors were encountered: