Red Hat Bugzilla – Bug 805594
Multiple "subscribe" buttons that do different things
Last modified: 2012-04-18 23:26:24 EDT
Description of problem:
In subscription-manager-gui, there are multiple buttons named "Subscribe":
- The one in "My Installed Software" which initiates the SLA based auto-subscribe.
- The one in "All Available Subscriptions" used to subscribe to subscriptions
This causes issues with people using the accessibility API as both buttons are direct children of the 'Subscription Manager' window/object and therefore indistinguishable from each other.
This also breaks all automation having to do with subscribing and unsubscribing from individual subscriptions (id est: most tests).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. fire up subscription-manager-gui
2. Navigate to the 'All Available Subscriptions' tab, search and select an item
3. use your favorite at-spi tool to click on the 'Subscribe' button:
python -c "import ldtp; ldtp.click('Subscription Manager','Subscribe')"
The subscribe button under 'My Installed Software' has the same at-spi name as the one under 'All Available Subscriptions', and it gets clicked on, and my system attempts to autosubscribe.
The subscribe button under 'My Installed Software' has a different name and clicking subscribe subscribes me to a subscription.
This would be a great opportunity to change the name of the SLA subscribe to "Autosubscribe" or similar.
"Auto-subscribe" is probably the best choice.
*** This bug has been marked as a duplicate of bug 803374 ***