Feed Advanced Search

May 12 2020

meven added a comment to D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique.

Patch is ready for review.

May 12 2020, 2:43 PM · Spectacle
meven updated the diff for D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique.

Move SpectacleCore on the stack to avoid crashes, small refactoring

May 12 2020, 1:45 PM · Spectacle
meven added a dependency for D29282: QuickEditor: Allow to take screen region screenshot under Wayland: D29122: ScreenShotEffect: Add a shouldReturnNativeSize argument to screenshotFullscreen.
May 12 2020, 5:40 AM · Spectacle
meven added a comment to D29282: QuickEditor: Allow to take screen region screenshot under Wayland.

So on screen we have the non rectangular pixel perfect pixmap but we return a rectangular pixmap? Which size will that have?

May 12 2020, 5:38 AM · Spectacle

May 11 2020

meven updated the diff for D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique.

Add --new-instance option, clean deletion of app

May 11 2020, 3:15 PM · Spectacle
davidre closed D29620: Disconnect after receiving screenshot signal.
May 11 2020, 1:29 PM · Spectacle
meven accepted D29620: Disconnect after receiving screenshot signal.

Wayland was not concerned since screenshot replies are handled through file Desrcriptors.

May 11 2020, 12:58 PM · Spectacle
meven updated the summary of D29620: Disconnect after receiving screenshot signal.
May 11 2020, 12:54 PM · Spectacle
meven added a comment to D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique.

I would like to keep the option. We currently just start a new `Qprocess with "spectacle" would that still work?

I guess on app start you would check if there is an instance on the bus already and then do the right thing?

May 11 2020, 9:24 AM · Spectacle
czeidler updated the diff for D29550: Add selection support for already taken screenshots.
  • Fix KSImageWidget cursor when there is no selection
  • Send out a selectionChanged event when selection is cleared
May 11 2020, 9:19 AM · Spectacle
meven added a comment to D29408: Wayland: allow to take immediate and delayed screenshots.

Why do we introduce the distinction between delayed and immediate? Is there a difference between delayed with 0 seconds and immediate? Also every screenshot triggered by the gui arrives at spectacle core with delay <= 0 because ksmainwindow waits the delay for the taskmanager animation and animating the button.

May 11 2020, 9:07 AM · Spectacle
czeidler added a comment to D29550: Add selection support for already taken screenshots.

Yes thats correct. That makes it possible to save multiple different selections from the same screenshot... Maybe I should make it more clear that only the selection is saved, or is that clear? However, when dragging the selection only the selected part is visible in the drag image.

May 11 2020, 8:56 AM · Spectacle
davidre added a comment to D29550: Add selection support for already taken screenshots.

Ah I see, the select button will change the pixmap what is saved/copied but not the displayed one?

May 11 2020, 8:40 AM · Spectacle
davidre requested review of D29620: Disconnect after receiving screenshot signal.
May 11 2020, 8:38 AM · Spectacle
czeidler added a comment to D29550: Add selection support for already taken screenshots.

There should be a 'Select' button on the right side of the window (see below). Once you click it you can start a selection. During the time of the first selection the button is disabled. Happy to get feedback for the button location, label or better position.

May 11 2020, 8:36 AM · Spectacle
aprcela added a comment to D29596: Copy image to clipboard using hotkeys while spectacle is not running.

I had a similar idea to have a setting that controls what happens on shortcut press and when gui is running because currently the ui does not work for this. What we have is

So I have to check this box and it is under the "When spectacle is running" section. But the image will be autosaved regardless whether the other checkbox is saved or not. I think the problem is no easy but I will try again to think of something.

May 11 2020, 8:25 AM · Spectacle
davidre added a comment to D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique.

I would like to keep the option. We currently just start a new `Qprocess with "spectacle" would that still work?

May 11 2020, 8:19 AM · Spectacle
davidre added a comment to D29408: Wayland: allow to take immediate and delayed screenshots.

Why do we introduce the distinction between delayed and immediate? Is there a difference between delayed with 0 seconds and immediate? Also every screenshot triggered by the gui arrives at spectacle core with delay <= 0 because ksmainwindow waits the delay for the taskmanager animation and animating the button.

May 11 2020, 8:16 AM · Spectacle
davidre added a comment to D29596: Copy image to clipboard using hotkeys while spectacle is not running.

