Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 清空当前会话消息快捷键无响应 #4611

Closed
kindmesdilabso opened this issue Nov 5, 2024 · 6 comments
Closed

[Bug] 清空当前会话消息快捷键无响应 #4611

kindmesdilabso opened this issue Nov 5, 2024 · 6 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@kindmesdilabso
Copy link

📦 部署环境

Docker

📌 软件版本

v1.27.1

💻 系统环境

Windows

🌐 浏览器

Chrome, Edge

🐛 问题描述

在单轮对话不想继续进行的时候 使用快捷键 ctrl + alt + backspace 无响应,没有办法清空当前会话消息
已经尝试了多台不同的电脑访问均无法清空当前会话消息

📷 复现步骤

打开网页,任意助手对话一句
按下 ctrl + alt + backspace 组合键

🚦 期望结果

和以前一样能够清空当前会话的消息

或者可以提供自定义快捷键

📝 补充信息

似乎快捷键被不知名程序占用
使用OpenArk查找 提示是系统的一个叫csrss.exe 的占用了这个热键

@kindmesdilabso kindmesdilabso added the 🐛 Bug Something isn't working | 缺陷 label Nov 5, 2024
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Nov 5, 2024
@lobehubbot
Copy link
Member

👀 @kindmesdilabso

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


📦 Deployment environment

Docker

📌 Software version

v1.27.1

💻 System environment

Windows

🌐 Browser

Chrome, Edge

🐛 Problem description

When you do not want to continue a single-round conversation, use the shortcut keys ctrl + alt + backspace. There is no response, and there is no way to clear the current conversation messages.
I have tried accessing from multiple different computers but cannot clear the current session messages.

📷 Steps to reproduce

Open a web page and talk to any assistant
Press ctrl + alt + backspace key combination

🚦 Expected results

Ability to clear the current session's messages as before

Or you can provide custom shortcut keys

📝 Supplementary information

It seems that the shortcut keys are occupied by unknown programs
Use OpenArk to search. The prompt is that a system called csrss.exe occupies this hot key

Copy link

dosubot bot commented Nov 5, 2024

Hello, @kindmesdilabso! I'm here to help you with any bugs, questions, or contributions. Let me know how I can assist you with the issue you've posted.

I couldn't find any specific section in the codebase where the ctrl + alt + backspace hotkey is defined or handled, nor any event listeners or handlers that might interfere with it [1]. Additionally, there is no documentation or comments regarding potential conflicts with system processes for hotkeys like csrss.exe [1].

However, there is a fallback mechanism for clearing the current session if the hotkey fails. The clearSessions method in the SessionAction interface can be used to reset sessions to default. This method is triggered in the user interface by a button, which can be used as an alternative to manually clear the sessions [2][3].

If the hotkey conflict persists, you might consider customizing the hotkeys. The hotkeys are defined in the src/const/hotkeys.ts file, which allows for customization of hotkeys such as regenerate, saveTopic, and zenMode [4].

To continue talking to Dosu, mention @dosu.

@SpeedupMaster
Copy link
Contributor

快捷键目前已删除 #4583

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The shortcut key has been removed #4583

@arvinxx arvinxx closed this as completed Nov 5, 2024
@github-project-automation github-project-automation bot moved this from Roadmap - Chat 1.x to Done in Lobe Chat Routine Nov 5, 2024
@lobehubbot
Copy link
Member

@kindmesdilabso

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Archived in project
Development

No branches or pull requests

4 participants