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 651407 - Deprecate unneeded focus-related methods from AtkUtil and AtkComponent
Deprecate unneeded focus-related methods from AtkUtil and AtkComponent
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: atk
unspecified
Other All
: Normal normal
: ---
Assigned To: ATK maintainer(s)
ATK maintainer(s)
Depends on:
Blocks: 638537
 
 
Reported: 2011-05-29 18:09 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2013-10-18 11:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joanmarie Diggs (IRC: joanie) 2011-05-29 18:09:52 UTC
The following methods should be marked as deprecated within ATK:

From AtkUtil:
 atk_add_focus_tracker
 atk_remove_focus_tracker
 atk_focus_tracker_init
 atk_focus_tracker_notify

From AtkComponent:
 atk_component_add_focus_handler
 atk_component_remove_focus_handler

After marking them as deprecated, we should file bugs against each toolkit which is using the newly-deprecated methods.
Comment 1 André Klapper 2011-06-23 22:06:47 UTC
[Mass-reassigning open atk bug reports for better trackability as requested in https://bugzilla.gnome.org/show_bug.cgi?id=653179 .
PLEASE NOTE:
If you have watched the previous assignee of this bug report as a workaround for actually getting notified of changes in atk bugs, you yourself will now have to add atk-maint@gnome.bugs to your watchlist at the bottom of https://bugzilla.gnome.org/userprefs.cgi?tab=email to keep watching atk bug reports in GNOME Bugzilla.
Sorry for the noise: Feel free to filter for this comment in order to mass-delete the triggered bugmail.]
Comment 2 Matthias Clasen 2011-07-02 16:02:44 UTC
I just discovered the extra layers of obfuscation around focus tracking in gail and I have to full-heartedly agree: get rid of these; I'm going to drop the implementations of atk_component_add/remove_focus_handler in gail soon.
Comment 3 Matthias Clasen 2011-07-02 16:07:44 UTC
As for deprecation notes:

atk_component_add_focus_handler is just a glorified way to connect to the AtkObject::focus-event signal.
Comment 4 Alejandro Piñeiro Iglesias (IRC: infapi00) 2011-07-04 09:22:33 UTC
Sorry for the delay, I was on holiday.

(In reply to comment #3)
> As for deprecation notes:
> 
> atk_component_add_focus_handler is just a glorified way to connect to the
> AtkObject::focus-event signal.

Yes, as I already said on bug 649575.

In fact this bug is just a offspring bug of 649575. Most of the reasons, discussion and atk hackfest conclusions are explained there.

(In reply to comment #2)
> I just discovered the extra layers of obfuscation around focus tracking in gail
> and I have to full-heartedly agree: get rid of these; I'm going to drop the
> implementations of atk_component_add/remove_focus_handler in gail soon.

Bug 650669 tracks the same but for the case of Cally.
Comment 5 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-10-18 11:36:37 UTC
All this methods were deprecated as part of bug 649575. Closing bug.