After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 487968 - [pyatspi] Numerous DEPRECATED: ... Instead of role, use getRole() warnings.
[pyatspi] Numerous DEPRECATED: ... Instead of role, use getRole() warnings.
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
2.21.x
Other Linux
: Normal normal
: ---
Assigned To: Rich Burridge
Orca Maintainers
Depends on:
Blocks: 448848
 
 
Reported: 2007-10-18 17:11 UTC by Rich Burridge
Modified: 2007-10-18 18:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
role -> getRole() changes for default.py (17.55 KB, patch)
2007-10-18 17:53 UTC, Rich Burridge
committed Details | Review
The rest of the role -> getRole() changes for this test. (27.75 KB, patch)
2007-10-18 18:20 UTC, Rich Burridge
committed Details | Review

Description Rich Burridge 2007-10-18 17:11:12 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...
Comment 1 Rich Burridge 2007-10-18 17:53:40 UTC
Created attachment 97438 [details] [review]
role -> getRole() changes for default.py

Patch committed.

More to come.
Comment 2 Rich Burridge 2007-10-18 18:20:57 UTC
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.