New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 613970 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

chrome://tracing: The dialog has too long width

Project Member Reported by hajimehoshi@chromium.org, May 23 2016

Issue description

Version: ToT
OS: Ubuntu Linux x86-64

What steps will reproduce the problem?
(1) Open chrome://tracing
(2) Click "Record" button
(3) Select "Manually select settings" and check all items on the left side
(4) Close the dialog without recording
(5) Re-click "Record" button

What is the expected output?


What do you see instead?
The shown dialog has too long width

Please use labels and text to provide additional information.

 
Cc: primiano@chromium.org
Owner: petrcermak@chromium.org
Petr can you take a look?
Cc: petrcermak@chromium.org
Owner: hajimehoshi@chromium.org
hajimeoshi@: What exactly do you mean by "too long width"? Could you please attach a screenshot?

I tried following the reproduction steps and, although the dialog is a little wider (to cater for the manual config checkboxes), it seems fine to me (see the attached screenshot).
chrome_tracing.png
136 KB View Download
Sure. I also could reproduce it on M50 (stable) on Mac.
tracing_dialog.png
70.4 KB View Download
Cc: hajimehoshi@chromium.org
Owner: primiano@chromium.org
Owner: petrcermak@chromium.org
hajimehoshi@: Thanks! I'll look into it.
I know it sounds silly, but have you tried opening chrome://Tracing and clearning cookies/local storage?
If you at some point did some experiment and by mistaked pushed some very long string in the category name, that is persisted in your cookies (or storage can't remember).
Maybe you just added at some point some TRACE_EVENT(invalid_pointer) which ended up in some loooooooong string :)
Oh, after clearing all cache and cookies (on my ToT chromium), this is not reproduced. Thanks! However, this is still reproduced on an incognito window. Is this expected?
> this is still reproduced on an incognito window

I meant an incognito window of a stable Chrome (M50) without clearing cookies or cache.

Hmm cannot repro on an incognito window. Are you sure that you don't have some other incognito open somewhere else, which would keep your local storage alive (until you close all the incognito windows) ?
I'm sure there were no other incognito windows. I checked that the local storage and the cookie were empty with the inspector.
Hmm does it repro constantly? I tried and it doesn't here.
Maybe you can take a dump of the html via devtools and attach here. I wonder if this is some regional/translation thing going horribly wrong.
> Hmm does it repro constantly? I tried and it doesn't here.

Yes! I can always reproduce this.

> Maybe you can take a dump of the html via devtools and attach here. I wonder if this is some regional/translation thing going horribly wrong.

I attached an HTML and a JavaScript file.



tracing.zip
415 KB Download
Status: Assigned (was: Untriaged)
OK. This is getting really interesting. I can repro this on Mac, but not on Linux (both Chrome stable 50.0.2661.102).

The problem is that the pre-defined list of categories for the "Web developer" preset (which is supposed to be a constant) is modified when the categories are manually edited for some reason. Fixing the issue should just be a matter of copying a list somewhere (rather than passing a reference). I'll try to fix it next week.

Just to clarify: To reproduce this, I had to click on "Edit categories" instead of "Manually select settings".
Project Member

Comment 14 by bugdroid1@chromium.org, Jun 1 2016

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

commit 0020fc2e0570475af620ac7819b89eaa4873d008
Author: catapult-deps-roller <catapult-deps-roller@chromium.org>
Date: Wed Jun 01 10:45:47 2016

Roll src/third_party/catapult/ e288c0d9a..14820dc4a (1 commit).

https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/e288c0d9a188..14820dc4a7cd

$ git log e288c0d9a..14820dc4a --date=short --no-merges --format='%ad %ae %s'

BUG= 613970 

TBR=catapult-sheriff@chromium.org

Review-Url: https://codereview.chromium.org/2031473002
Cr-Commit-Position: refs/heads/master@{#397100}

[modify] https://crrev.com/0020fc2e0570475af620ac7819b89eaa4873d008/DEPS

Status: Fixed (was: Assigned)
This should now be fixed. Please re-open if that's not the case.

Sign in to add a comment