JetBrainsRuntime icon indicating copy to clipboard operation
JetBrainsRuntime copied to clipboard

The input of Linux Fcitx displays abnormally

Open Deathef opened this issue 3 years ago • 16 comments

OS: Ubuntu 20.04 IDEA: 2021.1.3 Runtime Version: 11.0.11+9-b1341.60 amd64

This problem existed in the 2020.1 version, and it was not fixed until the 2021.1.3 version. This is a serious bug that affects usage. Some developers in the community have provided patches to fix this problem. When can the official incorporate this patch?

Deathef avatar Jun 30 '21 02:06 Deathef

Thank you for submitting the issue. We regret the inconvenience caused to you.

Could you please provide us with the detailed description of the problem & steps reproducing this issue?

Some developers in the community have provided patches to fix this problem.

Unfortunately we have got neither pull requests related to this issue nor patches in any other format. Any references to these fix would be appreciated?

vprovodin avatar Jun 30 '21 03:06 vprovodin

Thank you for submitting the issue. We regret the inconvenience caused to you.

Could you please provide us with the detailed description of the problem & steps reproducing this issue?

Some developers in the community have provided patches to fix this problem.

Unfortunately we have got neither pull requests related to this issue nor patches in any other format. Any references to these fix would be appreciated?

Use any fcitx input. When inputting Chinese or Japanese in IDEA, the input software cannot get the focus position of the cursor. This patch is not provided by me, sorry I can’t submit a pull requests. But I can provide a git repository of patches. https://github.com/prehonor/myJetBrainsRuntime

Deathef avatar Jun 30 '21 05:06 Deathef

I saw a lot of people in the issue and I encountered the same problem.

Deathef avatar Jun 30 '21 05:06 Deathef

I encountered the same problem.

senluowx avatar Jul 08 '21 03:07 senluowx

I encountered the same problem.

ExplodingDragon avatar Aug 05 '21 07:08 ExplodingDragon

I encountered the same problem.

moxi-born avatar Aug 14 '21 03:08 moxi-born

Have the same issue.

ghost avatar Oct 22 '21 02:10 ghost

I have the same problem

Voghost avatar Oct 27 '21 01:10 Voghost

me too.

winlans avatar Oct 27 '21 01:10 winlans

I have the same problem

loveyu avatar Oct 28 '21 10:10 loveyu

俺也一样

wbbo avatar Dec 08 '21 13:12 wbbo

This bug exits with 8 years and with another 6 month passed,it hasn't been fixed yet.This is the discussion about this bug https://youtrack.jetbrains.com/issue/JBR-2460

moxi-born avatar Dec 11 '21 12:12 moxi-born

Unfortunately, this is an upstream OpenJDK bug. Even my own Java window program has this problem. The patch mentioned above can solve both JetBrains softwares and my own one. I guess not only should we ask JetBrians to add that patch but also we should complain that to upstream OpenJDK and Oracle, since if they do not fix it at the upstream, this bug will always be there for Java 17, 21, 28, and so on...

FMs-HanTetsusen avatar Dec 15 '21 13:12 FMs-HanTetsusen

别抱怨了,实际上人民应该付出行动来修正。有没有人提交过pull request。

ghost avatar Dec 17 '21 00:12 ghost

same problem,please fix it

jimersylee avatar Jun 27 '22 07:06 jimersylee

Unfortunately, this is an upstream OpenJDK bug. Even my own Java window program has this problem. The patch mentioned above can solve both JetBrains softwares and my own one. I guess not only should we ask JetBrians to add that patch but also we should complain that to upstream OpenJDK and Oracle, since if they do not fix it at the upstream, this bug will always be there for Java 17, 21, 28, and so on...

I was going to submit feedback to OpenJDK, but I saw this feedback in OpenJDK's Issue, JDK-8279052.

Deathef avatar Jun 28 '22 03:06 Deathef

now the problem is nobody PR. I hope somebody do this

aohanhongzhi avatar Apr 01 '23 03:04 aohanhongzhi

@NikitkoCent Could you please take a look at suggested patches fixing this issue

This patch is not provided by me, sorry I can’t submit a pull requests. But I can provide a git repository of patches. https://github.com/prehonor/myJetBrainsRuntime

vprovodin avatar Apr 02 '23 02:04 vprovodin

Could you please report using our bug database https://youtrack.jetbrains.com/issues/JBR

avu avatar Apr 03 '23 10:04 avu

Could you please report using our bug database https://youtrack.jetbrains.com/issues/JBR

Actually, this bug is reported almost 10 years ago. See https://youtrack.jetbrains.com/issue/JBR-2460. And the bug is still not fixed.

Bryan2333 avatar Apr 09 '23 15:04 Bryan2333

I have the same problem

hellolxc avatar May 05 '23 13:05 hellolxc

i have the same problem

M4n5ter avatar May 06 '23 02:05 M4n5ter

Could you please report using our bug database https://youtrack.jetbrains.com/issues/JBR

Could you please merge this patch so we can close this issue

ihipop avatar May 08 '23 06:05 ihipop

I encountered the same problem. I searched for various solutions on the Internet and found a patch in the community: https://github.com/prehonor/myJetBrainsRuntime However, because the patch is too old and cannot be used directly in the current version of the code, I compared the patch modifications and manually modified the same content in the latest version submission (50933cd23e3c65a4c4ab2f10cc3f230706ab1719), and ensured successful compilation. For this purpose, I forked a warehouse for reference only: https://github.com/Yu-Xiao-Sheng/JetBrainsRuntime/tree/jbr17

At the same time, I generated a new patch file based on the changed content. The file FixedLinuxFcitx.patch is located in the jbr17 branch of the warehouse. I hope it can be helpful to you.

If the JetBrains/JetBrainsRuntime warehouse continues to be updated in the future, I think a convenient way is to merge the contents of the two warehouses JetBrains/JetBrainsRuntime and Yu-Xiao-Sheng/JetBrainsRuntime and recompile, but the validity of subsequent changes cannot be guaranteed.

Sorry I can't submit a pull request, I don't know much about it yet.

Yu-Xiao-Sheng avatar Jan 12 '24 06:01 Yu-Xiao-Sheng

I encountered the same problem. I searched for various solutions on the Internet and found a patch in the community: https://github.com/prehonor/myJetBrainsRuntime However, because the patch is too old and cannot be used directly in the current version of the code, I compared the patch modifications and manually modified the same content in the latest version submission (50933cd), and ensured successful compilation. For this purpose, I forked a warehouse for reference only: https://github.com/Yu-Xiao-Sheng/JetBrainsRuntime/tree/jbr17

At the same time, I generated a new patch file based on the changed content. The file FixedLinuxFcitx.patch is located in the jbr17 branch of the warehouse. I hope it can be helpful to you.

If the JetBrains/JetBrainsRuntime warehouse continues to be updated in the future, I think a convenient way is to merge the contents of the two warehouses JetBrains/JetBrainsRuntime and Yu-Xiao-Sheng/JetBrainsRuntime and recompile, but the validity of subsequent changes cannot be guaranteed.

Sorry I can't submit a pull request, I don't know much about it yet.

They have already had an official try on this issue https://youtrack.jetbrains.com/issue/JBR-2460/Wrong-position-of-input-window-and-no-input-preview-with-fcitx-and-ubuntu-13.04

it's Fixed in JBR builds: jbr17.1162.7

ihipop avatar Jan 12 '24 06:01 ihipop

I encountered the same problem. I searched(搜索) for various solutions on the Internet and found(发现) a patch(补丁) in the community(社区): https://github.com/prehonor/myJetBrainsRuntime我遇到了同样的问题。我在互联网上搜索了各种解决方案,并在社区中找到了一个补丁:https://github.com/prehonor/myJetBrainsRuntime However, because the patch(补丁) is too old and cannot be used(使用) directly(直接) in the current(当前) version(版本) of the code(代码), I compared the patch(补丁) modifications and manually modified the same content(内容) in the latest version(版本) submission (50933cd), and ensured successful(成功) compilation. For this purpose(宗旨), I forked a warehouse(仓库) for reference(参考) only: https://github.com/Yu-Xiao-Sheng/JetBrainsRuntime/tree/jbr17但是,由于补丁太旧,无法在当前版本的代码中直接使用,所以我在最新版本提交( 50933cd )中对比了补丁修改并手动修改了相同的内容,并确保编译成功。为此,我分叉了一个仓库仅供参考:https://github.com/Yu-Xiao-Sheng/JetBrainsRuntime/tree/jbr17

At the same time, I generated a new patch(补丁) file based on the changed content(内容). The file FixedLinuxFcitx.patch is located in the jbr17 branch(分公司) of the warehouse(仓库). I hope it can be helpful(乐于助人) to you.同时,我根据更改的内容生成了一个新的补丁文件。该文件 FixedLinuxFcitx.patch 位于仓库的 jbr17 分支中。希望对您有所帮助。

