[GH-ISSUE #314] Wrong input language is displayed #269

Closed
opened 2026-05-05 05:10:43 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @eranshefi on GitHub (Nov 26, 2024).
Original GitHub issue: https://github.com/keycastr/keycastr/issues/314

Hi

Thanks for this great tool!
I have an issue, that sometimes the wrong language is being used, although I'm in the right one.
To solve this issue, I go to settings and press the Apply Modifiers checkbox (no matter if it is on or off) and the issue is solved, until the next time.

Thanks.

Originally created by @eranshefi on GitHub (Nov 26, 2024). Original GitHub issue: https://github.com/keycastr/keycastr/issues/314 Hi Thanks for this great tool! I have an issue, that sometimes the wrong language is being used, although I'm in the right one. To solve this issue, I go to settings and press the Apply Modifiers checkbox (no matter if it is on or off) and the issue is solved, until the next time. Thanks.
gitea-mirror 2026-05-05 05:10:43 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@akitchen commented on GitHub (Mar 28, 2025):

Hello, with apologies, I thought I already replied to your issue but somehow it didn't post to GitHub.

Could you describe your setup a bit more? What version of macOS, and of KeyCastr, and are you using anything other than macOS's built-in capabilities to set your locale and input source? (i.e., are you using any virtual key mapper for a custom layout?)

KeyCastr does detect when the user changes their input source, and I have tested to see that it displays the expected results when first started with a given input source, in my case QWERTZ instead of QWERTY.

<!-- gh-comment-id:2762763767 --> @akitchen commented on GitHub (Mar 28, 2025): Hello, with apologies, I thought I already replied to your issue but somehow it didn't post to GitHub. Could you describe your setup a bit more? What version of macOS, and of KeyCastr, and are you using anything other than macOS's built-in capabilities to set your locale and input source? (i.e., are you using any virtual key mapper for a custom layout?) KeyCastr does detect when the user changes their input source, and I have tested to see that it displays the expected results when first started with a given input source, in my case QWERTZ instead of QWERTY.
Author
Owner

@eranshefi commented on GitHub (Apr 2, 2025):

Hi

I’m using version 0.10.3
MacOS Sonoma 14.16.1
No other locale input source app.
I can send you the system info if you need further data.

Right now the issue is still there..

Eran Shefi

On 29 Mar 2025, at 1:50, Andrew Kitchen @.***> wrote:

akitchen
left a comment
(keycastr/keycastr#314)
Hello, with apologies, I thought I already replied to your issue but somehow it didn't post to GitHub.

Could you describe your setup a bit more? What version of macOS, and of KeyCastr, and are you using anything other than macOS's built-in capabilities to set your locale and input source? (i.e., are you using any virtual key mapper for a custom layout?)

KeyCastr does detect when the user changes their input source, and I have tested to see that it displays the expected results when first started with a given input source, in my case QWERTZ instead of QWERTY.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

https://github.com/keycastr/keycastr/issues/314#issuecomment-2762763767 https://github.com/notifications/unsubscribe-auth/AFRFYF62ETDI235SAAKVJET2WXG4BAVCNFSM6AAAAABSRANJRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONRSG43DGNZWG4

akitchen
left a comment
(keycastr/keycastr#314)
https://github.com/keycastr/keycastr/issues/314#issuecomment-2762763767
Hello, with apologies, I thought I already replied to your issue but somehow it didn't post to GitHub.

Could you describe your setup a bit more? What version of macOS, and of KeyCastr, and are you using anything other than macOS's built-in capabilities to set your locale and input source? (i.e., are you using any virtual key mapper for a custom layout?)

KeyCastr does detect when the user changes their input source, and I have tested to see that it displays the expected results when first started with a given input source, in my case QWERTZ instead of QWERTY.


Reply to this email directly, view it on GitHub https://github.com/keycastr/keycastr/issues/314#issuecomment-2762763767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFRFYF62ETDI235SAAKVJET2WXG4BAVCNFSM6AAAAABSRANJRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONRSG43DGNZWG4.
You are receiving this because you authored the thread.

<!-- gh-comment-id:2772353074 --> @eranshefi commented on GitHub (Apr 2, 2025): Hi I’m using version 0.10.3 MacOS Sonoma 14.16.1 No other locale input source app. I can send you the system info if you need further data. Right now the issue is still there.. Eran Shefi  > On 29 Mar 2025, at 1:50, Andrew Kitchen ***@***.***> wrote: > > > akitchen > left a comment > (keycastr/keycastr#314) > Hello, with apologies, I thought I already replied to your issue but somehow it didn't post to GitHub. > > Could you describe your setup a bit more? What version of macOS, and of KeyCastr, and are you using anything other than macOS's built-in capabilities to set your locale and input source? (i.e., are you using any virtual key mapper for a custom layout?) > > KeyCastr does detect when the user changes their input source, and I have tested to see that it displays the expected results when first started with a given input source, in my case QWERTZ instead of QWERTY. > > — > Reply to this email directly, view it on GitHub, or unsubscribe. > You are receiving this because you authored the thread. > > <https://github.com/keycastr/keycastr/issues/314#issuecomment-2762763767> <https://github.com/notifications/unsubscribe-auth/AFRFYF62ETDI235SAAKVJET2WXG4BAVCNFSM6AAAAABSRANJRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONRSG43DGNZWG4> > > akitchen > left a comment > (keycastr/keycastr#314) > <https://github.com/keycastr/keycastr/issues/314#issuecomment-2762763767> > Hello, with apologies, I thought I already replied to your issue but somehow it didn't post to GitHub. > > Could you describe your setup a bit more? What version of macOS, and of KeyCastr, and are you using anything other than macOS's built-in capabilities to set your locale and input source? (i.e., are you using any virtual key mapper for a custom layout?) > > KeyCastr does detect when the user changes their input source, and I have tested to see that it displays the expected results when first started with a given input source, in my case QWERTZ instead of QWERTY. > > — > Reply to this email directly, view it on GitHub <https://github.com/keycastr/keycastr/issues/314#issuecomment-2762763767>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AFRFYF62ETDI235SAAKVJET2WXG4BAVCNFSM6AAAAABSRANJRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONRSG43DGNZWG4>. > You are receiving this because you authored the thread. >
Author
Owner

@akitchen commented on GitHub (Apr 3, 2025):

Thanks - just some more questions.

What language are you seeing vs. expecting? macOS has Language & Region settings under the General tab in System Settings, as well as a separate set of keyboard input sources which can override the default for your language/region settings. It might help to look into these settings and try to figure out if they are affecting what KeyCastr is showing.

Does KeyCastr start automatically when your computer starts? I wonder if it somehow could be starting before your input source or locale are set by macOS, especially if it is overriding the default for your selected language & region. KeyCastr uses the current keyboard layout input source provided by a rather old Carbon API; it's possible that there is a bug in there where it isn't set yet if the app is starting up before your input source is set, but this is just speculation.

<!-- gh-comment-id:2776746969 --> @akitchen commented on GitHub (Apr 3, 2025): Thanks - just some more questions. What language are you seeing vs. expecting? macOS has Language & Region settings under the General tab in System Settings, as well as a separate set of keyboard input sources which can override the default for your language/region settings. It might help to look into these settings and try to figure out if they are affecting what KeyCastr is showing. Does KeyCastr start automatically when your computer starts? I wonder if it somehow could be starting before your input source or locale are set by macOS, especially if it is overriding the default for your selected language & region. KeyCastr uses the current keyboard layout input source provided by a rather old Carbon API; it's possible that there is a bug in there where it isn't set yet if the app is starting up before your input source is set, but this is just speculation.
Author
Owner

@eranshefi commented on GitHub (Apr 3, 2025):

Hi

At start it works fine, but suddenly this start to mess… 😇
Actually, I like it to always remain on English.
And as for your question about languages, I use English and Hebrew, and
sometimes Arabic but now only the first two.

Thanks!

On Thu, 3 Apr 2025 at 22:35 Andrew Kitchen @.***> wrote:

Thanks - just some more questions.

What language are you seeing vs. expecting? macOS has Language & Region
settings under the General tab in System Settings, as well as a separate
set of keyboard input sources which can override the default for your
language/region settings. It might help to look into these settings and try
to figure out if they are affecting what KeyCastr is showing.

Does KeyCastr start automatically when your computer starts? I wonder if
it somehow could be starting before your input source or locale are set by
macOS, especially if it is overriding the default for your selected
language & region. KeyCastr uses the current keyboard layout input source
provided by a rather old Carbon API; it's possible that there is a bug in
there where it isn't set yet if the app is starting up before your input
source is set, but this is just speculation.


Reply to this email directly, view it on GitHub
https://github.com/keycastr/keycastr/issues/314#issuecomment-2776746969,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFRFYF7RB5ZOLVTAIZVB3U32XWEP7AVCNFSM6AAAAABSRANJRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZWG42DMOJWHE
.
You are receiving this because you authored the thread.Message ID:
@.***>
[image: akitchen]akitchen left a comment (keycastr/keycastr#314)
https://github.com/keycastr/keycastr/issues/314#issuecomment-2776746969

Thanks - just some more questions.

What language are you seeing vs. expecting? macOS has Language & Region
settings under the General tab in System Settings, as well as a separate
set of keyboard input sources which can override the default for your
language/region settings. It might help to look into these settings and try
to figure out if they are affecting what KeyCastr is showing.

Does KeyCastr start automatically when your computer starts? I wonder if
it somehow could be starting before your input source or locale are set by
macOS, especially if it is overriding the default for your selected
language & region. KeyCastr uses the current keyboard layout input source
provided by a rather old Carbon API; it's possible that there is a bug in
there where it isn't set yet if the app is starting up before your input
source is set, but this is just speculation.


Reply to this email directly, view it on GitHub
https://github.com/keycastr/keycastr/issues/314#issuecomment-2776746969,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFRFYF7RB5ZOLVTAIZVB3U32XWEP7AVCNFSM6AAAAABSRANJRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZWG42DMOJWHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

<!-- gh-comment-id:2776912433 --> @eranshefi commented on GitHub (Apr 3, 2025): Hi At start it works fine, but suddenly this start to mess… 😇 Actually, I like it to always remain on English. And as for your question about languages, I use English and Hebrew, and sometimes Arabic but now only the first two. Thanks! On Thu, 3 Apr 2025 at 22:35 Andrew Kitchen ***@***.***> wrote: > Thanks - just some more questions. > > What language are you seeing vs. expecting? macOS has Language & Region > settings under the General tab in System Settings, as well as a separate > set of keyboard input sources which can override the default for your > language/region settings. It might help to look into these settings and try > to figure out if they are affecting what KeyCastr is showing. > > Does KeyCastr start automatically when your computer starts? I wonder if > it somehow could be starting before your input source or locale are set by > macOS, especially if it is overriding the default for your selected > language & region. KeyCastr uses the current keyboard layout input source > provided by a rather old Carbon API; it's possible that there is a bug in > there where it isn't set yet if the app is starting up before your input > source is set, but this is just speculation. > > — > Reply to this email directly, view it on GitHub > <https://github.com/keycastr/keycastr/issues/314#issuecomment-2776746969>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AFRFYF7RB5ZOLVTAIZVB3U32XWEP7AVCNFSM6AAAAABSRANJRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZWG42DMOJWHE> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> > [image: akitchen]*akitchen* left a comment (keycastr/keycastr#314) > <https://github.com/keycastr/keycastr/issues/314#issuecomment-2776746969> > > Thanks - just some more questions. > > What language are you seeing vs. expecting? macOS has Language & Region > settings under the General tab in System Settings, as well as a separate > set of keyboard input sources which can override the default for your > language/region settings. It might help to look into these settings and try > to figure out if they are affecting what KeyCastr is showing. > > Does KeyCastr start automatically when your computer starts? I wonder if > it somehow could be starting before your input source or locale are set by > macOS, especially if it is overriding the default for your selected > language & region. KeyCastr uses the current keyboard layout input source > provided by a rather old Carbon API; it's possible that there is a bug in > there where it isn't set yet if the app is starting up before your input > source is set, but this is just speculation. > > — > Reply to this email directly, view it on GitHub > <https://github.com/keycastr/keycastr/issues/314#issuecomment-2776746969>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AFRFYF7RB5ZOLVTAIZVB3U32XWEP7AVCNFSM6AAAAABSRANJRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZWG42DMOJWHE> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@eranshefi commented on GitHub (Jul 20, 2025):

Hi

It’s been a while. Any chance to solve this issue?

A riminder: I need only English letter showing, but other keyboards is getting in, although I’m in English input.

Thanks

Eran

On 4 Apr 2025, at 0:02, Eran Shefi @.***> wrote:

Hi

At start it works fine, but suddenly this start to mess… 😇
Actually, I like it to always remain on English.
And as for your question about languages, I use English and Hebrew, and sometimes Arabic but now only the first two.

Thanks!

On Thu, 3 Apr 2025 at 22:35 Andrew Kitchen @.*** @.***>> wrote:

akitchen
left a comment
(keycastr/keycastr#314)
Thanks - just some more questions.

What language are you seeing vs. expecting? macOS has Language & Region settings under the General tab in System Settings, as well as a separate set of keyboard input sources which can override the default for your language/region settings. It might help to look into these settings and try to figure out if they are affecting what KeyCastr is showing.

Does KeyCastr start automatically when your computer starts? I wonder if it somehow could be starting before your input source or locale are set by macOS, especially if it is overriding the default for your selected language & region. KeyCastr uses the current keyboard layout input source provided by a rather old Carbon API; it's possible that there is a bug in there where it isn't set yet if the app is starting up before your input source is set, but this is just speculation.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

https://github.com/keycastr/keycastr/issues/314#issuecomment-2776746969 https://github.com/notifications/unsubscribe-auth/AFRFYF7RB5ZOLVTAIZVB3U32XWEP7AVCNFSM6AAAAABSRANJRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZWG42DMOJWHE

akitchen
left a comment
(keycastr/keycastr#314)
https://github.com/keycastr/keycastr/issues/314#issuecomment-2776746969
Thanks - just some more questions.

What language are you seeing vs. expecting? macOS has Language & Region settings under the General tab in System Settings, as well as a separate set of keyboard input sources which can override the default for your language/region settings. It might help to look into these settings and try to figure out if they are affecting what KeyCastr is showing.

Does KeyCastr start automatically when your computer starts? I wonder if it somehow could be starting before your input source or locale are set by macOS, especially if it is overriding the default for your selected language & region. KeyCastr uses the current keyboard layout input source provided by a rather old Carbon API; it's possible that there is a bug in there where it isn't set yet if the app is starting up before your input source is set, but this is just speculation.


Reply to this email directly, view it on GitHub https://github.com/keycastr/keycastr/issues/314#issuecomment-2776746969, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFRFYF7RB5ZOLVTAIZVB3U32XWEP7AVCNFSM6AAAAABSRANJRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZWG42DMOJWHE.
You are receiving this because you authored the thread.

<!-- gh-comment-id:3094601324 --> @eranshefi commented on GitHub (Jul 20, 2025): Hi It’s been a while. Any chance to solve this issue? A riminder: I need only English letter showing, but other keyboards is getting in, although I’m in English input. Thanks Eran > On 4 Apr 2025, at 0:02, Eran Shefi ***@***.***> wrote: > > Hi > > At start it works fine, but suddenly this start to mess… 😇 > Actually, I like it to always remain on English. > And as for your question about languages, I use English and Hebrew, and sometimes Arabic but now only the first two. > > Thanks! > > On Thu, 3 Apr 2025 at 22:35 Andrew Kitchen ***@***.*** ***@***.***>> wrote: >> >> akitchen >> left a comment >> (keycastr/keycastr#314) >> Thanks - just some more questions. >> >> What language are you seeing vs. expecting? macOS has Language & Region settings under the General tab in System Settings, as well as a separate set of keyboard input sources which can override the default for your language/region settings. It might help to look into these settings and try to figure out if they are affecting what KeyCastr is showing. >> >> Does KeyCastr start automatically when your computer starts? I wonder if it somehow could be starting before your input source or locale are set by macOS, especially if it is overriding the default for your selected language & region. KeyCastr uses the current keyboard layout input source provided by a rather old Carbon API; it's possible that there is a bug in there where it isn't set yet if the app is starting up before your input source is set, but this is just speculation. >> >> — >> Reply to this email directly, view it on GitHub, or unsubscribe. >> You are receiving this because you authored the thread. >> >> <https://github.com/keycastr/keycastr/issues/314#issuecomment-2776746969> <https://github.com/notifications/unsubscribe-auth/AFRFYF7RB5ZOLVTAIZVB3U32XWEP7AVCNFSM6AAAAABSRANJRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZWG42DMOJWHE> >> >> akitchen >> left a comment >> (keycastr/keycastr#314) >> <https://github.com/keycastr/keycastr/issues/314#issuecomment-2776746969> >> Thanks - just some more questions. >> >> What language are you seeing vs. expecting? macOS has Language & Region settings under the General tab in System Settings, as well as a separate set of keyboard input sources which can override the default for your language/region settings. It might help to look into these settings and try to figure out if they are affecting what KeyCastr is showing. >> >> Does KeyCastr start automatically when your computer starts? I wonder if it somehow could be starting before your input source or locale are set by macOS, especially if it is overriding the default for your selected language & region. KeyCastr uses the current keyboard layout input source provided by a rather old Carbon API; it's possible that there is a bug in there where it isn't set yet if the app is starting up before your input source is set, but this is just speculation. >> >> — >> Reply to this email directly, view it on GitHub <https://github.com/keycastr/keycastr/issues/314#issuecomment-2776746969>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AFRFYF7RB5ZOLVTAIZVB3U32XWEP7AVCNFSM6AAAAABSRANJRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZWG42DMOJWHE>. >> You are receiving this because you authored the thread. >>
Author
Owner

@MaxZarev commented on GitHub (Nov 19, 2025):

same problem, I have 2 language in my mac - ru, en, KeyCastr shows ru every time, how I can use only en lang?

<!-- gh-comment-id:3551725460 --> @MaxZarev commented on GitHub (Nov 19, 2025): same problem, I have 2 language in my mac - ru, en, KeyCastr shows ru every time, how I can use only en lang?
Author
Owner

@akitchen commented on GitHub (Nov 21, 2025):

I assume when you refer to languages you mean Input Sources, added from the Keyboard section in the System Settings app.

KeyCastr displays events according to the current keyboard layout (Input Source), which is has to cache for performance reasons. It relies on notifications from the OS to know when that layout or input source changes.

It turns out that the app doesn't receive these notifications from the OS right away when it is not in the foreground, which is most of the time. This is actually a bug in how these notifications are configured, which is a simple fix I'll include in the next release.

Meanwhile, opening KeyCastr's settings pane should fix the issue because the OS will deliver the pending notification immediately. You don't even need to change visualizers -- it should begin displaying keystrokes according to the new layout at that point. Restarting the app will also fix it, but isn't strictly necessary.

<!-- gh-comment-id:3564685914 --> @akitchen commented on GitHub (Nov 21, 2025): I assume when you refer to languages you mean Input Sources, added from the Keyboard section in the System Settings app. KeyCastr displays events according to the current keyboard layout (Input Source), which is has to cache for performance reasons. It relies on notifications from the OS to know when that layout or input source changes. It turns out that the app doesn't receive these notifications from the OS right away when it is not in the foreground, which is most of the time. This is actually a bug in how these notifications are configured, which is a simple fix I'll include in the next release. Meanwhile, opening KeyCastr's settings pane should fix the issue because the OS will deliver the pending notification immediately. You don't even need to change visualizers -- it should begin displaying keystrokes according to the new layout at that point. Restarting the app will also fix it, but isn't strictly necessary.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/keycastr#269
No description provided.