Author Topic: The 08 august 2006 build is out.  (Read 52608 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2775
Re: The 08 august 2006 build is out.
« Reply #30 on: August 10, 2006, 09:48:45 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.



Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 08 august 2006 build is out.
« Reply #31 on: August 10, 2006, 09:52:44 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline k1mgy

  • Multiple posting newcomer
  • *
  • Posts: 64
Re: The 08 august 2006 build is out.
« Reply #32 on: August 10, 2006, 09:54:25 pm »
Yes, the keypad navigation works within the project pane, but not the editing panel.

Bingo?

sethjackson

  • Guest
Re: The 08 august 2006 build is out.
« Reply #33 on: August 10, 2006, 09:55:03 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. :)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 08 august 2006 build is out.
« Reply #34 on: August 10, 2006, 09:56:43 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

sethjackson

  • Guest
Re: The 08 august 2006 build is out.
« Reply #35 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. ;)
« Last Edit: August 10, 2006, 10:03:54 pm by sethjackson »

Offline k1mgy

  • Multiple posting newcomer
  • *
  • Posts: 64
Re: The 08 august 2006 build is out.
« Reply #36 on: August 10, 2006, 10:06:04 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.


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 08 august 2006 build is out.
« Reply #37 on: August 10, 2006, 10:06:40 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...
« Last Edit: August 10, 2006, 10:09:55 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline k1mgy

  • Multiple posting newcomer
  • *
  • Posts: 64
Re: The 08 august 2006 build is out.
« Reply #38 on: August 10, 2006, 10:07:47 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

  • Guest
Re: The 08 august 2006 build is out.
« Reply #39 on: August 10, 2006, 10:08:30 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

  • Guest
Re: The 08 august 2006 build is out.
« Reply #40 on: August 10, 2006, 10:09: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....


Offline k1mgy

  • Multiple posting newcomer
  • *
  • Posts: 64
Re: The 08 august 2006 build is out.
« Reply #42 on: August 10, 2006, 10:10:11 pm »
>> case WXK_PAGEDOWN:          // fall through

These?

Ugh!

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 08 august 2006 build is out.
« Reply #43 on: August 10, 2006, 10:11:37 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

sethjackson

  • Guest
Re: The 08 august 2006 build is out.
« Reply #44 on: August 10, 2006, 10:13:30 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.....
« Last Edit: August 10, 2006, 10:15:42 pm by sethjackson »