Skip to content

[pull] master from flameshot-org:master#238

Merged
pull[bot] merged 3 commits intoUncodedtech:masterfrom
flameshot-org:master
May 7, 2026
Merged

[pull] master from flameshot-org:master#238
pull[bot] merged 3 commits intoUncodedtech:masterfrom
flameshot-org:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 7, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

borgmanJeremy and others added 3 commits May 7, 2026 07:08
)

* screengrabber: pass non-empty parent_window to xdg-desktop-portal

xdg-desktop-portal-gnome on GNOME 46 rejects requests where the
parent_window argument is an empty string with the error
"Failed to associate portal window with parent window ''",
which made daemon-mode (tray icon, DBus captureScreen) capture
fail for all GNOME Wayland users.

Allocate an offscreen QWidget (Qt::WA_DontShowOnScreen) so a
winId is generated, and pass "x11:<hex>" on X11 sessions or
"wayland:" on Wayland. Both are accepted by xdg-desktop-portal
as valid no-real-parent handles, while remaining non-empty as
the portal spec requires.

Tested on: Ubuntu 24.04, GNOME 46 Wayland, NVIDIA proprietary
590.48.01, Qt 6.4.2, xdg-desktop-portal-gnome 46.2.

Fixes daemon-mode capture on GNOME 46 Wayland.

* clang format

---------

Co-authored-by: Jeremy Borgman <borgman.jeremy@pm.me>
@pull pull Bot locked and limited conversation to collaborators May 7, 2026
@pull pull Bot added the ⤵️ pull label May 7, 2026
@pull pull Bot merged commit 410cfae into Uncodedtech:master May 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants