Comment 7 for bug 635994

Revision history for this message
Matthew McGowan (mmcg069) wrote :

@Ricardo

Nice idea. At the moment the Up/Down keys are mapped to traverse the focus-chain.

I am imagining the simplest way to fix this bug would be to intercept the key-press-event or key-release-event for the ScrolledWindow or Viewport (i am guessing here), and if the keyval is of Up/Down then tweak the adjustment (much like your example) and consume the event so it is not handed on to other widgets lower in the widget hierarchy.

The consequence of this approach would be that the Tab key would become the only way to traverse the focus-chain (maybe also the Left/Right keys?).

mpt if you are ok with this i think it would not be a difficult thing to implement.