Menu

#2 problem loading xkb-map

open-accepted
5
2009-12-10
2009-12-09
Anonymous
No

hi, trying to load an xkb-keymap i get the geometry alright, but then there is an exeption...

the console output is as follows:

------------cut-------------
addDuttKeyToScene entered
addDuttKeyToScene entered
addDuttKeyToScene entered
createSectionOfItems entered
Scene::createDuttGeomSection entered
extractKeyAliasesIntoGeomDeposit entered
extractKeyAliasesIntoGeomDeposit : got 2 aliases
extractKeyAliasesIntoGeomDeposit : alias(AC00) => real name(CAPS)
extractKeyAliasesIntoGeomDeposit : alias(AA00) => real name(LCTL)
extractPropertiesIntoGeomDeposit entered
extractPropertiesIntoGeomDeposit : got 1 properties
extractPropertiesIntoGeomDeposit : got property : name(description) => value(Generic 105)
Geometry Name is : pc(pc105)
doFreeKeyboardDescription : An XKB description is being deleted
readInSymbolicKeyNameArray entered
Exception caught while loading a DuttMap from XKB: readInSymbolicKeyNameArray : first entries within desc->names->keys expected to be NULL, but they are not.
You can restore the previous keymap via the file-menu

Discussion

  • Dirk Wallenstein

    • assigned_to: nobody --> dirkwallenstein
     
  • Dirk Wallenstein

    As far as I can see, libX11 uses calloc to create the key names array and
    copies only the keys in range [min_key_code:max_key_code] from the wire.

    I downgraded the occurrence of non-zero data below &names->keys[min_key_code]
    from an exception to an info in the git repository.

    Please report any anomalies.

     
  • Dirk Wallenstein

    • labels: --> XKB Interaction
    • status: open --> open-accepted
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.