[GH-ISSUE #2541] switching tab slow #1645

Closed
opened 2026-02-27 00:04:19 +03:00 by kerem · 8 comments
Owner

Originally created by @heaseny on GitHub (Jun 24, 2022).
Original GitHub issue: https://github.com/electerm/electerm/issues/2541

Electerm Version(Electerm版本)

v21.57

Platform detail (平台详情)

Ubuntu 20.04.2 LTS 5.13.0-51-generic #58~20.04.1-Ubuntu SMP Tue Jun 14 11:29:12 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

What steps will reproduce the bug?(重新问题的详细步骤)

create more than 10 terminal connections with new tab for each, then switch to different tabs, you will see the switching time nearly 3 seconds, this is beyond endurance
创建10个tab,每个tab对应一个ssh连接,然后在tab间进行切换,会发现切换时间需要将近3秒,这个切换速度无法忍受
image

What should have happened?(期望的结果)

改进切换terminal tab的速度,控制在1s以内

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

There is no such problem in other terminal apps, such as tabby or Ásbrú Connection Manager
使用tabby或者Ásbrú Connection Manager没有出现这个问题

Additional information(其他任何相关信息)

No response

Originally created by @heaseny on GitHub (Jun 24, 2022). Original GitHub issue: https://github.com/electerm/electerm/issues/2541 ### Electerm Version(Electerm版本) v21.57 ### Platform detail (平台详情) Ubuntu 20.04.2 LTS 5.13.0-51-generic #58~20.04.1-Ubuntu SMP Tue Jun 14 11:29:12 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ### What steps will reproduce the bug?(重新问题的详细步骤) create more than 10 terminal connections with new tab for each, then switch to different tabs, you will see the switching time nearly 3 seconds, this is beyond endurance 创建10个tab,每个tab对应一个ssh连接,然后在tab间进行切换,会发现切换时间需要将近3秒,这个切换速度无法忍受 ![image](https://user-images.githubusercontent.com/35910818/175482417-c1ad2ff6-f873-420f-833c-6b501ba85380.png) ### What should have happened?(期望的结果) 改进切换terminal tab的速度,控制在1s以内 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) There is no such problem in other terminal apps, such as tabby or Ásbrú Connection Manager 使用tabby或者Ásbrú Connection Manager没有出现这个问题 ### Additional information(其他任何相关信息) _No response_
kerem closed this issue 2026-02-27 00:04:19 +03:00
Author
Owner

@zxdong262 commented on GitHub (Jun 24, 2022):

Can you try latest release?

<!-- gh-comment-id:1165349399 --> @zxdong262 commented on GitHub (Jun 24, 2022): Can you try latest release?
Author
Owner

@ouyangxudu commented on GitHub (Jun 28, 2022):

I met this issue too, the latest version v1.21.88, mac

<!-- gh-comment-id:1168193733 --> @ouyangxudu commented on GitHub (Jun 28, 2022): I met this issue too, the latest version v1.21.88, mac
Author
Owner

@heaseny commented on GitHub (Jun 29, 2022):

@zxdong262 this issue also exists with v1.21.88 on Ubuntu 20.04.2 LTS

<!-- gh-comment-id:1169663888 --> @heaseny commented on GitHub (Jun 29, 2022): @zxdong262 this issue also exists with v1.21.88 on Ubuntu 20.04.2 LTS
Author
Owner

@zxdong262 commented on GitHub (Jul 24, 2022):

Should be fixed in latest release v1.22.1+

<!-- gh-comment-id:1193274353 --> @zxdong262 commented on GitHub (Jul 24, 2022): Should be fixed in latest release v1.22.1+
Author
Owner

@heaseny commented on GitHub (Jul 25, 2022):

@zxdong262 It's a little quicker than before within 10 tabs with v1.22.1, but the switching time will increase to 3s when there are 15+ tabs.
Thank you very much for fixing this, a greater improvement is also looked forwarding to .

<!-- gh-comment-id:1193612262 --> @heaseny commented on GitHub (Jul 25, 2022): @zxdong262 It's a little quicker than before within 10 tabs with v1.22.1, but the switching time will increase to 3s when there are 15+ tabs. Thank you very much for fixing this, a greater improvement is also looked forwarding to .
Author
Owner

@heaseny commented on GitHub (Aug 4, 2022):

This issue disappears with v1.22.20, this is really exciting. @zxdong262 Thanks a lot for fixing it.

<!-- gh-comment-id:1204871899 --> @heaseny commented on GitHub (Aug 4, 2022): This issue disappears with v1.22.20, this is really exciting. @zxdong262 Thanks a lot for fixing it.
Author
Owner

@zxdong262 commented on GitHub (Aug 4, 2022):

This issue disappears with v1.22.20, this is really exciting. @zxdong262 Thanks a lot for fixing it.

Thank you for letting me know, also please try 1.22.30

<!-- gh-comment-id:1204954237 --> @zxdong262 commented on GitHub (Aug 4, 2022): > This issue disappears with v1.22.20, this is really exciting. @zxdong262 Thanks a lot for fixing it. Thank you for letting me know, also please try 1.22.30
Author
Owner

@heaseny commented on GitHub (Aug 5, 2022):

@zxdong262 I just try with 1.22.30, and it is also excellent one in switching tabs, but after it's running several hours, it will take about 30% cpu load.

<!-- gh-comment-id:1205967378 --> @heaseny commented on GitHub (Aug 5, 2022): @zxdong262 I just try with 1.22.30, and it is also excellent one in switching tabs, but after it's running several hours, it will take about 30% cpu load.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1645
No description provided.