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

Body data editor input error. #1322

Open
MokaCubrew opened this issue Feb 23, 2024 · 3 comments
Open

Body data editor input error. #1322

MokaCubrew opened this issue Feb 23, 2024 · 3 comments
Assignees
Labels
bug Something isn't working need feedback Feedback from the requester/community is needed

Comments

@MokaCubrew
Copy link

Describe the bug

When entering json data into the body, it is entered in a different location from the cursor position. Editing data is too inconvenient in the editor.

Mockoon.webm

Mockoon version:

6.2.0

OS / OS version:

Arch linux

@255kb 255kb added the bug Something isn't working label Apr 8, 2024
@255kb
Copy link
Member

255kb commented Apr 8, 2024

This is an odd bug that I wasn't able to reproduce.

However, I found various similar opened issues on the editor's repository and tried a fix on a new branch.
Could you build the app from this branch and check if it solves your issue?

You will find the required steps in the contributing guidelines. You can try on a packaged application by running npm run package:desktop:linux as a last step.

@255kb 255kb added the need feedback Feedback from the requester/community is needed label Apr 8, 2024
@255kb 255kb self-assigned this Apr 8, 2024
@MokaCubrew
Copy link
Author

Unfortunately, the same symptoms are still appearing. The further to the right I move, the greater the gap between the caret and the actual text input area becomes.

@255kb
Copy link
Member

255kb commented Apr 24, 2024

I just noticed your editor font is not a monospaced one. I'm not sure it's something I can resolve on my side as the editor should be using one of these monospace fonts: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
And when digging deeper, I found many people having issues in arch Linux with font resolving, more precisely, monospace font resolving to Noto Sans, instead of Noto Sans Mono.
Google search on Arch's forum

Could there be a broken font configuration in your system? Thanks for checking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need feedback Feedback from the requester/community is needed
Projects
Status: Analysis/POC
Development

No branches or pull requests

2 participants