I had a similar idea to have a setting that controls what happens on shortcut press and when gui is running because currently the ui does not work for this. What we have is

May 11 2020, 8:12 AM · Spectacle
davidre added a comment to D29550: Add selection support for already taken screenshots.

Very cool! However I can't seem to figure out a way to select a selection.
How do you think does this relate to D22074? Maybe we can integrate both patches somehow?

May 11 2020, 8:07 AM · Spectacle
davidre added a comment to D29282: QuickEditor: Allow to take screen region screenshot under Wayland.

So on screen we have the non rectangular pixel perfect pixmap but we return a rectangular pixmap? Which size will that have?

May 11 2020, 8:00 AM · Spectacle

May 10 2020

meven added a comment to D29282: QuickEditor: Allow to take screen region screenshot under Wayland.

Let me know @davidre if I can ease your review ;)

May 10 2020, 1:49 PM · Spectacle
aprcela added reviewers for D29589: Remove unused variable: Spectacle, davidre, ngraham.
May 10 2020, 12:46 PM · Spectacle
aprcela updated the test plan for D29596: Copy image to clipboard using hotkeys while spectacle is not running.
May 10 2020, 12:40 PM · Spectacle
aprcela added reviewers for D29596: Copy image to clipboard using hotkeys while spectacle is not running: Spectacle, ngraham, davidre.
May 10 2020, 12:40 PM · Spectacle
aprcela requested review of D29596: Copy image to clipboard using hotkeys while spectacle is not running.
May 10 2020, 12:36 PM · Spectacle
aprcela requested review of D29589: Remove unused variable.
May 10 2020, 11:36 AM · Spectacle

May 9 2020

czeidler added reviewers for D29550: Add selection support for already taken screenshots: bgupta, davidre.
May 9 2020, 10:03 AM · Spectacle
czeidler requested review of D29550: Add selection support for already taken screenshots.
May 9 2020, 9:50 AM · Spectacle

May 7 2020

meven planned changes to D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique.

This patch currently implies removing the option to have multipe instances of spectacle, and we have a setting to have this upon pressing the Print key.
So should I keep the multiple instance mode ? @davidre @ngraham
It is feasible.
Any time the commandline with the background option or with the setting "Open a new Spectacle window" is set I would start a new Gui instance.

May 7 2020, 10:54 AM · Spectacle
anthonyfieroni added inline comments to D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique.
May 7 2020, 10:46 AM · Spectacle
davidre added a comment to D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique.

Just a heads up you don't need to use the weird lvariable, theParam code style. See discussion in https://phabricator.kde.org/D21042

May 7 2020, 9:45 AM · Spectacle
broulik added inline comments to D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique.
May 7 2020, 9:23 AM · Spectacle
meven updated the diff for D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique.

Store QApplication on the stack

May 7 2020, 7:55 AM · Spectacle
meven updated the summary of D29408: Wayland: allow to take immediate and delayed screenshots.
May 7 2020, 7:28 AM · Spectacle
meven updated the summary of D29282: QuickEditor: Allow to take screen region screenshot under Wayland.
May 7 2020, 7:28 AM · Spectacle

May 6 2020

anthonyfieroni added a comment to D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique.

I don't see why qApp is not deleted here
https://api.kde.org/frameworks-api/frameworks-apidocs/frameworks/kdbusaddons/html/kdbusservice_8cpp_source.html#l00099
Probably because it can be allocated on stack.

May 6 2020, 5:37 PM · Spectacle
anthonyfieroni added inline comments to D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique.
May 6 2020, 5:33 PM · Spectacle
meven added reviewers for D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique: bport, davidedmundson, apol.
May 6 2020, 5:25 PM · Spectacle
meven requested review of D29487: Refactor Spectacle to run in single instance mode with KDBusService::Unique.
May 6 2020, 5:24 PM · Spectacle
meven updated the summary of D29282: QuickEditor: Allow to take screen region screenshot under Wayland.
May 6 2020, 2:38 PM · Spectacle

May 5 2020

ngraham added a dependency for D29408: Wayland: allow to take immediate and delayed screenshots: D29407: ScreenshotEffect: Use Service Property to authorize screenshot without confirmation.
May 5 2020, 4:36 PM · Spectacle
meven planned changes to D29408: Wayland: allow to take immediate and delayed screenshots.

Spectacle must have its executable in its desktop entry Exec field.
To manage this, spectacle must use KDBusService::Unique instead of Multiple.
This requires some refactoring.

May 5 2020, 4:21 PM · Spectacle
meven added a reviewer for D29408: Wayland: allow to take immediate and delayed screenshots: ngraham.
May 5 2020, 5:37 AM · Spectacle

May 4 2020

meven requested review of D29408: Wayland: allow to take immediate and delayed screenshots.
May 4 2020, 1:53 PM · Spectacle

May 3 2020

aleasto added a comment to D28395: Added CopyToClipboard parameter to dbus RectangularRegion and set up shortcut keys.

Nah, I think for these new ones, just putting it on the clipboard is fine. The point after all is just to quickly paste an image into like a chat window or something.

May 3 2020, 2:38 PM · Spectacle

May 1 2020

meven closed D29305: PlatformKWinWayland: Print an error in console when DBus call fails.
May 1 2020, 2:04 PM · Spectacle
davidedmundson accepted D29305: PlatformKWinWayland: Print an error in console when DBus call fails.
May 1 2020, 1:54 PM · Spectacle
meven updated the diff for D29305: PlatformKWinWayland: Print an error in console when DBus call fails.

Move deleteLater out of if

May 1 2020, 1:21 PM · Spectacle

Apr 30 2020

davidedmundson added inline comments to D29305: PlatformKWinWayland: Print an error in console when DBus call fails.
Apr 30 2020, 7:12 PM · Spectacle
meven updated the diff for D29305: PlatformKWinWayland: Print an error in console when DBus call fails.

Add a deleteLater

Apr 30 2020, 4:41 PM · Spectacle
davidedmundson added a comment to D29305: PlatformKWinWayland: Print an error in console when DBus call fails.

one super minor change

Apr 30 2020, 4:37 PM · Spectacle
meven requested review of D29305: PlatformKWinWayland: Print an error in console when DBus call fails.
Apr 30 2020, 4:33 PM · Spectacle
meven updated the diff for D29282: QuickEditor: Allow to take screen region screenshot under Wayland.

Schedule an update instead of repaint in QuickEditor::onScreenConfigurationReceived

Apr 30 2020, 9:13 AM · Spectacle
meven updated the test plan for D29282: QuickEditor: Allow to take screen region screenshot under Wayland.
Apr 30 2020, 9:11 AM · Spectacle
meven updated the diff for D29282: QuickEditor: Allow to take screen region screenshot under Wayland.

Rename dpr and dprI to devicePixelRatio and devicePixelRatio to differenciate to dpr variable that is per-screen, fix stroke color around selection

Apr 30 2020, 7:07 AM · Spectacle

Apr 29 2020

davidre added a comment to D29282: QuickEditor: Allow to take screen region screenshot under Wayland.

Can you add some more explanation what the code does in the summary?

Apr 29 2020, 6:00 PM · Spectacle
meven added a reviewer for D29282: QuickEditor: Allow to take screen region screenshot under Wayland: bport.
Apr 29 2020, 5:22 PM · Spectacle
meven requested review of D29282: QuickEditor: Allow to take screen region screenshot under Wayland.
Apr 29 2020, 5:21 PM · Spectacle

Apr 23 2020

davidre closed D29113: Change position of label in SaveOptions.ui.
Apr 23 2020, 1:56 PM · Spectacle
davidre accepted D29113: Change position of label in SaveOptions.ui.

Bonus points for moving items so that they are in the right order before committing (I know that the spacer was not in the right place before )

Apr 23 2020, 1:19 PM · Spectacle
meven added a reviewer for D29113: Change position of label in SaveOptions.ui: davidre.
Apr 23 2020, 1:04 PM · Spectacle
thiagosueto updated the diff for D29113: Change position of label in SaveOptions.ui.

Removed hints

Apr 23 2020, 12:46 PM · Spectacle
thiagosueto added a comment to D29113: Change position of label in SaveOptions.ui.

I think those appeared accidentally when I was testing how it would look like if the label text was shown as a tooltip for the Compression Quality label, I'll remove those and test it.

Apr 23 2020, 12:40 PM · Spectacle
davidre added inline comments to D29113: Change position of label in SaveOptions.ui.
Apr 23 2020, 7:29 AM · Spectacle
ngraham accepted D29113: Change position of label in SaveOptions.ui.

Everyone agree?

Apr 23 2020, 2:43 AM · Spectacle
thiagosueto updated the summary of D29113: Change position of label in SaveOptions.ui.
Apr 23 2020, 2:19 AM · Spectacle
thiagosueto requested review of D29113: Change position of label in SaveOptions.ui.
Apr 23 2020, 12:04 AM · Spectacle

Apr 22 2020

alex added a comment to D23366: [Spectacle] Implement Tasks feature (WiP).

Sound good👍.

Apr 22 2020, 5:13 AM · Spectacle
jatinsharma added a comment to D28395: Added CopyToClipboard parameter to dbus RectangularRegion and set up shortcut keys.

Thank you! I didn't add the shortcuts in this commit. I just wanted to confirm/ask some things before implementing them.

Apr 22 2020, 4:47 AM · Spectacle
ngraham abandoned D9117: Add shortcuts for copying screenshots to clipboard.

This is now being done in https://phabricator.kde.org/D28395.

Apr 22 2020, 3:40 AM · Spectacle
ngraham commandeered D9117: Add shortcuts for copying screenshots to clipboard.
Apr 22 2020, 3:40 AM · Spectacle
ngraham added a comment to D28395: Added CopyToClipboard parameter to dbus RectangularRegion and set up shortcut keys.

Great work! Do you think you could also add new entries to desktop/org.kde.spectacle.desktop.cmake so that these are actually exposed in the UI and usable? That would be fantastic, and sufficient to fix https://bugs.kde.org/show_bug.cgi?id=416106.

Apr 22 2020, 3:25 AM · Spectacle

Apr 21 2020

jatinsharma abandoned D29067: Added CopyToClipboard functionality to 5 dbus methods.
Apr 21 2020, 6:59 PM · Spectacle
jatinsharma updated the diff for D28395: Added CopyToClipboard parameter to dbus RectangularRegion and set up shortcut keys.

Added 5 dbus method corresponding to the five modes of taking a screenshot.
They copy the screenshot to clipboard without saving them to a file.

Apr 21 2020, 6:58 PM · Spectacle
jatinsharma added a comment to D28395: Added CopyToClipboard parameter to dbus RectangularRegion and set up shortcut keys.

Hello, Sorry about the mess. I have accidentally created a new revision, but I wanted to update this. I can't seem to figure out how to revert this.

Apr 21 2020, 6:36 PM · Spectacle
jatinsharma removed a dependent revision for D28395: Added CopyToClipboard parameter to dbus RectangularRegion and set up shortcut keys: D29067: Added CopyToClipboard functionality to 5 dbus methods.
Apr 21 2020, 6:35 PM · Spectacle
jatinsharma removed a dependency for D29067: Added CopyToClipboard functionality to 5 dbus methods: D28395: Added CopyToClipboard parameter to dbus RectangularRegion and set up shortcut keys.
Apr 21 2020, 6:35 PM · Spectacle
jatinsharma added a dependency for D29067: Added CopyToClipboard functionality to 5 dbus methods: D28395: Added CopyToClipboard parameter to dbus RectangularRegion and set up shortcut keys.
Apr 21 2020, 6:34 PM · Spectacle
jatinsharma added a dependent revision for D28395: Added CopyToClipboard parameter to dbus RectangularRegion and set up shortcut keys: D29067: Added CopyToClipboard functionality to 5 dbus methods.
Apr 21 2020, 6:34 PM · Spectacle
jatinsharma requested review of D29067: Added CopyToClipboard functionality to 5 dbus methods.
Apr 21 2020, 6:32 PM · Spectacle
aprcela added a comment to D23366: [Spectacle] Implement Tasks feature (WiP).
In D23366#653823, @alex wrote:

First of all this feature sounds great!

I am just a bit confused about how we define "tasks" now:
In your current implementation it looks like they should be executed after the file gets saved.

And after capture a new window appears with a bunch of options

This seems like an action gets executed after the screenshot is taken.

Apr 21 2020, 6:24 PM · Spectacle
ngraham added a comment to D28395: Added CopyToClipboard parameter to dbus RectangularRegion and set up shortcut keys.

Nah, I think for these new ones, just putting it on the clipboard is fine. The point after all is just to quickly paste an image into like a chat window or something.

Apr 21 2020, 5:36 PM · Spectacle
alex added a comment to D23366: [Spectacle] Implement Tasks feature (WiP).

First of all this feature sounds great!

Apr 21 2020, 3:32 PM · Spectacle
jatinsharma added a comment to D28395: Added CopyToClipboard parameter to dbus RectangularRegion and set up shortcut keys.

Okay, Should it also include the functionality to be able to save to file AND copy to clipboard for the same screenshot?

Apr 21 2020, 12:32 PM · Spectacle
aprcela added a comment to D23366: [Spectacle] Implement Tasks feature (WiP).

I love the idea. However is it likely that the user will always want to run the same task on every screenshot? It feels more like this should be a list of tasks, and the user should be able to choose which one to run, optionally marking one as an overridable default task.

Thoughts?

Apr 21 2020, 9:34 AM · Spectacle
ngraham added a comment to D23366: [Spectacle] Implement Tasks feature (WiP).

I love the idea. However is it likely that the user will always want to run the same task on every screenshot? It feels more like this should be a list of tasks, and the user should be able to choose which one to run, optionally marking one as an overridable default task.

Apr 21 2020, 4:40 AM · Spectacle

Apr 20 2020

aprcela updated the test plan for D23366: [Spectacle] Implement Tasks feature (WiP).
Apr 20 2020, 9:54 PM · Spectacle
aprcela updated the diff for D23366: [Spectacle] Implement Tasks feature (WiP).

Merge and fix conflicts

Apr 20 2020, 9:46 PM · Spectacle
aprcela added a comment to D23366: [Spectacle] Implement Tasks feature (WiP).

Oh gosh, how did this get missed? Sorry about that.

Apr 20 2020, 1:28 PM · Spectacle
ngraham added a reviewer for D23366: [Spectacle] Implement Tasks feature (WiP): Spectacle.

Oh gosh, how did this get missed? Sorry about that.

Apr 20 2020, 1:26 PM · Spectacle
aprcela added a comment to T11422: Spectacle - Tasks after screenshot has been taken/saved.

I highly doubt it.
And thanks for reminding me. Will work on it in this week.

Apr 20 2020, 1:26 PM · Spectacle
Armstrong added a comment to T11422: Spectacle - Tasks after screenshot has been taken/saved.

any chance of this being included in release 20.04?

Apr 20 2020, 1:24 PM · Spectacle

Apr 19 2020

davidre added a comment to D22074: Add image annotation via libKImageAnnotator.

Isn't it possible to the annotator? In ksnip it's hidden as long as you have no screenshot, so ksnip on startup is basically a toolbar.

Apr 19 2020, 7:52 PM · Spectacle
dporobic added a comment to D22074: Add image annotation via libKImageAnnotator.

Isn't it possible to the annotator? In ksnip it's hidden as long as you have no screenshot, so ksnip on startup is basically a toolbar.

Apr 19 2020, 6:55 PM · Spectacle
davidre added a comment to D22074: Add image annotation via libKImageAnnotator.

I know it's a bit ugly but maybe we can then dynamically construct/destroy the annotator on button press to combat this?

Apr 19 2020, 2:16 PM · Spectacle

Apr 18 2020

dporobic added a comment to D22074: Add image annotation via libKImageAnnotator.

The reason that the spectacle window is larger on start because the annotator cannot be smaller because of the annotation tools sidebar I think

Apr 18 2020, 11:08 AM · Spectacle
davidre added a comment to D22074: Add image annotation via libKImageAnnotator.

The reason that the spectacle window is larger on start because the annotator cannot be smaller because of the annotation tools sidebar I think

Apr 18 2020, 8:58 AM · Spectacle

Apr 17 2020

ngraham added a comment to D22074: Add image annotation via libKImageAnnotator.

If you had plans to to fix the libkimageannotator build failure, you might want to just commit it yourself. I don't think the author is paying attention to the version on KDE infrastructure as I see it's developed on GitHub again at https://github.com/ksnip/kImageAnnotator.

Apr 17 2020, 8:19 PM · Spectacle

Apr 15 2020

nicolasfella updated the diff for D22074: Add image annotation via libKImageAnnotator.
  • Fix
Apr 15 2020, 6:53 PM · Spectacle