Skip to content

fix: Enhance screenshot functionality and improve capture initializat…#774

Merged
deepin-bot[bot] merged 1 commit into
linuxdeepin:develop/snipefrom
dengzhongyuan365-dev:commit20251209
Dec 11, 2025
Merged

fix: Enhance screenshot functionality and improve capture initializat…#774
deepin-bot[bot] merged 1 commit into
linuxdeepin:develop/snipefrom
dengzhongyuan365-dev:commit20251209

Conversation

@dengzhongyuan365-dev

Copy link
Copy Markdown
Member

…ion checks

  • Updated screenshot logic to streamline conditions for capturing images based on toolbar visibility.

  • Added checks for window handle availability and Wayland window retrieval during capture fix: route AI screenshots to UOS AI assistant

  • call saveScreenShot in AI screenshot mode (toolbar hidden) for double-click and Enter shortcuts

  • ensure screenshotSaved emits CustomDone to feed UOS AI assistant instead of clipboard-only

  • preserve normal screenshot and scrollshot workflows

  • refs:

修复:AI截图应保存到UOS AI助手而非仅保存到剪贴板

  • 在AI截图模式(隐藏工具栏)下,双击与回车快捷键调用saveScreenShot
  • 确保触发screenshotSaved并发送CustomDone信号给UOS AI助手,而非只写剪贴板
  • 兼容普通截图与滚动截图流程

bug: https://pms.uniontech.com/bug-view-342889.html

…ion checks

- Updated screenshot logic to streamline conditions for capturing images based on toolbar visibility.
- Added checks for window handle availability and Wayland window retrieval during capture fix: route AI screenshots to UOS AI assistant

- call saveScreenShot in AI screenshot mode (toolbar hidden) for double-click and Enter shortcuts
- ensure screenshotSaved emits CustomDone to feed UOS AI assistant instead of clipboard-only
- preserve normal screenshot and scrollshot workflows
- refs:

修复:AI截图应保存到UOS AI助手而非仅保存到剪贴板
- 在AI截图模式(隐藏工具栏)下,双击与回车快捷键调用saveScreenShot
- 确保触发screenshotSaved并发送CustomDone信号给UOS AI助手,而非只写剪贴板
- 兼容普通截图与滚动截图流程

bug: https://pms.uniontech.com/bug-view-342889.html
@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dengzhongyuan365-dev, lzwind

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dengzhongyuan365-dev

Copy link
Copy Markdown
Member Author

/merge

@deepin-bot

deepin-bot Bot commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

This pr cannot be merged! (status: unstable)

@dengzhongyuan365-dev

Copy link
Copy Markdown
Member Author

/forcemerge

@deepin-bot

deepin-bot Bot commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

This pr force merged! (status: unstable)

@deepin-bot deepin-bot Bot merged commit ded1f67 into linuxdeepin:develop/snipe Dec 11, 2025
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants