RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 991165 - Improve row striping to be more dynamic since we can sort on columns after painting the table
Summary: Improve row striping to be more dynamic since we can sort on columns after pa...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Alex Wood
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel70
TreeView+ depends on / blocked
 
Reported: 2013-08-01 18:44 UTC by Matt Reid
Modified: 2014-06-18 00:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 13:19:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Sorted My Subscriptions Table (38.88 KB, image/png)
2013-08-01 18:44 UTC, Matt Reid
no flags Details
Sorted All Available Subscriptions Table (70.38 KB, image/png)
2013-08-01 18:45 UTC, Matt Reid
no flags Details
Alternate striping (889.60 KB, image/png)
2013-11-05 22:28 UTC, Sharath Dwaral
no flags Details

Description Matt Reid 2013-08-01 18:44:11 UTC
Description of problem:
I'm not sure exactly how our tables work, but it seems to me that the row striping is hard coded to the row, and not a property of the table. The striping looks great when the table first loads, but breaks when you apply any sort that will change the ordering. After a sort you end up with clumps of the gray backed rows and clumps of the white backed rows, the table doesn't update the coloring of the rows as they move around in the table after-the-fact.

Ideally, our sort shading wouldn't be the same color as the one we use for our alternating rows. It makes it a little weird when an entire column has the same background color, and then some of the rows carry that color as their background color throughout. We may be better off removing the sort shading if we can, and just relying on the sort indicator we place in the header cell.

Version-Release number of selected component (if applicable):
subscription-manager-1.9.0-1.git

How reproducible:
Always

Steps to Reproduce:
1. Launch subscription-manager-gui, maximize it
2. Go to All Available Subscriptions and click Update to pull down some available subscriptions
3. Click on Subscription or one of the other column headers to apply a new sort to the table

Actual results:
After applying the new sort, the row striping no longer will be every other row, they'll be clumped up in groups

Expected results:
Row striping to stay consistent as you reorder the table, and be a property of the table, not the row (which it seems to be now?)

Additional info:

Comment 1 Matt Reid 2013-08-01 18:44:45 UTC
Created attachment 781711 [details]
Sorted My Subscriptions Table

Comment 2 Matt Reid 2013-08-01 18:45:09 UTC
Created attachment 781712 [details]
Sorted All Available Subscriptions Table

Comment 3 Alex Wood 2013-10-03 13:55:16 UTC
commit 8e4bfb83e7ce73f5dd8b4590bf0d198373ef6806
Author: Alex Wood <awood>
Date:   Mon Aug 12 10:32:00 2013 -0400

    991165: Refresh row striping after the TreeView is resorted.

Comment 6 Sharath Dwaral 2013-11-05 22:28:43 UTC
Created attachment 820051 [details]
Alternate striping

Version 

# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.29-1
subscription-manager: 1.10.5-1.el7
python-rhsm: 1.10.5-1.el7


Verification:

Please see the attachment, 

In "all available subscriptions" striping is based on stackable group subscriptions (which are the same color). So striping is for alternate groups. In "My subscriptions" the striping is also based on stackable group subscriptions (which are the same color).

Verified

Comment 7 Ludek Smid 2014-06-13 13:19:12 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


Note You need to log in before you can comment on or make changes to this bug.