microsoft / microsoft/AzureStorageExplorer

Selection focus jumps to other subscription/storage accounts on keypress

Open
#321 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:grey_question: investigate
Dominant language
No language data
Stars
452
Forks
92
Avg merge
15h 20m
Merged PRs (30d)
3

Description

Storage Explorer Version: 1.1.0
Platform/OS Version: Windows 10
Architecture: ia32

Unable to reproduce, but the issue is dangerous enough that it still merits reporting.

After doing some work in Subscription A for a while, I moved over to Subscription B to do some different work. However, a glitch in the Storage Explorer made it so that every time a button was tapped, regardless of what element the focus was on, the focus would jump back to Subscription A.

For example, if I had 10 tables in A and 10 in B and had the 5th table in B selected, tapping the Up arrow would move the cursor to the 4th table in A. More dangerously, if I tapped the Delete key on the 5th table in B, the cursor would jump to the 5th table in A and then attempt to delete that. In an environment where A and B mirror each other in terms of table structure, this would basically go unnoticed because the table name is the only thing shown in the deletion confirmation.

This error only occurred when the focus was on items in the leftmost navigation pane (ie. arrowing up and down through individual table row entries was fine), but the minute the focus returned to anywhere on the navigation pane, any key presses would cause the focus to jump to Subscription A.

This problem persisted until Storage Explorer was closed, it was consistently reproducible until it was closed.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the navigation-pane focus behavior described for Storage Explorer 1.1.0 on Windows 10, switching between Subscription A and Subscription B. Check whether keypresses after returning focus to the leftmost navigation pane move selection back to Subscription A or target the wrong item for deletion. Done means focus and destructive actions remain with the selected subscription.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.