-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right-clicking table entities for delete selects two rows #2107
Comments
Could you please give more detailed steps to reproduce the bug? |
Sorry had these details in html comments. |
Replied on GitHub
…On Mon, Oct 21, 2019 at 12:43 PM JasonYeMSFT ***@***.***> wrote:
Could you please give more detailed steps to reproduce the bug?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2107?email_source=notifications&email_token=AAK5TPWPTMAXRCIMDGG2EXLQPXL3DA5CNFSM4JB6EB62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB27TRI#issuecomment-544602565>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAK5TPRKVMGZWSUJT35OEULQPXL3DANCNFSM4JB6EB6Q>
.
|
Could you please attach a screenshot or a recording showing the bug you are describing? We are having trouble reproducing this issue. |
See attached screenshot
…On Tue, Nov 5, 2019 at 5:09 PM JasonYeMSFT ***@***.***> wrote:
Could you please attach a screenshot or a recording showing the bug you
are describing? We are having trouble reproducing this issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2107?email_source=notifications&email_token=AAK5TPVZAKBHKSW5KPUVAOTQSHVINA5CNFSM4JB6EB62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDEQKGA#issuecomment-550044952>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAK5TPSUNFWXNMS7N6M2YCLQSHVINANCNFSM4JB6EB6Q>
.
|
We don't see a screenshot. You need to paste it directly into your github comment. Attaching it to your email reply won't work. |
Hope this works |
Thanks. We understand the issue and will look into getting this fixed. |
Unable to reproduce this issue on 1.14.2. When I try right-clicking an item different than the current selection, the current selection is set to that item as expected. @cliffeby Can you reproduce on the latest version (1.14.2) of Storage Explorer? @v-xianya Can you try reproducing this issue as well? |
This is a video showing both issues. |
@cliffeby The jump to the top of the page is by design. All of our editors do that. As far as the double-selection is concerned, I finally got it to repro. I think I know what's happening. The Delete command, of course, opens a confirmation dialog before proceeding. There's often a (very) short delay between when the command is triggered and the dialog opens. During that delay, the editor can still respond to UI events. In this case, a few things are happening:
It just so happens the colors we use for row hover color and row unfocused/selected states are the same color, which is probably where the confusion is coming from. In reality, only one item is selected. If you cancel the confirmation dialog, you should notice the UI update the row hover. Two possible solutions:
@jinglouMSFT @MRayermannMSFT @JasonYang-MSFT Thoughts? |
@craxal @jinglouMSFT @MRayermannMSFT @JasonYang-MSFT Regarding options, I'd prefer style/color difference as long as it's obvious which is going to be deleted.. For the second possible solution, if the confirmation dialog notes one row to be deleted and two are highlighted, which one is it? Regarding standard editor behavior, I'm not sure why a jump to the top of the page is desired. Why would I want to go to the top of a page? Could you imagine that behavior in VSCode, Excel or Word? |
@cliffeby We try to emulate behaviors observed in File Explorer on Windows or Finder on Mac. Both File Explorer and Finder move the selection to the next item when deleting, so that's something we can look into. If could please open a separate bug for that, we'd greatly appreciate it! |
Storage Explorer Version: 1.10.1
Build Number: 201990919.2
Platform/OS: Windows 10?
Architecture: x64?
Regression From: no
Bug Description
When you right click to delete a table row, the selected and the mouse located rowsare highlighted. Confirming the delete only removes the initially selected row as it should, but the warning message with two rows identified is misleading.
Steps to Reproduce
Expected Experience
highlight only one selected row or use a bold color for the selected row.
Actual Experience
Additional Context
The text was updated successfully, but these errors were encountered: