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 342269 - Dogtail lacks support for AccessibleValue instances
Dogtail lacks support for AccessibleValue instances
Status: RESOLVED WONTFIX
Product: dogtail
Classification: Deprecated
Component: Framework
CVS HEAD
Other All
: Normal enhancement
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2006-05-18 15:24 UTC by Jose Dapena Paz
Modified: 2011-02-07 06:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
This patch adds support for AccessibleValue in dogtail (3.70 KB, patch)
2006-05-18 15:49 UTC, Jose Dapena Paz
needs-work Details | Review

Description Jose Dapena Paz 2006-05-18 15:24:12 UTC
Please describe the problem:
Currently dogtail does not provide support for AccessibleValue. I filed a bug
and a patch for this issue in Pyspi (it lacks support for this one too). The
value interface is used for widgets that model a numeric value in a range
(scrollbars, progressbars, ranges, spinbuttons and panes).

Steps to reproduce:
1. Get a widget supporting AccessibleValue



Actual results:
AccessibleValue is not exposed through dogtail.

Expected results:
If we follow the standards for other interfaces, we could expose value as a
private attribute of node. Then we can get minimumValue, maximumValue and
currentValue as attributes. The last one read/write.

Does this happen every time?
Yes

Other information:
Comment 1 Jose Dapena Paz 2006-05-18 15:49:15 UTC
Created attachment 65778 [details] [review]
This patch adds support for AccessibleValue in dogtail

This patch adds support for AccessibleValue in dogtail. It provides access to the AccessibleValue interface in Pyspi (see bug 342266 for a patch providing this support). It adds three attributes for nodes implementing AccessibleValue:
   * currentValue (read/write)
   * minimumValue (read-only)
   * maximumValue (read-only)
Comment 2 Dave Malcolm 2006-06-22 15:53:44 UTC
Patch looks good to me.  

Nitpicking:
(i) looks like the setattr code will need to add some trivial logic to reject attempts to set the max/min value, raising a ReadOnlyError.
(ii) do we like the names of these attributes?  Could they be shorter e.g.:
- value
- maxValue
- minValue
?

Or do we prefer to have consistency with what ATSPI calls them?
Comment 3 Zack Cerza 2006-10-10 21:08:22 UTC
I'd like to have AccessibleValue support in dogtail, but it's just a matter of having Dave's concerns (which I share) addressed. I don't currently have the time.
Comment 4 Fabio Durán Verdugo 2011-02-07 06:05:00 UTC
dogtail development has been stalled and it has been unmaintained for a few
years now.
Maintainers don't have future development plan so i am closing bugs as WONTFIX.
Please feel free to reopen the bugs in future if anyone takes the responsibility for active development.