Cleanup code for finishing undo/redo of image operations
ClosedPublic

Authored by muhlenpfordt on May 11 2018, 10:59 AM.

Details

Summary

D11715 introduced a function finishUndoJob() which adds a timer
delay for QUndoStack updates. After enabling redo in D12105 this
separate function for undo operations is not needed anymore and all
operation types can be handled in finish().

FIXED-IN: 18.04.2

Test Plan
  1. Use different image operations to edit one or more image(s)
  2. Check that undo/redo behaviour did not change

Diff Detail

Repository
R260 Gwenview
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
muhlenpfordt requested review of this revision.May 11 2018, 10:59 AM
muhlenpfordt created this revision.

In terms of the Phabricator changes - what's the way for Gwenview?
Are there any effects when using #gwenview as reviewer?

rkflx accepted this revision.May 11 2018, 8:37 PM
rkflx added a subscriber: rkflx.

Thanks ;) Having the change in a separate Diff really makes for a quick review.

After enabling redo in D12105 this is not needed anymore

"This" is a bit ambiguous. Surely you don't mean the timer, but splitting the code out into a separate function?

In terms of the Phabricator changes - what's the way for Gwenview?
Are there any effects when using #gwenview as reviewer?

As far as I understood, the change only affected Herald rules (which we don't have) and forwarding to mailinglists (which we don't do, and which I'd find quite questionable).

As long as nobody of us gets too annoyed with our current way of working, I'd say we simply carry on as usual (but I believe there are also more fine-grained filtering options available using Phab's mail headers, should the need arise to distinguish between subscriber/reviewer notifications and bulk Gwenview mail).

This revision is now accepted and ready to land.May 11 2018, 8:37 PM
huoni added a subscriber: huoni.May 13 2018, 12:15 AM

In terms of the Phabricator changes - what's the way for Gwenview?
Are there any effects when using #gwenview as reviewer?

As far as I understood, the change only affected Herald rules (which we don't have) and forwarding to mailinglists (which we don't do, and which I'd find quite questionable).

As long as nobody of us gets too annoyed with our current way of working, I'd say we simply carry on as usual (but I believe there are also more fine-grained filtering options available using Phab's mail headers, should the need arise to distinguish between subscriber/reviewer notifications and bulk Gwenview mail).

With a small team, I like getting notifications about all activity, so I think carry on.

muhlenpfordt edited the summary of this revision. (Show Details)

Changed summary to be more precise

Thanks! Since the changes doesn't seem to affect us, let's go the proven way. ;)

This revision was automatically updated to reflect the committed changes.