Feed Advanced Search

Oct 22 2018

boemann added a comment to D16367: EnhancedPathShape: Shape is moved/resized on save/load.

Yes as i recall that code was made to handle masks being exported correctly for OpenOffice or LO - I'd strongly prefer it not being thrown away like that

Oct 22 2018, 10:56 AM · Calligra: 3.0
anthonyfieroni added a comment to D16367: EnhancedPathShape: Shape is moved/resized on save/load.

When i investigate to find out why it's saved square not rectangle i suspect that code, but i'm still not absolutely sure that it's wrong. Maybe @boemann knows better. If so can we remove m_viewBound as well?

Oct 22 2018, 10:23 AM · Calligra: 3.0
danders requested review of D16367: EnhancedPathShape: Shape is moved/resized on save/load.
Oct 22 2018, 8:05 AM · Calligra: 3.0

Oct 18 2018

danders closed D16289: Karbon: Add Anthony as maintainer and remove unmaintained.
Oct 18 2018, 7:38 AM · Calligra: 3.0
anthonyfieroni accepted D16289: Karbon: Add Anthony as maintainer and remove unmaintained.
Oct 18 2018, 7:23 AM · Calligra: 3.0
danders requested review of D16289: Karbon: Add Anthony as maintainer and remove unmaintained.
Oct 18 2018, 6:21 AM · Calligra: 3.0

Oct 16 2018

danders closed T4902: Crash when inserting comment into annotation as Resolved by committing R8:d4744090e8c6: Annotation: Block adding comment to an annotation shape.
Oct 16 2018, 11:53 AM · Calligra: 3.0
danders closed D16127: Annotation: Block adding comment to an annotation shape.
Oct 16 2018, 11:53 AM · Calligra: 3.0
anthonyfieroni added a comment to D16127: Annotation: Block adding comment to an annotation shape.

Looks good to me +1

Oct 16 2018, 11:40 AM · Calligra: 3.0
danders closed T5185: Words: Strange behavior of the Undo Move shapes command as Resolved by committing R8:b88640114465: DefaultTool: Fix undo/redo move of anchored shapes.
Oct 16 2018, 11:13 AM · Calligra: 3.0
danders updated the diff for D16127: Annotation: Block adding comment to an annotation shape.
  • If no textshape is editied, select the first found text shape
Oct 16 2018, 10:56 AM · Calligra: 3.0
danders abandoned D16127: Annotation: Block adding comment to an annotation shape.
Oct 16 2018, 10:13 AM · Calligra: 3.0
danders added a comment to D16127: Annotation: Block adding comment to an annotation shape.

Arghh, accidentally propt a new diff on top of this, howto undo this?
(arc is fine, but do not do anything wrong)

Oct 16 2018, 10:11 AM · Calligra: 3.0
danders updated the diff for D16127: Annotation: Block adding comment to an annotation shape.
  • DefaultTool: Do not considder parent flags when checking Move-/ResizeAllowd
  • DefaultTool: MoveStrategy: Check if shape is movable
  • DefaultTool: ResizeStrategy: Check if shape is resizeable
  • DefaultTool: ShareStrategy: Check if shape is shearable
  • DefaultTool: RotateStrategy: Check if shape rotation is allowed
  • Fix undo/redo of anchored shapes
Oct 16 2018, 10:01 AM · Calligra: 3.0

Oct 12 2018

anthonyfieroni added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

Let's make some fix about that.

Oct 12 2018, 7:36 AM · Calligra: 3.0

Oct 11 2018

danders added a comment to D16127: Annotation: Block adding comment to an annotation shape.

No, it should not be possible to activate a tool without a shape.

Oct 11 2018, 12:27 PM · Calligra: 3.0
anthonyfieroni added inline comments to D16127: Annotation: Block adding comment to an annotation shape.
Oct 11 2018, 12:19 PM · Calligra: 3.0
danders requested review of D16127: Annotation: Block adding comment to an annotation shape.
Oct 11 2018, 11:47 AM · Calligra: 3.0
danders added a revision to T4902: Crash when inserting comment into annotation: D16127: Annotation: Block adding comment to an annotation shape.
Oct 11 2018, 11:47 AM · Calligra: 3.0
danders added a comment to T4902: Crash when inserting comment into annotation.

No, more sinister things are going on...
Adding a comment to an annotation shape should not be possible, so changes to the text tool is required.
Patch on it's way.

Oct 11 2018, 11:33 AM · Calligra: 3.0

Oct 10 2018

dcaliste added a comment to D15053: Consistently use qreal in libs/pigment.

Thank you all for the review.

Oct 10 2018, 2:35 PM · Calligra: 3.0
dcaliste closed D15053: Consistently use qreal in libs/pigment.
Oct 10 2018, 2:35 PM · Calligra: 3.0

Oct 9 2018

danders accepted D15053: Consistently use qreal in libs/pigment.

Fine with me.

Oct 9 2018, 10:38 AM · Calligra: 3.0
anthonyfieroni updated subscribers of D15053: Consistently use qreal in libs/pigment.

I'm OK with it +1, @danders or @boemann should accept it.

Oct 9 2018, 10:29 AM · Calligra: 3.0
leinir added a comment to D15053: Consistently use qreal in libs/pigment.

@dcaliste @anthonyfieroni Any updates here, pro/con? Would be a terrible shame to let this fall through :)

Oct 9 2018, 9:12 AM · Calligra: 3.0

Oct 4 2018

danders added inline comments to D15775: Make the item background color and page cache properties available from View component.
Oct 4 2018, 12:31 PM · Calligra: 3.0
anthonyfieroni added a comment to D15775: Make the item background color and page cache properties available from View component.

Also can you add parentheses over single line code and if you know better way to get impl() without duplicate calls will be great :)

Oct 4 2018, 11:38 AM · Calligra: 3.0
dcaliste added a comment to D15775: Make the item background color and page cache properties available from View component.

Thank you @leinir for your review. I've not disappeared, but I'm still thinking about a way not to expose the impl object from Document class, while not cluttering the Document API with methods like setBackgroundColor(), setPageCache() or any other future canvas methods that I may think about.

Oct 4 2018, 9:35 AM · Calligra: 3.0

Oct 2 2018

danders closed T5186: Words: Context menu pops up again after closing Shape properties dialog as Resolved.
Oct 2 2018, 10:47 AM · Calligra: 3.0

Sep 28 2018

leinir requested changes to D15775: Make the item background color and page cache properties available from View component.

Looks pretty good to me. It'd be nice if we could avoid exposing DocumentImpl (it's supposed to be sort of hidden), if you could have a think on a way to avoid that, i'd appreciate it :)

Sep 28 2018, 10:54 AM · Calligra: 3.0

Sep 26 2018

boemann added a comment to D15775: Make the item background color and page cache properties available from View component.

Ahh well in that case I don't mind and the words code looks clean enough - I'll let someone else review the components

Sep 26 2018, 8:50 PM · Calligra: 3.0
dcaliste added a comment to D15775: Make the item background color and page cache properties available from View component.

Sorry, I was not clear in my description, I'm not setting the paper background color, but the item background color, i.e. the small area around and between the pages. In most desktop application it is light grey. But when using the KWCanvasItem in another context, it would be nice to be able to set this color. It's kind of desktop color if you prefer.

Sep 26 2018, 7:44 PM · Calligra: 3.0
boemann added a comment to D15775: Make the item background color and page cache properties available from View component.

'm sorry but the background should not be settable - it's a document property at best and in fact paper is mostly white, so shouldn't even be settable

Sep 26 2018, 6:13 PM · Calligra: 3.0
dcaliste requested review of D15775: Make the item background color and page cache properties available from View component.
Sep 26 2018, 3:00 PM · Calligra: 3.0

Sep 24 2018

dcaliste closed D15728: Try to avoid segfaults on shape factory not found.
Sep 24 2018, 2:30 PM · Calligra: 3.0
boemann accepted D15728: Try to avoid segfaults on shape factory not found.
Sep 24 2018, 1:26 PM · Calligra: 3.0
dcaliste requested review of D15728: Try to avoid segfaults on shape factory not found.
Sep 24 2018, 1:08 PM · Calligra: 3.0
dcaliste closed D15679: Add missing dependencies for PART_STAGE.
Sep 24 2018, 12:36 PM · Calligra: 3.0
dcaliste closed D15617: Move away from kdebug and kdelibs4 in filter/sheets.
Sep 24 2018, 12:21 PM · Calligra: 3.0
leinir accepted D15617: Move away from kdebug and kdelibs4 in filter/sheets.

Yes please, categorification and less dependency on the support library is definitely a good thing :)

Sep 24 2018, 11:20 AM · Calligra: 3.0
leinir accepted D15679: Add missing dependencies for PART_STAGE.

Maybe it would be nice to replace the Q_ASSERT with an if (factory) {} and put a warning in the else part in case of a wrong installation and plugins are missing. What do you think ?

Sep 24 2018, 11:16 AM · Calligra: 3.0

Sep 21 2018

dcaliste requested review of D15679: Add missing dependencies for PART_STAGE.
Sep 21 2018, 1:52 PM · Calligra: 3.0
danders closed D15567: Words: Do not popup contextmenu twice.
Sep 21 2018, 12:43 PM · Calligra: 3.0
dcaliste closed D15622: Upgrade intersect() to intersected() calls.
Sep 21 2018, 12:30 PM · Calligra: 3.0
dcaliste closed D15620: Remove deprecated use of QDate::setYMD() and QFlag instead of QWindowFlag.
Sep 21 2018, 12:29 PM · Calligra: 3.0
leinir added a comment to D15053: Consistently use qreal in libs/pigment.

This is looking pretty good to me, really... i know there was talk about deprecating qreal at some point, but turns out that never happened?

Sep 21 2018, 8:13 AM · Calligra: 3.0
dcaliste closed D15619: Remove use of kglobal.h in sheets.
Sep 21 2018, 8:06 AM · Calligra: 3.0
danders accepted D15619: Remove use of kglobal.h in sheets.
Sep 21 2018, 6:57 AM · Calligra: 3.0
danders accepted D15620: Remove deprecated use of QDate::setYMD() and QFlag instead of QWindowFlag.
Sep 21 2018, 6:53 AM · Calligra: 3.0
danders accepted D15622: Upgrade intersect() to intersected() calls.
Sep 21 2018, 6:30 AM · Calligra: 3.0

Sep 20 2018

dcaliste requested review of D15622: Upgrade intersect() to intersected() calls.
Sep 20 2018, 2:41 PM · Calligra: 3.0
dcaliste updated the diff for D15617: Move away from kdebug and kdelibs4 in filter/sheets.

Update the patch, using categories for logging.

Sep 20 2018, 2:13 PM · Calligra: 3.0
dcaliste added a comment to D15617: Move away from kdebug and kdelibs4 in filter/sheets.

@anthonyfieroni I see, like in filters/sheets/html for instance. I'm going to update the diff as soon as ready. Thanks for the comment.

Sep 20 2018, 1:28 PM · Calligra: 3.0
dcaliste requested review of D15620: Remove deprecated use of QDate::setYMD() and QFlag instead of QWindowFlag.
Sep 20 2018, 1:19 PM · Calligra: 3.0
dcaliste requested review of D15619: Remove use of kglobal.h in sheets.
Sep 20 2018, 1:17 PM · Calligra: 3.0
anthonyfieroni added a comment to D15617: Move away from kdebug and kdelibs4 in filter/sheets.

This is old practice, please make a logging category -> https://doc.qt.io/qt-5/qloggingcategory.html

Sep 20 2018, 1:00 PM · Calligra: 3.0
dcaliste requested review of D15617: Move away from kdebug and kdelibs4 in filter/sheets.
Sep 20 2018, 12:54 PM · Calligra: 3.0
dcaliste closed D15236: Add missing dependencies in CMakeLists.txt.
Sep 20 2018, 8:44 AM · Calligra: 3.0
dcaliste closed D15232: Update deprecated use of setResizeMode().
Sep 20 2018, 8:38 AM · Calligra: 3.0
dcaliste closed D15231: Move to use QUrlQuery in favor of deprecated queryItemValue() from QUrl.
Sep 20 2018, 8:36 AM · Calligra: 3.0
dcaliste closed D15103: Replace deprecated use of QWeakPointer<QObject*> in favor of QPointer<QObject*>.
Sep 20 2018, 8:33 AM · Calligra: 3.0
dcaliste closed D15102: Update deprecated QAbstractItemModel::reset() to use {begin,end}ResetModel() instead.
Sep 20 2018, 8:27 AM · Calligra: 3.0
dcaliste closed D14975: Don't use obsolete QRectF and QAbstractItemModel functions.
Sep 20 2018, 7:23 AM · Calligra: 3.0

Sep 17 2018

anthonyfieroni closed D15412: [filters] Extend table lifetime.
Sep 17 2018, 1:57 PM · Calligra: 3.0
anthonyfieroni closed D15403: {Style] Default sheets to white background.
Sep 17 2018, 1:57 PM · Calligra: 3.0
anthonyfieroni closed D12839: Get Calligra to compile with Qt 5.11.

It was merged.

Sep 17 2018, 11:40 AM · Calligra: 3.0
danders closed D15549: Words: Save anchor info also for page-anchored shapes.
Sep 17 2018, 10:28 AM · Calligra: 3.0
anthonyfieroni added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

Any other ideas for special handling of headerRows == 0?

Sep 17 2018, 8:14 AM · Calligra: 3.0
boemann accepted D15549: Words: Save anchor info also for page-anchored shapes.
Sep 17 2018, 8:10 AM · Calligra: 3.0
leinir accepted D15567: Words: Do not popup contextmenu twice.

Yes please, thank you! That has frankly been bugging me for a while... We're sure there's no side effects here? But, yeah, having two menus pop up underneath each other is sort of annoying ;)

Sep 17 2018, 7:54 AM · Calligra: 3.0
danders requested review of D15567: Words: Do not popup contextmenu twice.
Sep 17 2018, 7:50 AM · Calligra: 3.0
danders added a comment to D15549: Words: Save anchor info also for page-anchored shapes.

After reading the fine print, see: http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1420028_253892949
it seems to me a shape can be anchored to a page in different ways. Note this:
"If the attribute value is not from-left and not from-inside, the svg:x attribute associated with the frame element is ignored for text documents."
This would explain that LO seems to discard x,y when anchor info is not saved.
Afaics there is no defined default values for anchor values.

Sep 17 2018, 6:47 AM · Calligra: 3.0

Sep 16 2018

boemann added a comment to D15549: Words: Save anchor info also for page-anchored shapes.

Bah I can't remember this, but page anchored shapes don't have anchors as such, so I'm wondering what exactly is this writing to file?

Sep 16 2018, 9:04 AM · Calligra: 3.0
danders requested review of D15549: Words: Save anchor info also for page-anchored shapes.
Sep 16 2018, 8:16 AM · Calligra: 3.0

Sep 13 2018

anthonyfieroni updated the diff for D15428: [textlayout] Don't enter infinite loop when table is misfit.

Another try:
Don't mark table as misfit when it does not have header rows

Sep 13 2018, 5:12 PM · Calligra: 3.0
staniek accepted D15412: [filters] Extend table lifetime.

Good job!

Sep 13 2018, 3:31 PM · Calligra: 3.0
anthonyfieroni updated the diff for D15412: [filters] Extend table lifetime.
Sep 13 2018, 2:48 PM · Calligra: 3.0
staniek added inline comments to D15412: [filters] Extend table lifetime.
Sep 13 2018, 12:03 PM · Calligra: 3.0
anthonyfieroni added a comment to D15412: [filters] Extend table lifetime.

It can be allocated only in read_tbl but as you can see in bug report, use-after-free is very common to happen.

Sep 13 2018, 11:55 AM · Calligra: 3.0
staniek requested changes to D15412: [filters] Extend table lifetime.

Thanks, lots of other people also touched this code but I tried this time to review :) I propose to separate the string literal changes.

Sep 13 2018, 8:52 AM · Calligra: 3.0
boemann added a comment to D15412: [filters] Extend table lifetime.

No idea either - jaroslaw was the original author so maybe he can take a look

Sep 13 2018, 7:52 AM · Calligra: 3.0
danders added a comment to D15412: [filters] Extend table lifetime.

Sorry, don't have any qualified opinons, I don't quite understand the original code either, so...
Imo if you think it is good, land it.

Sep 13 2018, 7:11 AM · Calligra: 3.0
anthonyfieroni added a comment to D15412: [filters] Extend table lifetime.

Ping on this, did you try it?

Sep 13 2018, 5:19 AM · Calligra: 3.0
anthonyfieroni added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

Something as

if (d->headerRows) {
    cursor->row = 0;
}
Sep 13 2018, 5:18 AM · Calligra: 3.0

Sep 12 2018

anthonyfieroni added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

It does not work, the problem is that d->headerRows is 0

Sep 12 2018, 12:45 PM · Calligra: 3.0
boemann added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

I am more thinking of this place:

Sep 12 2018, 10:39 AM · Calligra: 3.0
anthonyfieroni added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

One reason why this might fail is if virginpage becomes false when we add the table headerrow (if we can fix this and that doesn't have other ill effect then I would prefer such a solution).
So find out where we set virginpage to false, and make sure it doesn't go from true to false when adding the header row

I hope this makes sense

Sep 12 2018, 8:03 AM · Calligra: 3.0
boemann added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

The idea is that if we are at the beginning of a new page we don't get in here (virginpage is true)
so we only reset if we are somewhere down on a page meaning we wil have more space to try on next time around
But we should reset if the only thing we fitted was the table header as a table headerrow should never be the only thing on a page

Sep 12 2018, 6:26 AM · Calligra: 3.0

Sep 11 2018

anthonyfieroni added inline comments to D15428: [textlayout] Don't enter infinite loop when table is misfit.
Sep 11 2018, 9:05 PM · Calligra: 3.0
boemann added inline comments to D15428: [textlayout] Don't enter infinite loop when table is misfit.
Sep 11 2018, 8:08 PM · Calligra: 3.0
anthonyfieroni updated the diff for D15428: [textlayout] Don't enter infinite loop when table is misfit.

Initialize labelYOffset even layout line is not valid

Sep 11 2018, 2:40 PM · Calligra: 3.0
anthonyfieroni updated the summary of D15428: [textlayout] Don't enter infinite loop when table is misfit.
Sep 11 2018, 1:47 PM · Calligra: 3.0
anthonyfieroni retitled D15428: [textlayout] Don't enter infinite loop when table is misfit from [textlayout] Don't enter infinite loop when table are misfit to [textlayout] Don't enter infinite loop when table is misfit.
Sep 11 2018, 1:44 PM · Calligra: 3.0
anthonyfieroni requested review of D15428: [textlayout] Don't enter infinite loop when table is misfit.
Sep 11 2018, 1:43 PM · Calligra: 3.0
danders accepted D15403: {Style] Default sheets to white background.
Sep 11 2018, 6:15 AM · Calligra: 3.0
danders added a comment to D15403: {Style] Default sheets to white background.

Hmm, imo styling odf apps content area should be considdered a bug :=)
Because: All info pertaining to presentation of content is stored in odf file and is controllable by user, so styling it would often create strange resullts. (And it would not be much wysiwyg about it)
Of course everything else like tools, dialogs, window decorations can be styled.

Sep 11 2018, 6:15 AM · Calligra: 3.0
anthonyfieroni updated the diff for D15412: [filters] Extend table lifetime.

Aggressive refactor, it makes m_table a shared pointer, presetTables is one time initialized.

Sep 11 2018, 5:07 AM · Calligra: 3.0

Sep 10 2018

anthonyfieroni requested review of D15412: [filters] Extend table lifetime.
Sep 10 2018, 6:29 PM · Calligra: 3.0
anthonyfieroni added a comment to D15403: {Style] Default sheets to white background.

It's inspired in forum discussion, it has predominately advice that other Calligra apps has a white background despite palette but sheets.

Sep 10 2018, 5:14 PM · Calligra: 3.0
boemann added a comment to D15403: {Style] Default sheets to white background.

No Idea about the code, but in general I have no problem with sheets respecting the palette

Sep 10 2018, 3:57 PM · Calligra: 3.0