[Bug 280638] x11-wm/plasma6-kwin linuxism breaks spectacle screenshots
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 5 20:43:06 BST 2024
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 at FreeBSD.org
Reporter: jsm at FreeBSD.org
Flags: maintainer-feedback?(kde at FreeBSD.org)
Assignee: kde at 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.
More information about the kde-freebsd
mailing list