New issue
Advanced search Search tips

Issue 850641 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Filter toggles behave funny in hosted mode

Reported by ing...@cloudflare.com, Jun 7 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0

Steps to reproduce the problem:
1. Set up devtools in hosted mode.
2. Try to click any item on any filter bar.

What is the expected behavior?
Current item is selected, everything else is cleared.

What went wrong?
Current item becomes enabled, but also all of the other items change their state to the opposite. See the attached screencast for example.

Did this work before? N/A 

Chrome version: 69.0.3451.0  Channel: canary
OS Version: OS X 10.13
Flash Version: 

I have a fix ready, just thought I'd create a bug with a screencast for the reference first.
 
Untitled.mp4
147 KB View Download
Labels: Needs-Triage-M69

Comment 2 by kozy@chromium.org, Jun 11 2018

Owner: eostroukhov@chromium.org
Status: Assigned (was: Unconfirmed)
FWIW the mentioned fix in review is here: https://chromium-review.googlesource.com/#/c/1091312/
Project Member

Comment 4 by bugdroid1@chromium.org, Jun 12 2018

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

commit 447883683661cf3fc7c1296dfa9f379510948ada
Author: Ingvar Stepanyan <ingvar@cloudflare.com>
Date: Tue Jun 12 14:06:28 2018

Fix toggles in hosted mode

 Fix `FilterBar::_update` to pass `false` for disabled items and not
 `undefined` as `classList.toggle` treats them differently.

Bug: 850641
Change-Id: I964c528ad6da495e2fd4078cde415e7cc250a13f
Reviewed-on: https://chromium-review.googlesource.com/1091312
Commit-Queue: Ingvar Stepanyan <ingvar@cloudflare.com>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#566409}
[modify] https://crrev.com/447883683661cf3fc7c1296dfa9f379510948ada/third_party/blink/renderer/devtools/front_end/ui/FilterBar.js

The fix has been merged; not sure if I have rights to close the issue though (don't see any option to do that in UI). 

Comment 6 by muzui...@gmail.com, Jun 14 2018

Oh, finally fix this bug!

I had reported this bug a year ago: https://bugs.chromium.org/p/chromium/issues/detail?id=717426

No idea why not get fixed on that time, just the same one line changed.
Owner: jarhar@chromium.org

Sign in to add a comment