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
Wrong cursor position Create a new artifact
editor in Chrome(on macOS)
#3259
Comments
This does not reproduce on an English based system - perhaps it is something specific to unicode fonts? Does it occur in all themes? |
@scudette I have confirmed that this does not occur in the Japanese/Windows/Chrome environment ... I'll check the fonts actually read in the dev console. |
Sorry i meant velociraptor themes. You can change the theme in the user preferences tile |
For reference the ace editor fonts are set here (and not in the CSS):
If the right font is not loaded then you'll definitely have cursor position problems because the ace editor calibrates itself for the font it expects to be using. |
is it possible that on this system there is a system version of Iosevka Term which is different than the one we ship? |
It's possible but unlikely, unless the full font has been installed during troubleshooting. And in that case it might even be a good thing. One of the reasons for using Iosevka is that the full font supports CJK, so if the user is in Japan and the GUI needs to display a CJK glyph other than the most common ones included in our (small) subset, then installing the full font should give it access to the full CJK glyph set. We have an On Firefox the dev tools shows you what font is actually being used. This might help with troubleshooting. |
To summarize what we know so far:
If the issue also occurs with the ncurses theme then we'll know that it's not related to the Iosevka font. |
@scudette @predictiple When I changed user profile themes, I found that it was only occurring in Velociraptor Classic(light). (It seems that I was changing the default themes ...) Is there any other information required for the investigation?
It occurred only with Chrome(on macOS/Japanese) and did not occur in Firefox and Safari. In my environment, I have confirmed that this commit resolves the issue (though it doesn't seem to be a good fix), but would this be helpful in investigating the cause? |
Thanks for doing that testing on all the themes. The Classic theme is quite bare-bones so I think nobody noticed the issue with that theme until now. I believe the issue is that the I'm not sure why it would work on non-Chrome browsers and other OS/language combinations. |
@predictiple |
Should resolve the issue described in #3259
Should resolve the issue described in #3259
Should resolve the issue described in #3259
Hello, Thank you for great project :) I would like to report the following issue that occurred.
Describe the bug
Wrong cursor position
Create a new artifact
editor in Chrome(on macOS).This prevents users from editing
YAML
properly.Step to Reproduce
macOS/Chrome
View Artifacts
-> Click+
(Create a new artifact)name: Custom.Artifact.Name
) and delete the last characterExpected behavior
The last letter
e
is removed as belowname: Custom.Artifact.Nam
Actual behavior
The 7th character
c
from the end is removed as shown below.name: Custom.Artifat.Name
Screenshot
The seventh character
c
from the end is removed as shown below.(note: Cursor position is at the end of line)Environment
Additional context
I have confirmed that this issue does not occur in the following environments. It seems to only occur on Google Chrome on macOS
Similar issue(This may be an issue with
Ace
?):Thank you for your time.
The text was updated successfully, but these errors were encountered: