GNOME Bugzilla – Bug 487968
[pyatspi] Numerous DEPRECATED: ... Instead of role, use getRole() warnings.
Last modified: 2007-10-18 18:21:28 UTC
Still trying to drastically reduce the number of DEPRECATED warnings we are generating. I was trying to run a simple StarOffice test. I turned on settings.deprecatedMessages = True and did: 1. Start oowriter. 2. Enter Alt-f, right arrow and Return. (File->New->Text Document). 3. Enter Alt-a, right arrow and Return. (Table->Insert->Table...). 4. Enter Return (Insert a table with the default parameters - 2x2). 5. Enter a and Tab (Inserts "a" into cell A1 and moves to cell B1). 6. Enter Shift-Tab (Returns to cell A1). 7. Enter Alt-f, Alt-c to close the Writer application. 8. Enter Tab and Return to discard the current changes. there are 3681 of these "Instead of role" warnings. This bug will try to find/fix them. Big patch to follow soon...
Created attachment 97438 [details] [review] role -> getRole() changes for default.py Patch committed. More to come.
Created attachment 97440 [details] [review] The rest of the role -> getRole() changes for this test. Patch committed. I've noticed that the other Orca developers aren't opening bugs for their pyatspi changes, so I'll stop doing this too. DEPRECATED warnings for this test now down to 1921. Closing as FIXED.