Bug 1774702

Summary: Navigating from the Dashboard results in two navigation items highlighted
Product: OpenShift Container Platform Reporter: cbritt
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: aos-bugs, jokerman, spadgett, yanpzhan
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Mac OS   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: When a user navigates using a link outside the nav, the last selected nav item maintains focus and therefore maintains its highlight. Consequence: Two items in the nav are highlighted, but only one should be. Fix: Added CSS rules to eliminate the highlighted styles for focused nav items. Result: Only the active nav item is highlighted.
Story Points: ---
Clone Of:
: 1776486 (view as bug list) Environment:
Version: 4.3.0-0.ci-2019-11-20-134433 Cluster ID: c1ba6d4b-e6cd-460b-903a-afef98aec924 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Last Closed: 2020-05-04 11:16:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1776486    
Attachments:
Description Flags
Screenshot of navigation showing two items highlighted none

Description cbritt 2019-11-20 18:26:58 UTC
Created attachment 1638182 [details]
Screenshot of navigation showing two items highlighted

Description of problem:
Following a link from the Dashboard results in two navigation items being highlighted: Dashboard and the destination nav item

Version-Release number of selected component (if applicable):
4.3.0-0.ci-2019-11-20-134433

How reproducible:
Very

Steps to Reproduce:
1. Follow a link on the dashboard, to pods, for example
2.
3.

Actual results:
Both the Dashboard and destination navigation items are highlighted

Expected results:
Only the destination navigation items is highlighted

Additional info:

Comment 1 Robb Hamilton 2019-11-21 14:07:15 UTC
I an unable to reliably reproduce this bug in Chrome 78, Firefox 70.0.1, or Safari 13.0.3 on MacOS 10.15.1.  Any pointers, Cameron?

Comment 2 Robb Hamilton 2019-11-21 14:24:35 UTC
This seems to be specific to Chrome, and does not reproduce consistently.  Therefore, I am reducing the severity.

Comment 3 Robb Hamilton 2019-11-22 16:06:28 UTC
Note `Dashboards` needs to be the last item clicked prior to clicking `Pods` in order to reproduce the bug.

Comment 5 Yanping Zhang 2019-11-26 09:38:50 UTC
payload: 4.4.0-0.nightly-2019-11-26-041012
Checked on ocp 4.4 cluster with above payload version. Browsers cover chrome78 and firefox70. Nav from "Dashboard" to pods/deployments page, only the destination item is highlighted. No other navigation issue is found, so move the bug to Verified.

Comment 7 errata-xmlrpc 2020-05-04 11:16:09 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.

https://access.redhat.com/errata/RHBA-2020:0581