Bug 742033

Summary: Unsubscribe button is not greyed out when nothing is selected
Product: Red Hat Enterprise Linux 6 Reporter: J.C. Molet <jmolet>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2CC: jsefler, lijli, wpoteat
Target Milestone: beta   
Target Release: 6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 773231 (view as bug list) Environment:
Last Closed: 2012-06-20 13:03:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 738066, 756082, 773231    
Attachments:
Description Flags
gryed unsub none

Description J.C. Molet 2011-09-28 20:10:35 UTC
Description of problem:
Due to bug 740831, both the subscription assistant and all-available-subscriptions views grey out the 'subscribe' button when nothing from it's corresponding list is selected.

This now kind of leaves the 'unsubscribe' button as an oddball.  When you don't have any subscription selected you can still click the button, it just does nothing.

In order to give the GUI a cohesive feel, the unsubscribe button should be grayed out when unusable.

Version-Release number of selected component (if applicable):
subscription-manager-gnome-0.96.11-1.git.14.21c378d.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.  Subscribe to one or more subscriptions
2.  go to the my-subscriptions tab
3.  unsubscribe from something
4.  you should now have no items selected
  
Actual results:
the unsubscribe button has state "Sensitive" and is clickable.

Expected results:
the unsubscribe button does not have state "Sensitive" and is grayed out.

Additional info:

Comment 4 J.C. Molet 2012-03-21 16:41:41 UTC
Created attachment 571768 [details]
gryed unsub

fixed as tested in version:
 subscription-manager-gnome-0.99.10-1.git.85.057ca98.el6.x86_64

The unsubscribe button is now properly unclickable when nothing is selected.

marking VERIFIED

Comment 6 errata-xmlrpc 2012-06-20 13:03:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0804.html