User forums > Help

WIN+[key] combo is being blocked by C::B

(1/2) > >>

muesli_mage:
Hallo,

re: ticket
https://sourceforge.net/p/codeblocks/tickets/969/

CodeBlocks seems to block some key combo's which include the Windows key.
Tested after disabling the Keybinder plugin but problem persists.

Cannot find any mention of keybinds in C::B which use the Windows key,
so cannot resolve the issue.

The Windows key should be reserved for operating system functions.

Does anyone have a solution for this?

Thanks

oBFusCATed:
I've written some things to test in the ticket.
Try:
1. Older builds to see if this was a recent regression
2. Change the focus to non-editor UI
3. Remove the keybinder plugin

(I'm not using windows, so I cannot help much more)

Pecan:
Using a virgin copy of windows 10 (not running Codeblocks)
Ctrl+Win+Numlock(ON)+anyNumKeyPad key will NOT switch desktops.
Ctrl+Win+Numlock(OFF)+anyNumKeyPadArrowKey WILL behave as advertised for Windows 10.
But Numlock must be OFF to switch desktops.

This may be related to a bug in CodeBlocks 17 (and prior versions) which allowed keybindings when numlock was ON.
This bug is still in Codeblocks 20. I will fix it soon. So please remove any keybinding in CodeBlocks that were set with Numlock ON. That should solve your problem.

A keybinding that was set with numlock on will contain a non-ascii character. Like a non-english character. See image below. Use Menu->Settings->Editor->KeyboardShortcuts to remove the binding.

https://sourceforge.net/p/codeblocks/tickets/_discuss/thread/8397da107d/c53a/attachment/keybinding.png

muesli_mage:

--- Quote from: Pecan on May 28, 2020, 08:07:17 pm ---Ctrl+Win+Numlock(ON)+anyNumKeyPad key will NOT switch desktops.

--- End quote ---

I am trying to write an app to switch desktops with combo + numpad;
to switch desktops without scrolling.
Example from desktop 1 to desktop 9 without going through 2-8 and pressing arrow key a lot of times
So there is no official Microsoft function to do this with the numpad


--- Quote from: Pecan on May 28, 2020, 08:07:17 pm ---But Numlock must be OFF to switch desktops.

--- End quote ---

Aha,
Yes, I tried to test, and sure it was non-response specific to Numpad without NumLock.
So the issue it not C::B at all.

Thank you all for advice

I have updated the SourceForge comments but the ticket is open,
I don't know how to close the ticket to show no open issue

Pecan:
Would someone with ticket credentials please close ticket #969.

Thanks

Navigation

[0] Message Index

[#] Next page

Go to full version