Summary: | ScreenShot2 CaptureScreen DBus timeout on X11 | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Christophe Marin <christophe> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fabian, kde, nate, noahadvs, qydwhotmail, saraistupidd |
Priority: | NOR | Keywords: | regression |
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/bc29e09d882d13a3a099867ba869742cd2fdb478 | Version Fixed In: | 6.0.5 |
Sentry Crash Report: | |||
Attachments: | dbus-monitor |
Description
Christophe Marin
2024-04-10 23:58:21 UTC
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. *** |