Date: Mon, 05 Aug 2024 19:43:06 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280638] x11-wm/plasma6-kwin linuxism breaks spectacle screenshots Message-ID: <bug-280638-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280638 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=3D252525&action= =3Dedit 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/s= rc/plugins/screenshot/screenshotdbusinterface2.cpp#L331-L354 The linux specific code is here:=20 https://github.com/KDE/kwin/blob/1240ac1dfe4569f3bb5d5d182ae3c393dc2c5bd5/s= rc/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 snap= shot to a file.. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280638-7788>