Summary: | Unable to take second screenshot under Wayland | ||
---|---|---|---|
Product: | [Applications] Spectacle | Reporter: | phrxmd <philipp.reichmuth> |
Component: | General | Assignee: | Boudhayan Gupta <me> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | flying-sheep, kde, openmail+kde |
Priority: | NOR | ||
Version First Reported In: | 20.12.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
phrxmd
2021-02-24 11:45:01 UTC
Same problem. The console says: Error calling KWin DBus interface: "org.kde.kwin.Screenshot.Error.AlreadyTaking" "A screenshot is already been taken" (the message) should probably be changed to “A screenshot is already *being* taken” This happens when `bool KWin::ScreenShotEffect::isTakingScreenshot()` returns `true` when it shouldn’t: https://invent.kde.org/plasma/kwin/-/blob/05811535d41203fde466a41fd2e05f4b9ce6c971/src/effects/screenshot/screenshot.cpp#L875-887 i.e. at least one of the following must be `true` when it shouldn’t: • !m_scheduledGeometry.isNull() • m_windowMode != WindowMode::NoCapture • m_fd != -1 Seems to be resolved now, as of 21.08.3 the problem no longer appears. |