bug: pressing right arrow on the edit java arguments adds the U+001D unicode

未关闭 适合新手
#8,332 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
70/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
rust
领域
desktop, frontend

调研方向

从 Java 和内存设置下的实例设置中的 Java 参数文本字段开始,找到追加所键入字符的 keydown/input 处理程序。通过将光标放在字段末尾并按住右箭头键来复现;该处理程序正在放行一个控制字符(U+001D)。当箭头键在字段边界处被忽略且不插入任何字符,并在应用中手动验证后,即完成。

由索引模型根据 Issue 内容生成。

描述

app
Please confirm the following.
  • I checked the existing issues for duplicate problems
  • I have tried resolving the issue using the support portal
  • I have ensured my Modrinth App installation is up to date
What version of the Modrinth App are you using?

0.23.3

What operating systems are you seeing the problem on?

MacOS

Describe the bug

pressing right arrow key while the cursor is at the end of this box produces a unicode

image
Steps to reproduce
  1. go to an instance settings
  2. click on java and memory settings
  3. hold right arrow when typing in the java arguments box when the cursor is at the very end
Expected behavior

no unicode to appear and nothing to happen

Additional context

low priority

主要语言
Rust
星标
2.5k
派生
663
平均合并
2 天 11 小时
30 天内合并 PR
122

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

modrinth/code 的其他 Issue

查看 modrinth/code 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。