Skip to content
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

Move Runtime/Cpu Meters a little to the left in the VS Code extension #935

Closed
HerbieJay opened this issue Dec 18, 2024 · 7 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@HerbieJay
Copy link

When running the simulator in VS Code the runtime/cpu percentage meter are all the way to the right of the frame. When the cpu meter goes from 2 digits (99) to 3 (anything 100 and larger) the frame produces scroll bars for in both the horzinotal and vertical directions. When the simulation keeps running if the cpu percentage drops below 100 the scroll bars disappear. This causes the screen to flicker and is very distracting when watching the simulator run. I am hoping that the information readout can be nudged to the left by a few pixels and hopefully remote this issue from my setup. I am running VS Code on an Macbook Air. Here is the version info incase it maters

Version: 1.96.0 (Universal)
Commit: 138f619c86f1199955d53b4166bef66ef252935c
Date: 2024-12-11T02:29:09.626Z (1 wk ago)
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.2.0

@HerbieJay HerbieJay added the enhancement New feature or request label Dec 18, 2024
@urish urish self-assigned this Dec 20, 2024
@urish
Copy link
Contributor

urish commented Dec 20, 2024

Thanks for reporting - I'm trying to reproduce this behavior, but without luck so far.

Do you get a similar behavior in the online version of wokwi, e.g. https://wokwi.com/projects/new/esp32 ?

@HerbieJay
Copy link
Author

I do not get it using the online editor or the VS Code extension on a windows 11 box. Just on my MacBook Air.

@bobziuchkovski
Copy link

I'm also seeing this on my end. MacOS 14.7 with VSCode 1.96.0 and Wokwi extension 2.6.0. Here's what it looks like: https://youtu.be/NNVVo2RVlus

@HerbieJay
Copy link
Author

Yes! that is exactly what I am seeing on my Mac.

@bobziuchkovski
Copy link

My VSCode font config in case that's also playing a role in this:

    "editor.fontFamily": "Menlo, Consolas, DejaVu Sans Mono, monospace",
    "editor.fontSize": 14,

@urish
Copy link
Contributor

urish commented Dec 26, 2024

Should be fixed now! Can you please test and report?

@bobziuchkovski
Copy link

Confirmed! I no longer see the scrollbars flash on and off. Thanks!

@urish urish closed this as completed Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants