Skip to content

oshelper: wait for hidden window before taking screenshot on macOS - #4663

Open
selsta wants to merge 1 commit into
monero-project:masterfrom
selsta:macos-screen-capture
Open

oshelper: wait for hidden window before taking screenshot on macOS#4663
selsta wants to merge 1 commit into
monero-project:masterfrom
selsta:macos-screen-capture

Conversation

@selsta

@selsta selsta commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator

Workaround for macOS. In the future I'll switch to ScreenCaptureKit but that will require larger changes.

Also improve error message and add a missing include.
@selsta
selsta force-pushed the macos-screen-capture branch from fcddecc to 62d0a59 Compare July 19, 2026 18:43
Comment thread src/main/oshelper.cpp
catch (const std::exception &e)
{
qWarning() << e.what();
qWarning() << "QR screen capture: decoder exception:" << e.what();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: spacing before error text

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.

2 participants