Re: [Lazarus] gtk2 warning

2008-11-24 Thread Luca Olivetti
En/na Mattias Gaertner ha escrit:


 I wonder what keyboard layouts generate this.
 
 ubuntu 8.10, layout USA, generic 105-key(intl) PC

mandriva 2007.1, mandriva 2009.0, puppylinux 4.0, layout Spanish(Spain).

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004  Fax +34 93 5883007
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] gtk2 warning

2008-11-22 Thread Paul Ishenin
Mattias Gaertner wrote:
 I get this at every start:

 [WARNING] Out of OEM specific VK codes, changing to unassigned
 [WARNING] Out of unassigned VK codes, assigning $FF


 Is this known?
   
I see them too. Is that something bad?

Best regards,
Paul Ishenin.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] gtk2 warning

2008-11-22 Thread Marc Weustink
Paul Ishenin wrote:
 Mattias Gaertner wrote:
 I get this at every start:

 [WARNING] Out of OEM specific VK codes, changing to unassigned
 [WARNING] Out of unassigned VK codes, assigning $FF


 Is this known?
   
 I see them too. Is that something bad?

Yes, this is bad. It means that some keypresses wont get reported anymore.

Each key reported by X should get a VK_xxx number assigned to report to 
the LCL. Based on some lookups, an attempt is made to asign a VK which 
is constant between widgetsets and is compatible with windows (and 
thus the VCL and thus the LCL). As a result of this the A key gets the 
VK_A and the F5 key VK_F5 etc. However problems arise for other keys 
like the ones with []\;',./-= For known combos, a VK_OEM_ value is 
assigned (see lcltype.pp for combos). Based on a Microsoft keyboard 
layout tool, I covered most combos.
When no existing VK_ value can be found, values from the unassinged 
range are assigned first, then from the reserved range and then just $FF 
since there are no more values to choose from.

I wonder what keyboard layouts generate this.

Marc
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] gtk2 warning

2008-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2008 13:49:42 +0100
Marc Weustink [EMAIL PROTECTED] wrote:

 Paul Ishenin wrote:
  Mattias Gaertner wrote:
  I get this at every start:
 
  [WARNING] Out of OEM specific VK codes, changing to unassigned
  [WARNING] Out of unassigned VK codes, assigning $FF
 
 
  Is this known?

  I see them too. Is that something bad?
 
 Yes, this is bad. It means that some keypresses wont get reported
 anymore.
 
 Each key reported by X should get a VK_xxx number assigned to report
 to the LCL. Based on some lookups, an attempt is made to asign a VK
 which is constant between widgetsets and is compatible with windows
 (and thus the VCL and thus the LCL). As a result of this the A key
 gets the VK_A and the F5 key VK_F5 etc. However problems arise for
 other keys like the ones with []\;',./-= For known combos, a
 VK_OEM_ value is assigned (see lcltype.pp for combos). Based on a
 Microsoft keyboard layout tool, I covered most combos.
 When no existing VK_ value can be found, values from the unassinged 
 range are assigned first, then from the reserved range and then just
 $FF since there are no more values to choose from.
 
 I wonder what keyboard layouts generate this.

ubuntu 8.10, layout USA, generic 105-key(intl) PC

Mattias
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] gtk2 warning

2008-11-22 Thread Micha Nelissen
Mattias Gaertner wrote:
 On Sat, 22 Nov 2008 13:49:42 +0100
 Marc Weustink [EMAIL PROTECTED] wrote:
 I wonder what keyboard layouts generate this.
 
 ubuntu 8.10, layout USA, generic 105-key(intl) PC

That's very exotic indeed :P

Micha
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] gtk2 warning

2008-11-22 Thread Marc Weustink
Mattias Gaertner wrote:
 On Sat, 22 Nov 2008 13:49:42 +0100
 Marc Weustink [EMAIL PROTECTED] wrote:
 
 Paul Ishenin wrote:
 Mattias Gaertner wrote:
 I get this at every start:

 [WARNING] Out of OEM specific VK codes, changing to unassigned
 [WARNING] Out of unassigned VK codes, assigning $FF


 Is this known?
   
 I see them too. Is that something bad?
 Yes, this is bad. It means that some keypresses wont get reported
 anymore.

 Each key reported by X should get a VK_xxx number assigned to report
 to the LCL. Based on some lookups, an attempt is made to asign a VK
 which is constant between widgetsets and is compatible with windows
 (and thus the VCL and thus the LCL). As a result of this the A key
 gets the VK_A and the F5 key VK_F5 etc. However problems arise for
 other keys like the ones with []\;',./-= For known combos, a
 VK_OEM_ value is assigned (see lcltype.pp for combos). Based on a
 Microsoft keyboard layout tool, I covered most combos.
 When no existing VK_ value can be found, values from the unassinged 
 range are assigned first, then from the reserved range and then just
 $FF since there are no more values to choose from.

 I wonder what keyboard layouts generate this.
 
 ubuntu 8.10, layout USA, generic 105-key(intl) PC

Weird, I'm using a generic 105-key. Maybe the (intl) makes the 
difference. Can you sent me the output of xmodmap -pk ?

Marc

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] gtk2 warning

2008-11-21 Thread Mattias Gaertner
I get this at every start:

[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF


Is this known?

Mattias
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus