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 398100 - Deprecate STATE_ARMED
Deprecate STATE_ARMED
Status: RESOLVED OBSOLETE
Product: at-spi
Classification: Platform
Component: at-spi2-core
unspecified
Other Linux
: Normal normal
: ---
Assigned To: At-spi maintainer(s)
At-spi maintainer(s)
Depends on: 355011
Blocks:
 
 
Reported: 2007-01-18 18:34 UTC by David Bolter
Modified: 2021-07-05 10:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (1.09 KB, patch)
2014-11-20 14:48 UTC, Joanmarie Diggs (IRC: joanie)
none Details | Review

Description David Bolter 2007-01-18 18:34:27 UTC
The issue of whether the state armed is useful has been raised. We should consider deprecating API for this state. Note a corresponding ATK bug has not yet being filed so discussion can happen here for now.
Comment 1 Aaron Leventhal 2007-01-18 19:05:14 UTC
IMO if it doesn't have any known use case then it should be deprecated so as not to cause future AT and app developers extra work. It will simply cause misunderstandings.
Comment 2 David Bolter 2007-01-18 19:12:27 UTC
Agreed. If indeed there are no good use cases.

FWIW here is the JFC use of armed:
"In details, the state model for buttons works as follows when used with the mouse:
Pressing the mouse on top of a button makes the model both armed and pressed. As long as the mouse remains down, the model remains pressed, even if the mouse moves outside the button. On the contrary, the model is only armed while the mouse remains pressed within the bounds of the button (it can move in or out of the button, but the model is only armed during the portion of time spent within the button). A button is triggered, and an ActionEvent is fired, when the mouse is released while the model is armed - meaning when it is released over top of the button after the mouse has previously been pressed on that button (and not already released). Upon mouse release, the model becomes unarmed and unpressed."
(from http://java.sun.com/javase/6/docs/api/javax/swing/ButtonModel.html)
Comment 3 David Bolter 2007-09-04 16:12:19 UTC
Ping.
Comment 4 Willie Walker 2007-09-04 16:24:01 UTC
Orca is currently using the ARMED state in the script for the Java platform.  The comment around the use of the ARMED state is this:

        # This is a workaround for a java-access-bridge bug (Bug 355011)
        # where popup menu events are not sent to Orca.
        #
        # When a root pane gets focus, a popup menu may have been invoked.
        # If there is a popup menu, give locus of focus to the armed menu
        # item.
        #

If a fix for bug 355011 can help eliminate the use of ARMED for Orca, then I would not object to deprecating the ARMED state.

Comment 5 Li Yuan 2007-09-05 04:44:37 UTC
OK, I would mark bug 355011 blocks this one.
Comment 6 André Klapper 2012-02-26 10:44:55 UTC
[Resetting QA Contact to newly introduced "at-spi-maint@gnome.bugs". 
Reason: So far it was impossible to watch changes in at-spi bug reports without following all the specific persons (Li Yuan, Bill Haneman, Jeff Wai, ...) and also their activity outside of at-spi reports.

IMPORTANT: Anyone interested in following all bug activity (including all maintainers) must watch the "at-spi-maint@gnome.bugs" dummy user by adding it to the 'Users to watch' list under Preferences->Email preferences. This is also the default procedure nowadays in GNOME when setting up new products.]
Comment 7 André Klapper 2013-08-14 10:08:18 UTC
[Mass-resetting default assignee, see bug 705890. Please reclaim this bug report by setting the assignee to yourself if you still plan to work on this. Thanks!]
Comment 8 Magdalen Berns (irc magpie) 2014-11-15 00:53:12 UTC
I'm going to go ahead and close this because it concerns a very old version.
Feel free to open a new bug if the problem persists.
Comment 9 Joanmarie Diggs (IRC: joanie) 2014-11-15 00:59:55 UTC
STATE_ARMED is useless. And getting state-changed signals for it doubly so. Reopening.
Comment 10 Magdalen Berns (irc magpie) 2014-11-15 01:03:59 UTC
Thanks for the update.
Comment 11 Joanmarie Diggs (IRC: joanie) 2014-11-20 14:48:28 UTC
Created attachment 291102 [details] [review]
Proposed patch

This documents that the state is now deprecated. Similar documentation was added to ATK.
Comment 12 GNOME Infrastructure Team 2021-07-05 10:45:30 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/

Thank you for your understanding and your help.