AkbarTheGreat / cszb-scoreboard

Free scoreboard for competitive improv matches
Apache License 2.0
3 stars 0 forks source link

Image Search issues with Ctrl+Space #41

Open AkbarTheGreat opened 11 months ago

AkbarTheGreat commented 11 months ago

If the browser in Image Search has focus, the Ctrl+Space hotkey doesn't send images to monitors.

AkbarTheGreat commented 2 months ago

I have a fix that is a workaround for the most common case -- once you drag an image out to select it, the selection box asserts focus, which gets hotkeys back. If a user re-clicks into the browser, the hotkeys are absorbed by the browser again, which isn't ideal, but will likely not be as common of a stumbling point as the most common scenario of "drag image, press hotkey"

I'm leaving this issue open, but still submitting the fix that'll ameliorate the most common problem and lowering the priority of this in my queue.

AkbarTheGreat commented 2 months ago

This article might have some clues for a more robust fix, although it's not using wxWidgets, so some additional research would likely need to be done to use it. Adding it here as a note to self (or if someone else picks this up, maybe it'll be useful for them?)

https://weblog.west-wind.com/posts/2021/Apr/15/WebView2-Forwarding-Alt-Keys-to-a-Host-WPF-Window