Skip to content

【Bug】VS Code 插件经常出现单个会话标签宽度占满整个标签栏 #2873

@CanaanAmber

Description

@CanaanAmber

What happened?

Image

在使用 Qwen Code 的 VS Code 插件时,我发现插件生成的会话标签存在 UI 布局 Bug。

具体表现为:单个会话的标签宽度没有进行最大宽度限制,输入较长时,标签宽度会横向无限延伸并占满整个 VS Code 的标签栏区域,无法正常查看和切换其他标签页,严重影响了编辑器的使用体验。

What did you expect to happen?

宽度限制:会话标签应该设定一个合理的固定最大宽度。
文字截断:当会话标题过长时,应当以省略号(...)的形式进行截断。
一致性:标签的交互表现应当与 VS Code 原生的编辑器标签页(Editor Tabs)保持一致,不应遮挡或挤压其他 UI 元素。

Client information

Windows平台,qwenlm.qwen-code-vscode-ide-companion插件,0.14.0版本

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Labels

status/needs-triageIssue needs to be triaged and labeledtype/bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions