Krita: Next FeaturesProject
ActivePublic

Recent Activity

Sep 24 2021

tymond added a parent task for T1617: Convert vector shape to assistant.: T13380: Refresh of the Painting Assistant Tool and Painting Assistants.
Sep 24 2021, 12:27 PM · Krita: Next Features
tymond added a parent task for T1616: Special Layer type for Assistants: T13380: Refresh of the Painting Assistant Tool and Painting Assistants.
Sep 24 2021, 12:27 PM · Krita: Next Features
tymond closed T5805: Reference Images Tool, a subtask of T1613: Reference Image docker improvements, as Resolved.
Sep 24 2021, 12:21 PM · Krita: Next Features

Mar 1 2021

timotheegiet added a comment to T14100: Proposal to use a set of internal constants for all the button and icons.

Note, I finally managed to harmonize all toolbar buttons and icons sizes, yay! :-D

Mar 1 2021, 1:05 PM · Krita: Next Features

Feb 28 2021

paolo added a comment to T14166: Paste into Active Layer.

Link to the merge request for the first prototype:

Feb 28 2021, 2:20 PM · Krita: Next Features
paolo triaged T14166: Paste into Active Layer as Normal priority.
Feb 28 2021, 1:32 PM · Krita: Next Features

Feb 17 2021

dkazakov added a comment to T14093: Gradient format that can handle HDR color..

From IRC:

Feb 17 2021, 11:31 AM · Krita: Next Features
woltherav added a comment to T14093: Gradient format that can handle HDR color..

We seemed to have removed Karbon's gradients: https://invent.kde.org/graphics/krita/-/commit/91c359e1977a8c5ff5c6f5be1c5bd618baafc5f2

Feb 17 2021, 11:16 AM · Krita: Next Features

Feb 11 2021

woltherav added a comment to T14093: Gradient format that can handle HDR color..

Ok, so with the stop gradients icc-color merged, and with the HDR gradients patch merged, Krita can now do StopGradients in all the colorspaces it supports, including unbounded color gradients (So rec2020 12.0, 0.5, 0.5 is now possible).

Feb 11 2021, 12:00 PM · Krita: Next Features

Feb 10 2021

timotheegiet added a comment to T14100: Proposal to use a set of internal constants for all the button and icons.

I finally gave up trying to set the size of all the buttons in KToolBar, there must be a way to do it but it's definitely beyond my very limited c++ skills...
I'll let someone more knowledgeable do it.

Feb 10 2021, 7:30 PM · Krita: Next Features
timotheegiet added a comment to T14100: Proposal to use a set of internal constants for all the button and icons.

I'm personally OK with using standard sizes in other places ;)

Feb 10 2021, 5:52 PM · Krita: Next Features
dkazakov added a comment to T14100: Proposal to use a set of internal constants for all the button and icons.

Well, as I said on IRC I'm fine with making toolbar "an exception" and making all the widgets fixed size. But for other places in Krita, we would better use standard sizes.

Feb 10 2021, 5:32 PM · Krita: Next Features
timotheegiet added a comment to T14100: Proposal to use a set of internal constants for all the button and icons.

To complete my previous comment, I would add that there are also several other component on the toolbar that have a defined size that looks best if all the buttons are 32x32:
-The Gradient button and the Patterns button (which are 32x32)
-The Foreground/Background colors widget (this one is 28x28, but looks good when components around are 32x32)
-The blending mode combobox, and the sliders (they have a fixed height of 32)

Feb 10 2021, 5:02 PM · Krita: Next Features
timotheegiet added a comment to T14100: Proposal to use a set of internal constants for all the button and icons.

Thanks for the feedback :)
Though actually I would prefer to do the other way around, that is change KToolBar to use the same values as we have in the paintopbox, and in the paintopbox do both setFixedSize(32,32) and setIconSize(22,22). This looks much better I feel, as then the buttons are the same height as the combobox and as the sliders (else, with just setting the icon size, the buttons are a bit smaller than the sliders with fusion). But for this I need to dig more into KToolBar to see how to properly set the size of buttons, and the height of the toolbar itself (actually the height of the toolbar is adapted automatically, I was confused thinking it would not by setting its size by mistake in my tests...)

Feb 10 2021, 2:46 PM · Krita: Next Features
dkazakov added a comment to T14100: Proposal to use a set of internal constants for all the button and icons.

Okay, I have spent some time on investigating into the code. It looks like for the toolbar we need to use values from KToolBar. It has a complicated system for determining the icon size. I still don't know how to fetch this value. (I haven't checked actually).

Feb 10 2021, 2:05 PM · Krita: Next Features
woltherav updated the task description for T14093: Gradient format that can handle HDR color..
Feb 10 2021, 1:26 PM · Krita: Next Features
timotheegiet added a comment to T14100: Proposal to use a set of internal constants for all the button and icons.

While I agree that "technically" it would be nice to can use those QStyle values, in practice it doesn't seem very good...

Feb 10 2021, 12:00 PM · Krita: Next Features
dkazakov added a comment to T14100: Proposal to use a set of internal constants for all the button and icons.

I believe that in all the places where we use custom sizes (except of the few really custom widgets, like layers docker and onion skins widget), we should try to use values like style()->pixelMetric(QStyle::PM_ToolBarIconSize) instead. I didn't do any good research for it though. We used custom values because we were too lazy or didn't know about existence of QStyle-defined values. So I believe we can just replace them in most of the cases.

Feb 10 2021, 8:41 AM · Krita: Next Features

Feb 9 2021

timotheegiet added a comment to T14100: Proposal to use a set of internal constants for all the button and icons.

I first made this proposal after noticing that we already define our own sizes for buttons in several places, and so thought that it could make sense to do it everywhere the same way to be more consistent.

Feb 9 2021, 1:25 PM · Krita: Next Features
dkazakov added a comment to T14100: Proposal to use a set of internal constants for all the button and icons.

We should probably not reuse Qt-provided constants

Feb 9 2021, 12:12 PM · Krita: Next Features

Feb 6 2021

woltherav added a comment to T14093: Gradient format that can handle HDR color..

Documented KPL (which was on my todo forever as well...)

Feb 6 2021, 3:15 PM · Krita: Next Features
woltherav updated the task description for T14093: Gradient format that can handle HDR color..
Feb 6 2021, 3:14 PM · Krita: Next Features

Feb 5 2021

woltherav updated the task description for T14093: Gradient format that can handle HDR color..
Feb 5 2021, 8:30 PM · Krita: Next Features
woltherav updated the task description for T14093: Gradient format that can handle HDR color..
Feb 5 2021, 6:28 PM · Krita: Next Features
woltherav updated the task description for T14093: Gradient format that can handle HDR color..
Feb 5 2021, 6:26 PM · Krita: Next Features

Feb 4 2021

timotheegiet created T14100: Proposal to use a set of internal constants for all the button and icons.
Feb 4 2021, 5:47 PM · Krita: Next Features
rempt added a comment to T14093: Gradient format that can handle HDR color..

Then I think we should do that.

Feb 4 2021, 9:20 AM · Krita: Next Features

Feb 3 2021

woltherav added a comment to T14093: Gradient format that can handle HDR color..

Could we just ignore the parts of the standards with weird colorspaces and refuse to load gradients that use those?

Feb 3 2021, 12:53 PM · Krita: Next Features
rempt added a comment to T14093: Gradient format that can handle HDR color..

Could we just ignore the parts of the standards with weird colorspaces and refuse to load gradients that use those?

Feb 3 2021, 10:18 AM · Krita: Next Features

Feb 2 2021

woltherav added a comment to T14093: Gradient format that can handle HDR color..

Inkscape's way of handling lab and xyz is rather strange :/

Feb 2 2021, 10:21 PM · Krita: Next Features
woltherav triaged T14093: Gradient format that can handle HDR color. as Wishlist priority.
Feb 2 2021, 7:03 PM · Krita: Next Features

Aug 31 2020

dkazakov added a comment to T541: Improve liquify performance.

Possible solutions:

Aug 31 2020, 8:55 AM · Krita: Next Features

Jun 6 2020

woltherav closed T1624: Rotatable, Scalable patterns as Resolved by committing R37:b55104a6eaf4: Merge branch 'master' into wolthera/T1624-pattern-rotation.
Jun 6 2020, 9:08 AM · Krita: Next Features

May 26 2020

ramonmiranda added a comment to T10901: Better undo/redo for Krita.

Thanks Tusooa for your hard and useful work. I think Snapshot docker is a good addition for complex images.
For your week 6 if you think this could be doable:
I used that in PS long time ago and i remember there was a feature that allowed you to paint from history. (history mean ,snapshot) It is only a note if you are going to work more in this feature with more options. Right now in my tests works pretty well. Again Thanks

May 26 2020, 11:07 AM · Krita: Next Features

May 22 2020

woltherav added a comment to T1624: Rotatable, Scalable patterns.

I did some tests just now regarding rotation in the brush texture:

May 22 2020, 1:41 PM · Krita: Next Features

May 21 2020

dkazakov added a comment to T1624: Rotatable, Scalable patterns.

Allow KoPatterns to carry a QTransform, this is necessary here because svg patterns will have their own transforms, so we should load those in and use them as default values for pattern transforms.

May 21 2020, 9:09 AM · Krita: Next Features
woltherav updated subscribers of T1624: Rotatable, Scalable patterns.

PoC
https://invent.kde.org/snippets/928

May 21 2020, 8:39 AM · Krita: Next Features

Nov 9 2019

tusooaw updated the task description for T10901: Better undo/redo for Krita.
Nov 9 2019, 7:50 PM · Krita: Next Features
tusooaw updated the task description for T10901: Better undo/redo for Krita.
Nov 9 2019, 4:25 PM · Krita: Next Features

Oct 20 2019

woltherav added a comment to T1624: Rotatable, Scalable patterns.

Okay, having slept on it, and looking at the code again, Cairo is not doing a per pixel transformation, but rather is just passing on the matrix to... wherever, and I for the live of me cannot find the place where the transform is applied to the pixel. I do suspect the that per-pixel transform might be a strategy to pursue. (so, pixel to paint x, invert transform on x, what do we find in the original tiled pattern at that location, paint that at x), but I am not smart enough to understand how we'd apply transform filters here.

Oct 20 2019, 12:38 PM · Krita: Next Features

Oct 18 2019

woltherav added a comment to T1624: Rotatable, Scalable patterns.

https://gitlab.com/inkscape/inkscape/blob/32e9ba119663b9d5800392ba34700053eaaa7f90/src%2Fsp-pattern.cpp#L526 < inkscape's pattern implementation

Oct 18 2019, 8:18 PM · Krita: Next Features

Oct 10 2019

woltherav closed T3590: Group operation layer as Invalid.
Oct 10 2019, 12:37 PM · Krita: Next Features

Aug 9 2019

tusooaw added a comment to T10901: Better undo/redo for Krita.

https://invent.kde.org/tusooaw/krita/commit/24355db3272a02230a14217da6023a953ec8f119

The crash does not come from KisCanvas2 but KisNode actually, as I said that it happens only when the undo command is not created (so KisNode is deleted by KisNodeReplaceBasedStrokeStrategy::Private's destructor, which is executed in the image thread (by the destructor of KisStroke)).

Ref: https://invent.kde.org/tusooaw/krita/blob/24355db3272a02230a14217da6023a953ec8f119/libs/global/kis_thread_safe_signal_compressor.h

Aug 9 2019, 7:52 AM · Krita: Next Features

Jul 26 2019

tusooaw added a comment to T10901: Better undo/redo for Krita.

The crash does not come from KisCanvas2 but KisNode actually, as I said that it happens only when the undo command is not created (so KisNode is deleted by KisNodeReplaceBasedStrokeStrategy::Private's destructor, which is executed in the image thread (by the destructor of KisStroke)).

Jul 26 2019, 3:14 AM · Krita: Next Features

Jul 25 2019

tusooaw added a comment to T10901: Better undo/redo for Krita.

On the crash upon deletion of stroke strategy without creating an undo command:

It happens only when (1) we are not using debugger (so it is probably some timing issue); (2) the mouse is released immediately after pressing; and (3) no undo command is created.

https://invent.kde.org/snippets/335 indicates that the problem probably lies in KisCanvas2, whose m_d->canvasUpdateCompressor is of type KisSignalCompressor instead of the thread-safe one.

But I did also get another error message complaining from QObject::~QObject().

Jul 25 2019, 8:22 AM · Krita: Next Features
tusooaw added a comment to T10901: Better undo/redo for Krita.

On the crash upon deletion of stroke strategy without creating an undo command:

Jul 25 2019, 8:06 AM · Krita: Next Features

Jul 8 2019

tusooaw added a comment to T10901: Better undo/redo for Krita.

A note on KisNode::copyFromNode():

Jul 8 2019, 1:15 PM · Krita: Next Features
tusooaw added a comment to T10901: Better undo/redo for Krita.

Currently the methods return a KUndo2Command that will do the changes. However, it should be possible to make them only do the changes, by taking a clone of the active layer before making undoable changes to it.

Jul 8 2019, 1:07 PM · Krita: Next Features

Jun 28 2019

tusooaw added a comment to T10901: Better undo/redo for Krita.

Refactor out q-pointers and derived d-pointers in Flake

Jun 28 2019, 9:05 AM · Krita: Next Features

Jun 21 2019

tusooaw closed T10991: Snapshot Docker as Resolved.
Jun 21 2019, 7:16 AM · Krita: Next Features