If the JetBrains/JetBrainsRuntime warehouse(仓库) continues to be updated in the future(未来), I think a convenient(方便) way is to merge(合并) the contents(内容) of the two warehouses(仓库) JetBrains/JetBrainsRuntime and Yu-Xiao-Sheng/JetBrainsRuntime and recompile, but the validity(有效性) of subsequent(后续) changes cannot be guaranteed.如果以后仓库继续更新,我觉得方便的办法是合并两个 JetBrains/JetBrainsRuntime 仓库的内容 JetBrains/JetBrainsRuntimeYu-Xiao-Sheng/JetBrainsRuntime 然后重新编译,但后续更改的有效性无法保证。

Sorry I can't submit(提交) a pull request(请求), I don't know much about it yet.对不起,我无法提交拉取请求,我还不太了解。

This problem has been fixed in the official repository

aohanhongzhi avatar Jan 12 '24 06:01 aohanhongzhi

I encountered the same problem. I searched for various solutions on the Internet and found a patch in the community: https://github.com/prehonor/myJetBrainsRuntime However, because the patch is too old and cannot be used directly in the current version of the code, I compared the patch modifications and manually modified the same content in the latest version submission (50933cd), and ensured successful compilation. For this purpose, I forked a warehouse for reference only: https://github.com/Yu-Xiao-Sheng/JetBrainsRuntime/tree/jbr17我遇到了同样的问题。我在网上搜索了各种解决方案,在社区里找到了一个补丁: https://github.com/prehonor/myJetBrainsRuntime 但是,由于补丁太旧,无法在当前版本的代码中直接使用,所以我对比了补丁修改,并在最新版本提交(50933cd)中手动修改了相同的内容,并确保编译成功。为此,我分叉了一个仓库仅供参考:https://github.com/Yu-Xiao-Sheng/JetBrainsRuntime/tree/jbr17 At the same time, I generated a new patch file based on the changed content. The file FixedLinuxFcitx.patch is located in the jbr17 branch of the warehouse. I hope it can be helpful to you.同时,我根据更改的内容生成了一个新的补丁文件。该文件 FixedLinuxFcitx.patch 位于仓库的 jbr17 分支中。希望对您有所帮助。 If the JetBrains/JetBrainsRuntime warehouse continues to be updated in the future, I think a convenient way is to merge the contents of the two warehouses JetBrains/JetBrainsRuntime and Yu-Xiao-Sheng/JetBrainsRuntime and recompile, but the validity of subsequent changes cannot be guaranteed.如果以后仓库继续更新,我觉得方便的办法是合并两个 JetBrains/JetBrainsRuntime 仓库的内容 JetBrains/JetBrainsRuntimeYu-Xiao-Sheng/JetBrainsRuntime 然后重新编译,但后续更改的有效性无法保证。 Sorry I can't submit a pull request, I don't know much about it yet.对不起,我无法提交拉取请求,我还不太了解。

They have already had an official try on this issue https://youtrack.jetbrains.com/issue/JBR-2460/Wrong-position-of-input-window-and-no-input-preview-with-fcitx-and-ubuntu-13.04他们已经对这个问题进行了正式尝试 https://youtrack.jetbrains.com/issue/JBR-2460/Wrong-position-of-input-window-and-no-input-preview-with-fcitx-and-ubuntu-13.04

it's Fixed in JBR builds: jbr17.1162.7它在 JBR 版本中已修复:jbr17.1162.7

Great, it turned out to be recently fixed!

Yu-Xiao-Sheng avatar Jan 12 '24 07:01 Yu-Xiao-Sheng

@Yu-Xiao-Sheng try 2023.3.2, it just works like a charm

ihipop avatar Jan 12 '24 07:01 ihipop

@Yu-Xiao-Sheng try 2023.3.2, it just works like a charm试试 2023.3.2,它就像一个魅力

Yes, I am using Intellij IDEA2023.3.2 on Ubuntu22.04. Unfortunately, I also encountered this problem. Apart from this problem, it works really well.

image

I'm not sure if it's normal for other people to be in this kind of environment

Yu-Xiao-Sheng avatar Jan 12 '24 07:01 Yu-Xiao-Sheng

@Yu-Xiao-Sheng try 2023.3.2, it just works like a charm试试 2023.3.2,它就像一个魅力

Yes, I am using Intellij IDEA2023.3.2 on Ubuntu22.04. Unfortunately, I also encountered this problem. Apart from this problem, it works really well.

image

I'm not sure if it's normal for other people to be in this kind of environment

which input method are you using? ibus or fcitx5?

What's your JBR version of Intellij IDEA 2023.3.2 ? I've tried PHPStorm/Goland/Ride 2023.3.2, both works well with fcitx5

can you paste the output of this command ?

env |grep -i IM_ 

ihipop avatar Jan 12 '24 07:01 ihipop