Using master, Qt 6.7 and X11. spectacle became unresponsive on X11, either when using the printscreen key or spectacle -g # spectacle -g 1:53:28 - spectacle(10667) - : Screenshot request failed: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." Bisecting reports the regression comes from commit 00c90e574ae93b146e703b8f5a7cb6db42fda465
Unfortunately, I cannot reproduce this.
Do you have hints to get more useful debug info?
- spectacle appears with 'spectacle -a' or 'spectacle -l'. Taking a screenshot of the active window / window under cursor then works. 'current screen' only works on one of the monitors but not the second / rectangular and all screens buttons fail - 'spectacle -u' succeeds
(In reply to Christophe Marin from comment #2) > Do you have hints to get more useful debug info? Unfortunately no. I'm not that familiar with DBus, but the DBus related stuff hasn't changed in a while. Despite that, there seems to be an uptick in DBus related issues. Maybe it was caused by an update in some other piece of software that Spectacle makes use of?
FWICT with that commit spectacle sends a dbus call for every screen simultaneously and waits for the results. Apparently at least one of those requests does not get a reply. I suspect a bug in kwin, some error condition is probably not handled. Please check dbus-monitor for the call that fails.
Created attachment 168675 [details] dbus-monitor done
spectacle stops responding after getting the resolution of the screen it's executed from (at line 1094 in the log)
(In reply to Christophe Marin from comment #7) > spectacle stops responding after getting the resolution of the screen it's well, actually, the screen doesn't matter since the window doesn't appear
As expected, there is no reply to the second kwin CaptureScreen call: method call time=1713529170.960644 sender=:1.307 -> destination=org.kde.KWin.ScreenShot2 serial=79 path=/org/kde/KWin/ScreenShot2; interface=org.kde.KWin.ScreenShot2; member=CaptureScreen string "DP-5" array [ dict entry( string "include-decoration" variant boolean true ) dict entry( string "include-shadow" variant boolean true ) dict entry( string "native-resolution" variant boolean true ) ] file descriptor inode: 330426 type: fifo
Fixed in KWin 6.1: https://invent.kde.org/plasma/kwin/-/commit/bc29e09d882d13a3a099867ba869742cd2fdb478 Also cherry-picked to 6.0: https://invent.kde.org/plasma/kwin/-/commit/5d9a0aa8920b9514061b616f97ae7277a2d619a5
*** Bug 485959 has been marked as a duplicate of this bug. ***
*** Bug 486805 has been marked as a duplicate of this bug. ***