Skip to content

[Bug]: The dev tools cannot display the style of the selected element #36844

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

Closed
3 tasks done
bayun2 opened this issue Jan 10, 2023 · 3 comments
Closed
3 tasks done

[Bug]: The dev tools cannot display the style of the selected element #36844

bayun2 opened this issue Jan 10, 2023 · 3 comments
Labels

Comments

@bayun2
Copy link

bayun2 commented Jan 10, 2023

Preflight Checklist

Electron Version

22.0.0

What operating system are you using?

macOS

Operating System Version

macOS Ventura 13.0.1

What arch are you using?

x64

Last Known Working Electron version

21.0.1

Expected Behavior

The dev tools can display the style of the selected element

Actual Behavior

The dev tools cannot display the style of the selected element
image

The terminal displays the following error
image

It seems that when devtools detects the style conflict prompt again, there is an internal js variable that is not defined and throws an error.

devtools has modified this variable, I don’t know whether it can be fixed by upgrading the version of devtools built in electron

image

Testcase Gist URL

No response

Additional Information

No response

@codebytere codebytere added the blocked/need-repro Needs a test case to reproduce the bug label Jan 10, 2023
@github-actions
Copy link
Contributor

Hello @bayun2. Thanks for reporting this and helping to make Electron better!

Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

Now adding the blocked/need-repro label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

@bayun2
Copy link
Author

bayun2 commented Jan 10, 2023

I have found the problem
image

devTools only updated the language pack of us,so when I use the Chinese mode,cause the above bug

I think this should be a devTools bug

@github-actions github-actions bot removed the blocked/need-repro Needs a test case to reproduce the bug label Jan 11, 2023
@codebytere
Copy link
Member

codebytere commented Jan 12, 2023

@bayun2 you should likely open this as a bug on Chromium - https://crbug.com

@codebytere codebytere closed this as not planned Won't fix, can't repro, duplicate, stale Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants