[GH-ISSUE #106] "shift + up arrow" and "shift + down arrow" shows question blocks #86

Closed
opened 2026-05-05 04:53:01 -06:00 by gitea-mirror · 12 comments
Owner

Originally created by @heyycap on GitHub (Jan 17, 2018).
Original GitHub issue: https://github.com/keycastr/keycastr/issues/106

"shift + up arrow" and "shift + down arrow" shows question blocks. Meanwhile, adding at least one extra modifier, e.g. shift+ctrl+up/down displays correctly.

I'm using a PC keyboard on a Mac.

Originally created by @heyycap on GitHub (Jan 17, 2018). Original GitHub issue: https://github.com/keycastr/keycastr/issues/106 "shift + up arrow" and "shift + down arrow" shows question blocks. Meanwhile, adding at least one extra modifier, e.g. shift+ctrl+up/down displays correctly. I'm using a PC keyboard on a Mac.
Author
Owner

@majorcode commented on GitHub (Mar 6, 2018):

I get the same question blocks on 100% Apple hardware.

<!-- gh-comment-id:370612625 --> @majorcode commented on GitHub (Mar 6, 2018): I get the same question blocks on 100% Apple hardware.
Author
Owner

@stkent commented on GitHub (Apr 28, 2018):

Same for shift+F6 using IDE shortcuts.

<!-- gh-comment-id:385183580 --> @stkent commented on GitHub (Apr 28, 2018): Same for shift+F6 using IDE shortcuts.
Author
Owner

@mosluce commented on GitHub (Jun 14, 2018):

I found the code in KCKeystrokeTansformer.m, line 154 ~ 161

    if (isShifted && !isCommand)
    {
        NSString *tmp = [@(_keyCode) isEqualToNumber:@48] ? kLeftTabString : keystroke.charactersIgnoringModifiers;
        if (tmp) {
            [mutableResponse appendString:tmp];
            return mutableResponse;
        }
    }

keystroke.charactersIgnoringModifiers is always a question blocks.
I comment out these lines, and resolve this issue.

<!-- gh-comment-id:397196699 --> @mosluce commented on GitHub (Jun 14, 2018): I found the code in KCKeystrokeTansformer.m, line 154 ~ 161 ```swift if (isShifted && !isCommand) { NSString *tmp = [@(_keyCode) isEqualToNumber:@48] ? kLeftTabString : keystroke.charactersIgnoringModifiers; if (tmp) { [mutableResponse appendString:tmp]; return mutableResponse; } } ``` keystroke.charactersIgnoringModifiers is always a question blocks. I comment out these lines, and resolve this issue.
Author
Owner

@mosluce commented on GitHub (Jun 14, 2018):

@majorcode
what's macOS version of your devices?

<!-- gh-comment-id:397204959 --> @mosluce commented on GitHub (Jun 14, 2018): @majorcode what's macOS version of your devices?
Author
Owner

@majorcode commented on GitHub (Jun 15, 2018):

@mosluce I'm on 10.13.5 now. The machine was on some earlier 10.13.x when I posted my comment.

<!-- gh-comment-id:397609194 --> @majorcode commented on GitHub (Jun 15, 2018): @mosluce I'm on 10.13.5 now. The machine was on some earlier 10.13.x when I posted my comment.
Author
Owner

@heyycap commented on GitHub (Jun 17, 2018):

@mosluce where can I find that file? I originally installed it using the app.zip

<!-- gh-comment-id:397914777 --> @heyycap commented on GitHub (Jun 17, 2018): @mosluce where can I find that file? I originally installed it using the app.zip
Author
Owner

@zoltanszalay commented on GitHub (Aug 29, 2018):

Same issue, apple hardware, "hungarian apple keyboard", macOS 10.13.6

<!-- gh-comment-id:416937631 --> @zoltanszalay commented on GitHub (Aug 29, 2018): Same issue, apple hardware, "hungarian apple keyboard", macOS 10.13.6
Author
Owner

@NachoAccedo commented on GitHub (Oct 25, 2018):

Same issue here.
Is possible to show Shift + F12 somehow like the command keys?

<!-- gh-comment-id:433106998 --> @NachoAccedo commented on GitHub (Oct 25, 2018): Same issue here. Is possible to show Shift + F12 somehow like the command keys?
Author
Owner

@CharlesLiuyx commented on GitHub (Apr 1, 2019):

Same bug here, please help to fix this problem.

<!-- gh-comment-id:478524393 --> @CharlesLiuyx commented on GitHub (Apr 1, 2019): Same bug here, please help to fix this problem.
Author
Owner

@Mark2Mark commented on GitHub (May 20, 2019):

+1

<!-- gh-comment-id:494061146 --> @Mark2Mark commented on GitHub (May 20, 2019): +1
Author
Owner

@Jotto79 commented on GitHub (Jun 25, 2020):

Problem still exists

<!-- gh-comment-id:649850227 --> @Jotto79 commented on GitHub (Jun 25, 2020): Problem still exists
Author
Owner

@akitchen commented on GitHub (Jan 2, 2021):

Fixed in v0.9.9

<!-- gh-comment-id:753543339 --> @akitchen commented on GitHub (Jan 2, 2021): Fixed in v0.9.9
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#86
No description provided.