Bug 335075

Summary: Accessible returns an unknown role, a11y applications unable to detect that konsole is a terminal,
Product: [Applications] konsole Reporter: marmuta <marmvta>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: CONFIRMED ---    
Severity: normal CC: cpigat242, marmvta, nate
Priority: NOR    
Version: 2.13   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Python sample code

Description marmuta 2014-05-20 10:57:37 UTC
I'm trying to get Onboard's [1] auto-show and word-suggestions to work with konsole, but got stuck at atspi_accessible_get_role () returning an unexpected value. Could someone have a look?

Reproducible: Always

Steps to Reproduce:
1. run the sample (...I hope to attach below)
2. focus konsole
3. note ouput
Actual Results:  
atspi_accessible_get_role () returns 78238912

Expected Results:  
I expect it to return one of the constants here
https://developer.gnome.org/libatspi/2.13/libatspi-atspi-constants.html#AtspiRole
I think it should probably be ATSPI_ROLE_TERMINAL, at least this is what gnome-terminal reports.

I can reproduce this problem on Ubuntu 14.04 and Magaia 5 Cauldron.

[1] https://launchpad.net/onboard
Comment 1 marmuta 2014-05-20 11:09:32 UTC
Created attachment 86734 [details]
Python sample code