Issue metadata
Sign in to add a comment
|
Cannot inspect element when launching Chrome from the terminal for new macs
Reported by
tinga...@gmail.com,
Apr 19 2017
|
||||||||||||||||||||||||
Issue descriptionOriginal issue: https://bugs.chromium.org/p/chromedriver/issues/detail?id=1711#c13 We have some issues running ChromeDriver, which launches Chrome with some additional flags. There appears to be some issues with newly formated Mac:s. If you format your mac, i.e. make a clean install and install Chrome. You seem to not be able to launch Chrome from your terminal /Applications/Google Chrome.app/Contents/MacOS/Google Chrome without grahphical glitches, you cannot also inspect elements. The graphical glitches doesn't appear on Chrome Canary though. Though you still cannot inspect element and select them using the inspector. No blue highlight is showing when you use the inspector and hover over some element. No blu highlight is showing when you select the element on the elements tab in the devtools. Please see the original issue for more info.
,
May 2 2017
This seems to have something to do with composition and not the DevTools...
,
May 2 2017
This is another Mac 10.12 issue, it seems. The problem goes away with --disable-gpu, so passing to the GPU team for triage.
,
May 2 2017
>The problem goes away with --disable-gpu, so passing to the GPU team for triage Not entirely, you cannot highlight elements using the inspector on hover or select the elements on the DOM tree in the elements tab. Which practically, makes our productivity reaching zero.
,
May 5 2017
I think that comment #3 was made in error (maybe intended for a different bug).
,
May 10 2017
ccameron@: Check out the bug linked at the top. It sounds like --disable-gpu fixed most of the problem for many people.
,
May 10 2017
Instead of --disable-gpu, can you try the following flags --disable-mac-overlays and also --disable-gpu-rasterization Try them separately and together.
,
May 23 2017
tingan87@, can you please update thread per c#7?
,
May 24 2017
Just to update, I got a new MacBook Air OS version 10.12.4 and this worked fine and I was able to launch chrome from the terminal and devtool blue highlight was seen on mouse hovering over elements. Tested on chrome Dev version: 60.0.3107.4 and stable version: 58.0.3029.110.
,
Jun 15 2017
Even though the title does not reveal it clearly: this bug is also about graphical glitches. (See “Original issue” mentioned by the reporter.)
On my Mac (Mac mini (end 2014)) I drew the following conclusions:
- I updated the OS from 10.11 to 10.12.5, but that had no influence on the graphic problems
- the problem is visible with Chrome v59
- starting Chrome via spotlight (and not from a terminal) never revealed any graphic or other problems, even though --disable-gpu or any other custom command line arguments were not active (checked with chrome://version)
- starting Chrome on the terminal without command line arguments resulted in graphic glitches on different web pages
- apart from graphic glitches, mouse clicks did not work on some web pages(!)
- starting Chrome on the terminal with --disable-gpu-rasterization resolved the graphic glitches!
- the mouse interaction problems stayed, but the affected web pages changed in a seemingly non-determinable manner
- the switch --disable-mac-overlays seemed to have no effect (neither with, nor without --disable-gpu-rasterization)
- the switch --whatever-I-write had no effect either → it is hard to tell which command line arguments Chrome understands
I don’t understand why starting from the terminal and via spotlight is of any difference. Is there a way to start Chrome from the terminal like a “normal” start? Can I start “terminal-Chrome” from spotlight?
To me it seems that starting Chrome via spotlight either makes Chrome disable GPU rasterization automatically, or to do it in a different (working) manner. How can I investigate this better? :-o
,
Jun 19 2017
Since we are unable to repro this, requesting ccameron@ for help in triaging this better and more inputs as per C#10.
,
Jun 26 2017
Thanks for the feedback. Could you please upload a copy of the output from "chrome://gpu" in both scenarios (from spotlight, and from command line while broken)? Thanks!
,
Jun 26 2017
Setting to Internals>GPU>Rasterization based on the comment in #10 that --disable-gpu-rasterization fixed the glitches.
,
Jun 26 2017
I believe this is fixed in M60 (duplicate of isssue 711683). If you're able to, can you check whether this reproduces in Beta? |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by ajha@chromium.org
, Apr 24 2017Labels: TE-NeedsTriageHelp OS-Mac