Skip to content

can't type headers(start with ###) via fcitx #114

Description

@hungtcs

Description

使用fcitx输入法输入标题的时候无法输入

peek 2018-04-02 13-35

Steps to reproduce

  1. open marktext and input a header(start with ###) via fcitx

Versions

  • Mark Text: v 0.8.12
  • OS: Ubuntu 16.04.1

Activity

  1. Jocs commented on Apr 2, 2018

    @Jocs
    Member

    @hungtcs Thanks, I'll download fcitx and test it.

  2. Jocs commented on Apr 2, 2018

    @Jocs
    Member

    @hungtcs 请问下你在使用搜狗输入法的时候也会遇到这种问题吗?

  3. hungtcs commented on Apr 2, 2018

    @hungtcs
    ContributorAuthor

    @Jocs If I type header text first, and then insert ### before the header text may avoid this bug.

    peek 2018-04-02 14-25

  4. hungtcs commented on Apr 2, 2018

    @hungtcs
    ContributorAuthor

    @Jocs 不好意思,搜狗输入法没试过,我使用的是fcitx-pinyin双拼模式自然码。
    不过搜狗法同样是使用的fcitx框架

  5. Jocs commented on Apr 2, 2018

    @Jocs
    Member

    @hungtcs 😢 这一个 bug,总不能让用户先输入文字,再去输入#吧。能帮我测试下搜狗输入法吗?
    mac 上好像没有 fcitx 这个输入法。

  6. hungtcs commented on Apr 11, 2018

    @hungtcs
    ContributorAuthor

    @Jocs 搜狗输入法没有这个问题

  7. Jocs commented on Apr 11, 2018

    @Jocs
    Member

    @hungtcs 我暂时没法安装 fcitx 输入法,你能帮我找下原因吗?bug 应该是在 editor/ 内。

  8. hungtcs commented on Apr 11, 2018

    @hungtcs
    ContributorAuthor

    @Jocs 有时间的话我会的,我猜问题应该与键盘的监听事件有关系

  9. zengyufei commented on Apr 13, 2018

    @zengyufei

    我也是遇到同样的问题,我的是搜狗输入法,换成讯飞输入法就没有这个问题

  10. Jocs commented on Apr 13, 2018

    @Jocs
    Member

    @zengyufei 能提供操作系统和 Mart Text 的版本号吗?还有搜狗输入法的版本号?

    如果确定搜狗输入法也有问题,可以提交一个新的 issue。

  11. hungtcs commented on Apr 18, 2018

    @hungtcs
    ContributorAuthor

    @Jocs 我的输入法不会出现这个问题了,我也不太清楚具体原因。
    前两天我换了google pinyin代替fcitx pinyin(因为其他的原因),google pinyin没有出现上面的问题。
    我昨天fork了项目准备测试,然后刚刚又安装了fcitx-pinyin,但是fcitx pinyin好像是被google-pinyin影响了,它也恢复正常了!下面的图片中可以看到现在fcitx-pinyin输入汉字的时候显示了灰色的预输入文本,之前是不会出现的(可以参考上面的图片,就没有出现)。这与 @zengyufei 的情况应该是同一个问题,因为fcitx并没有提供相应的设置选项,我已经无法复现之前的问题了。如果有在elementary OS上测试或者其他可以帮助您的,请@我

    peek 2018-04-18 11-47

  12. Jocs commented on Apr 18, 2018

    @Jocs
    Member

    @hungtcs 出现灰色文字是编辑器的问题,这是一个比较难优化的地方,但是不影响输入。

  13. hungtcs commented on Apr 18, 2018

    @hungtcs
    ContributorAuthor

    @Jocs 我这里应该是输入法的问题,颜色是编辑器的样式。因为任何可以输入文本的地方都会显示预输入文本

    1

  14. hungtcs commented on Apr 18, 2018

    @hungtcs
    ContributorAuthor

    @Jocs 这应该是正常的。如果输入法没有这种预输入文本,会不会对编辑器的解析造成影响?

  15. Jocs commented on Apr 19, 2018

    @Jocs
    Member

    @hungtcs

    如果有在elementary OS上测试或者其他可以帮助您的,请@我

    非常感谢你愿意为 Mark Text 做贡献,issue 中标记为 bug 或者 help wanted 都是需要解决的问题,如果你有时间的话,可以帮忙看看,如果你有其他想法,欢迎在这儿交流。

  16. Jocs commented on Apr 19, 2018

    @Jocs
    Member

    @hungtcs

    如果输入法没有这种预输入文本,会不会对编辑器的解析造成影响?

    应该不会的

  17. Jocs commented on Apr 23, 2018

    @Jocs
    Member

    @hungtcs 这个问题还存在吗?

  18. hungtcs commented on Apr 24, 2018

    @hungtcs
    ContributorAuthor

    @Jocs 我这里现在是正常的,但是我没有修改任何代码。现在我用fcitx-pinyin、google-pinyin和搜狗输入法都没有问题了。

  19. added a commit that references this issue on May 13, 2026
    85607dd
  20. added a commit that references this issue on Jun 21, 2026
    5729066
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions