Respect Settings::copyImageToClipboard when StartMode is DBus
Needs ReviewPublic

Authored by pedroarthurp on May 23 2020, 5:31 AM.

Details

Reviewers
tcanabrava
Summary

Currently, copy image to clipboard settings are ignored when spectacle is started on DBus activation mode. This patch then changes current behavior by making SpectacleCore::screeshotUpdated copy image to the clipboard when Settings::copyImageToClipboard() is true.

Diff Detail

Repository
R166 Spectacle
Lint
Lint Skipped
Unit
Unit Tests Skipped
pedroarthurp created this revision.May 23 2020, 5:31 AM
Restricted Application added a project: Spectacle. · View Herald TranscriptMay 23 2020, 5:31 AM
Restricted Application added a subscriber: Spectacle. · View Herald Transcript
pedroarthurp requested review of this revision.May 23 2020, 5:31 AM

Works, but the notification is empty and the file doesn't get saved at all:

Check @davidre comments in here: https://phabricator.kde.org/D29596

Maybe we should separate the settings for dbus and normal capture?