News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

The 08 august 2006 build is out.

Started by killerbot, August 08, 2006, 10:17:53 PM

Previous topic - Next topic

Pecan

Quote from: tiwag on August 10, 2006, 09:14:22 PM
i'm using a Logitech keyboard and WinXp SP2

the Numeric keypad only works in Num-Lock mode with C::B
the navigation keys are not working too.

the navigation keys are working with other applications

This may be a problem with wxScintilla translation of the WXK_NUMPAD_{RIGHT|LEFT|UP|DOWN} keys codes etc.

Try this. Move your cursor into the projects window with a large project loaded so that you can move up and down the tree items.

Do the keypad navigation keys work now? If so (as is my case) the keys work for a wxWidgets control, but not for a wxStyledTextCtrl.



MortenMacFly

Quote from: Pecan on August 10, 2006, 09:48:45 PM
This may be a problem with wxScintilla translation of the WXK_NUMPAD_{RIGHT|LEFT|UP|DOWN} keys codes etc.
This could be a reason. May I ask the ones that experience this issue to check if they use SciTE (http://www.scintilla.org/SciTE.html) if it's the same there?
In addition: I know for Linux there exists an application that prints the keycodes of the keyboard strokes. Does anybody know a similar application for Windows - thus we can compare the "codes" that are actually be send to the (any) application?
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

k1mgy

Yes, the keypad navigation works within the project pane, but not the editing panel.

Bingo?

sethjackson

Quote from: MortenMacFly on August 10, 2006, 09:52:44 PM
Quote from: Pecan on August 10, 2006, 09:48:45 PM
This may be a problem with wxScintilla translation of the WXK_NUMPAD_{RIGHT|LEFT|UP|DOWN} keys codes etc.
This could be a reason. May I ask the ones that experience this issue to check if they use SciTE (http://www.scintilla.org/SciTE.html) if it's the same there?
In addition: I know for Linux there exists an application that prints the keycodes of the keyboard strokes. Does anybody know a similar application for Windows - thus we can compare the "codes" that are actually be send to the (any) application?
With regards, Morten.

Just tried it on Windows XP it seems to work ok. :)

MortenMacFly

Quote from: Pecan on August 10, 2006, 09:48:45 PM
Try this. Move your cursor into the projects window with a large project loaded so that you can move up and down the tree items.
Sorry, I forgot to answer this: It's the same for me! For the "Management" (project) panel the numpad keys (up/down) work but not within any editor... we are one step further I'd say...
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

sethjackson

#35
Hmm....

Line 973. Looks like the numpad arrow keys aren't handled?

http://wxcode.cvs.sourceforge.net/wxcode/wxCode/components/wxscintilla/src/ScintillaWX.cpp?revision=1.25&view=markup

EDIT:

BTW C::B uses wxScintilla 1.67. The newest version is 1.69.2. ;)

k1mgy

Quote from: MortenMacFly on August 10, 2006, 09:52:44 PM
Quote from: Pecan on August 10, 2006, 09:48:45 PM
This may be a problem with wxScintilla translation of the WXK_NUMPAD_{RIGHT|LEFT|UP|DOWN} keys codes etc.
This could be a reason. May I ask the ones that experience this issue to check if they use SciTE (http://www.scintilla.org/SciTE.html) if it's the same there?
In addition: I know for Linux there exists an application that prints the keycodes of the keyboard strokes. Does anybody know a similar application for Windows - thus we can compare the "codes" that are actually be send to the (any) application?
With regards, Morten.

I installed Scintilla editor and the numeric keypad nav keys work fine there.

Probably the best way to reveal the keycodes is within the application itself.  I could write an extension to do it, maybe :)

I can't find a utility to tell us this.


MortenMacFly

#37
Quote from: sethjackson on August 10, 2006, 10:00:02 PM
BTW C::B uses wxScintilla 1.67. The newest version is 1.69.2. ;)
Yeah, I use this version for "ages" now (in "my" version of C::B). Anyway: I can tell the "bug" is there, too... Searching...

Edit: In SciTE (v1.70) the numpad is working properly... so it must be the way wxScintilla is embedded in C::B... COntinuing search...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

k1mgy

Quote from: sethjackson on August 10, 2006, 10:00:02 PM
Hmm....

Line 973. Looks like the numpad arrow keys aren't handled?

http://wxcode.cvs.sourceforge.net/wxcode/wxCode/components/wxscintilla/src/ScintillaWX.cpp?revision=1.25&view=markup

EDIT:

BTW C::B uses wxScintilla 1.67. The newest version is 1.69.2. ;)

They were as of May (the version of CB I last installed).

Unless wxScintilla is new to CB since then?

sethjackson

Quote from: MortenMacFly on August 10, 2006, 10:06:40 PM
Quote from: sethjackson on August 10, 2006, 10:00:02 PM
BTW C::B uses wxScintilla 1.67. The newest version is 1.69.2. ;)
Yeah, I use this version for "ages" now (in "my" version of C::B). Anyway: I can tell the "bug" is there, too... Searching...

Right that DoKeyDown() function doesn't seem to have changed since 1.67. I think that is the problem.....

sethjackson

Quote from: k1mgy on August 10, 2006, 10:07:47 PM
Quote from: sethjackson on August 10, 2006, 10:00:02 PM
Hmm....

Line 973. Looks like the numpad arrow keys aren't handled?

http://wxcode.cvs.sourceforge.net/wxcode/wxCode/components/wxscintilla/src/ScintillaWX.cpp?revision=1.25&view=markup

EDIT:

BTW C::B uses wxScintilla 1.67. The newest version is 1.69.2. ;)

They were as of May (the version of CB I last installed).

Unless wxScintilla is new to CB since then?

Umm yea I thought we "upgraded" lemme check....


k1mgy

>> case WXK_PAGEDOWN:          // fall through

These?

Ugh!

MortenMacFly

Quote from: sethjackson on August 10, 2006, 10:09:02 PM
Umm yea I thought we "upgraded" lemme check....
C::B uses 1.67 (as said before), but the issue is there too, if C::B would use 1.69.2 (as I do)... as said before, too... ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

sethjackson

#44
Quote from: MortenMacFly on August 10, 2006, 10:11:37 PM
Quote from: sethjackson on August 10, 2006, 10:09:02 PM
Umm yea I thought we "upgraded" lemme check....
C::B uses 1.67 (as said before), but the issue is there too, if C::B would use 1.69.2 (as I do)... as said before, too... ;-)

Right k1mgy asked if the may version used a "downgraded" wxScintilla...... I thought it did.

And quoting myself:

"Right that DoKeyDown() function doesn't seem to have changed since 1.67. I think that is the problem....."

EDIT:

wxScintilla was updated 6 months ago in C::B.....