Skip to content

Conversation

insunaa
Copy link
Contributor

@insunaa insunaa commented May 7, 2024

This PR fixes an issue where Flameshot hangs while it's waiting for the notifications QDBusInterface to initialize.

Some systems don't come with a notifications daemon by default, which causes the QDBusInterface constructor to block for 5-20 seconds, during which flameshot hangs and cannot copy the screenshot into the clipboard buffer.

I tested this on Linux on KDE Plasma 6 with Wayland enabled. CMake flags are cmake .. -GNinja -DUSE_WAYLAND_CLIPBOARD=1

Only might fix, because the assumption is that the issue names are misnomers, and that the true issue is just that the screenshot is copied to clipboard after 5-20 seconds without any hint (except systemd logs)

Edit: Ignore the potentially fixed issues, there are more things afoot with those.

@untainsYD
Copy link

I do vote for this PR, it's essential to fix it!

@borgmanJeremy
Copy link
Collaborator

Thank you!

@borgmanJeremy borgmanJeremy merged commit 7b25e46 into flameshot-org:master May 10, 2025
@mmahmoudian mmahmoudian added this to the v13 milestone May 12, 2025
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.

Hyprland Wayland Copy to Clipboard doesn't work Screenshots aren't copied to the clipboard
4 participants