New issue
Advanced search Search tips

Issue 856698 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 30
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression


Show other hotlists

Hotlists containing this issue:
MacViewsBrowser-RS


Sign in to add a comment

[MacViews] Multiple Selection doesn't work with CMD-Clicks

Project Member Reported by meh...@chromium.org, Jun 26 2018

Issue description

Chrome Version: 69.0.3473.0 Canary
OS: macOS 10.13.5 (maybe OS=All)

What steps will reproduce the problem?
(1) Open some tabs in a window.
(2) Try to CMD-CLick some of the tabs for a multiple selection.

What is the expected result?
They should be multiple selected.

What happens instead?
Multiple selection doesn't work.

This is working fine under Cocoa-Mode.

(Not sure, if this is also an issue on other platforms. If yes, not sure, which key-press should be used for the selection on the other platform.)

Thanks
Mehmet

 
Cc: robliao@chromium.org
Status: Assigned (was: Untriaged)
[mac bug triage] Assigning to spqchan@ to have a look
Owner: spqc...@chromium.org
Labels: Group-MacOS_Platform_Integration_and_Participation
Cc: sdy@chromium.org
 Issue 873734  has been merged into this issue.
Labels: -Type-Bug Target-70 M-70 Type-Bug-Regression
keywords: discontiguous non-adjacent selection
Owner: ----
Status: Untriaged (was: Assigned)
Owner: a...@chromium.org
Status: Assigned (was: Untriaged)
mac triage: to avi@ - can we fix this for M70?
Discontiguous selection works on Windows with the control key.
TabStrip::SelectTab is getting called twice for each click; once on mouse down and once on mouse-up.

Not clear if that's the case on Windows.
This does happen on Windows too. This is clearly a bug.
@10/11: I think you're discovering bug 869488.
@pkasting: probably. I'll need to fix the selection change on mouse-up to implement this, so I'll rope in that bug.
@pkasting: I left a comment on that other bug, but I think I can implement this without fixing that bug.
Status: Started (was: Assigned)
Project Member

Comment 16 by bugdroid1@chromium.org, Aug 30

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0361c898793cc63be2406c036bc64c3d0941be82

commit 0361c898793cc63be2406c036bc64c3d0941be82
Author: Avi Drissman <avi@chromium.org>
Date: Thu Aug 30 18:01:41 2018

Use command rather than control in the tabstrip on the Mac.

With Views, the control key is used for manipulating
selection in the tabstrip. Given the platform convention
on the Mac of using the command key for this, as well as
how on the Mac a control-click triggers a contextual menu
invocation, switch to a command key in those cases.

BUG= 856698 

Change-Id: Ic4d04f092503792da3b9bde8d6b6ed2800956697
Reviewed-on: https://chromium-review.googlesource.com/1195823
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587657}
[modify] https://crrev.com/0361c898793cc63be2406c036bc64c3d0941be82/chrome/browser/ui/views/tabs/tab.cc

Status: Fixed (was: Started)
Labels: TE-Verified-M70 TE-Verified-70.0.3538.0
Able to reproduce the issue on build without fix #69.0.3473.0 using Mac OS 10.13.6 as per comment #0.

Verified the fix on Mac 10.13.6 as per comment#0 on chrome version #70.0.3538.0.
Attaching screen cast for reference.
Observed that multiple tabs get selected by performing command+click.
Adding the verified labels.

Thanks...!!
856698_with-fix.mp4
1.6 MB View Download

Sign in to add a comment