[Bug 280638] x11-wm/plasma6-kwin linuxism breaks spectacle screenshots
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Aug 2024 19:43:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280638 Bug ID: 280638 Summary: x11-wm/plasma6-kwin linuxism breaks spectacle screenshots Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: jsm@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) Assignee: kde@FreeBSD.org Attachment #252525 text/plain mime type: Created attachment 252525 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252525&action=edit use sysctl to get executablePath of specified pid x11-wm/plasma6-kwin wayland in spectacle you get always a not athorized to take screenshots, because of this check https://github.com/KDE/kwin/blob/1240ac1dfe4569f3bb5d5d182ae3c393dc2c5bd5/src/plugins/screenshot/screenshotdbusinterface2.cpp#L331-L354 The linux specific code is here: https://github.com/KDE/kwin/blob/1240ac1dfe4569f3bb5d5d182ae3c393dc2c5bd5/src/utils/serviceutils.h#L67 The attached patch uses sysctl to get the executableName You also need to workaorund https://bugreports.qt.io/browse/QTBUG-126300 by setting TZ explicitly, otherwise spectacle crashed on saving the taken snapshot to a file.. -- You are receiving this mail because: You are the assignee for the bug.