Skip to content

fix: Fix combo box select block and black-white image save issues. - #19

Merged
deepin-bot[bot] merged 2 commits into
linuxdeepin:masterfrom
re2zero:bugfix
Jul 10, 2025
Merged

fix: Fix combo box select block and black-white image save issues.#19
deepin-bot[bot] merged 2 commits into
linuxdeepin:masterfrom
re2zero:bugfix

Conversation

@re2zero

@re2zero re2zero commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

The ioctl block UI print, open device with non-block mode.

Log: Fix combo box select block and black-white image save issues.

The ioctl block UI print, open device with non-block mode.

Log: Fix combo box select block and black-white image save issues.
@deepin-ci-robot

Copy link
Copy Markdown

deepin pr auto review

关键摘要:

  • WebcamDevice::startCapturingWebcamDevice::updatePreview函数中,添加了对EAGAIN错误的处理,这有助于在非阻塞模式下处理设备不可用的情况。
  • WebcamDevice::captureImage函数中,临时切换到阻塞模式以确保帧捕获,并在捕获失败后恢复非阻塞模式。
  • ScanWidget::onScanFinished函数中,对黑白图像的处理使用了Floyd-Steinberg抖动算法进行二值化处理,这可以更好地保留边缘细节。

是否建议立即修改:

  • 否,提交的代码已经包含了合理的错误处理和图像处理优化,没有发现需要立即修改的关键问题。但是,建议进行进一步的测试以确保这些更改在所有情况下都能正常工作。

update version

Log: update version
@github-actions

Copy link
Copy Markdown

TAG Bot

TAG: 0.1.11
EXISTED: no
DISTRIBUTION: unstable

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lzwind, re2zero

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

@re2zero

re2zero commented Jul 10, 2025

Copy link
Copy Markdown
Contributor Author

/merge

@deepin-bot
deepin-bot Bot merged commit 8ab32af into linuxdeepin:master Jul 10, 2025
15 checks passed
@re2zero
re2zero deleted the bugfix branch July 10, 2025 09:10
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