Bug 2100843

Summary: Selecting add connector context menu option opens the side panel of the node
Product: OpenShift Container Platform Reporter: Vikram Raj <viraj>
Component: Dev ConsoleAssignee: Vikram Raj <viraj>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: low Docs Contact:
Priority: medium    
Version: 4.11CC: cjerolim, hsaini, jakumar, nmukherj
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:50:46 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:

Description Vikram Raj 2022-06-24 12:37:20 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Navigate to the Topology page which has at least a node
2. hover over the node and drag the connector and drop 
3. select an option like Import from git
4. come back to the Topology page

Actual results:
Node is selected and the side panel is open.

Expected results:
Node should not be selected on selecting the context menu

Additional info:

Comment 2 Jaivardhan Kumar 2022-09-19 12:45:48 UTC
isn't this an expected behavior based on the current design i.e with https://github.com/openshift/console/pull/10547 last selected node is persisted in session and is shown preselected if the user goes to topology and as in this case hover and drag is a selection event on the node and thus if user presses cancel user is shown with the selected node?

Have attached the gif as well for it. PTAL and let me know your thoughts

Comment 4 Vikram Raj 2022-09-19 15:21:30 UTC
Thank Jai for looking into this issue. In the Topology, when we select any context option by right click on any node which redirects to another page (eg. Edit deployment option) and comes back to the Topology then Node is not selected. But the node gets selected when I select the option from the connector context menu. So, I think it not a expected behavior the node should not be selected on selecting any option from the context menu.

Comment 6 Hemant Saini 2022-10-27 11:29:10 UTC
verified on build version: 4.12.0-0.nightly-2022-10-25-210451
verified on browser: chrome v106

Comment 9 errata-xmlrpc 2023-01-17 19:50:46 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 (Moderate: OpenShift Container Platform 4.12.0 bug fix and security update), 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/RHSA-2022:7399