Feed Advanced Search

Dec 27 2018

cfeck updated the summary of D17352: Made descriptions for DEC2BIN/OCT2BIN/HEX2DEC/HEX2BIN mention input number system.
Dec 27 2018, 6:08 PM · Calligra: 3.0

Dec 18 2018

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

good investigative work, but I fear those tests are way too simple to dare apply the patch.

Dec 18 2018, 9:13 AM · Calligra: 3.0
danders added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

Fidled a little more with this, and found several problems when table with merged cells is split over pages,
like unmerged cell painted on both pages (empty on first page), caret not shown in selected cell and sometimes shown in prev cell.

Dec 18 2018, 8:48 AM · Calligra: 3.0

Dec 17 2018

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

And has anyone been able to produce a smaller 1 page example of the document - we are stumbling blindly here.
Do we have an odf snippet of the table that gives the problem?

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

Still not the description i was looking for. I want to know what the extreme case is and what the resulting document should look like when we give up:

Dec 17 2018, 12:08 PM · Calligra: 3.0
anthonyfieroni added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

In facts that's 2 crashes, first one in ascent, second one misfit.

Dec 17 2018, 11:58 AM · Calligra: 3.0
danders added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

No you misunderstand. I wasn't talking about you diff - I want to know what it is we are trying to accomplish. in spoken words

Dec 17 2018, 11:51 AM · Calligra: 3.0
boemann added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

No you misunderstand. I wasn't talking about you diff - I want to know what it is we are trying to accomplish. in spoken words

Dec 17 2018, 11:36 AM · Calligra: 3.0
anthonyfieroni added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

@danders you can commandeer this revision to update diff.

Dec 17 2018, 11:36 AM · Calligra: 3.0
danders added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

Dan I like your diff better - I don't think it's completely there but it's a better starting point

On a more conceptual level, what should happen if the design of table is such that headers can't fit on a virgin page? What should we do.? One one hand it should be there but on the other hand we will never get to show the real part of the table ever.
What is the solution we should aim for?

Dec 17 2018, 11:32 AM · Calligra: 3.0
danders added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

Yep, it's look like same approach to mine, did you try mine or it's not correct in all cases?

Dec 17 2018, 11:28 AM · Calligra: 3.0
boemann added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

Dan I like your diff better - I don't think it's completely there but it's a better starting point

Dec 17 2018, 11:08 AM · Calligra: 3.0
anthonyfieroni added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

Yep, it's look like same approach to mine, did you try mine or it's not correct in all cases?

Dec 17 2018, 10:58 AM · Calligra: 3.0
danders added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

I ended up in the same spot as you:
Since all columns in row 0 spans rows, totalMisFit will always be set to true and the whole table is layed out on next page, and next page again and again ...

Dec 17 2018, 10:43 AM · Calligra: 3.0

Dec 14 2018

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

Ok, think I'm on to something.
Testing with the 1.doc in bug 381341. It seems it fails on the table in approx page 222 (open in LO)
with text in 0,0: Экономический субъект
Stepping through the KoTextLayoutTableArea::layoutRow(), it seems *all* columns in row 0 (at least) spans rows and hence (I think) layouting does not work.

Dec 14 2018, 12:34 PM · Calligra: 3.0

Dec 13 2018

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

@danders that was one of my previous approach. Let @boemann tolds us which is correct one.

Dec 13 2018, 6:30 PM · Calligra: 3.0

Dec 12 2018

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

Had a closer look at this. Afaics we get an infinit loop when a table is 'totally misfit',
Can't say I understand the table layout logic, but my assumption is that if a row is a total misfit it can't just be ignored,
so breaking off the row layout loop in this case seems to work:

Dec 12 2018, 2:25 PM · Calligra: 3.0

Dec 9 2018

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

Would it be possible to make a unit test?

Dec 9 2018, 3:42 PM · Calligra: 3.0
niccolove updated the summary of D17352: Made descriptions for DEC2BIN/OCT2BIN/HEX2DEC/HEX2BIN mention input number system.
Dec 9 2018, 9:14 AM · Calligra: 3.0

Dec 8 2018

anthonyfieroni abandoned D16784: Remove whitespace created by D16721.

Ok, let not make whitespace commit. @ognarb just be more precise next time.

Dec 8 2018, 8:38 AM · Calligra: 3.0
anthonyfieroni commandeered D16784: Remove whitespace created by D16721.
Dec 8 2018, 8:37 AM · Calligra: 3.0
anthonyfieroni added a comment to D15428: [textlayout] Don't enter infinite loop when table is misfit.

Ping

Dec 8 2018, 7:14 AM · Calligra: 3.0

Dec 4 2018

aspotashev added a comment to D17352: Made descriptions for DEC2BIN/OCT2BIN/HEX2DEC/HEX2BIN mention input number system.

Please add the bug report ID to the commit message, see for example:
https://cgit.kde.org/calligra.git/commit/?id=f1e95f48e44ed548b41ab855432cb57d9c79eee9

Dec 4 2018, 6:44 PM · Calligra: 3.0
aspotashev accepted D17352: Made descriptions for DEC2BIN/OCT2BIN/HEX2DEC/HEX2BIN mention input number system.

Looks good to me.

Dec 4 2018, 6:41 PM · Calligra: 3.0
niccolove added a comment to D17352: Made descriptions for DEC2BIN/OCT2BIN/HEX2DEC/HEX2BIN mention input number system.

Related bug: https://bugs.kde.org/show_bug.cgi?id=399569

Dec 4 2018, 6:15 PM · Calligra: 3.0
niccolove updated the diff for D17352: Made descriptions for DEC2BIN/OCT2BIN/HEX2DEC/HEX2BIN mention input number system.

Deleted one of the two accidentally double-pasted xml content.

Dec 4 2018, 5:52 PM · Calligra: 3.0
niccolove requested review of D17352: Made descriptions for DEC2BIN/OCT2BIN/HEX2DEC/HEX2BIN mention input number system.
Dec 4 2018, 5:49 PM · Calligra: 3.0

Nov 14 2018

danders closed D16756: CalloutShape: Add a new shape to handle callouts.
Nov 14 2018, 10:00 AM · Calligra: 3.0

Nov 10 2018

bcooksley added a comment to D16721: Use Krita toolbar in Karbon.

Anyone who has already pulled in the latest changes will need to forcibly reset their local working tree after the force push is completed.
Should they have staged work, this would need to be rebased, which can be a non-trivial process and one many developers will not be familiar with.

Nov 10 2018, 8:06 PM · Calligra: 3.0
anthonyfieroni added a comment to D16721: Use Krita toolbar in Karbon.

Force pushes are generally reserved for pretty serious issues, couldn't the whitespace be corrected with a follow up commit to remove it?

Nov 10 2018, 9:03 AM · Calligra: 3.0
anthonyfieroni added a comment to D16784: Remove whitespace created by D16721.

But it's not only that https://phabricator.kde.org/R8:a7ee6f871af225fd5edc9458ee183604fabadc8a
Notice ~SectionLayout() and many others, you should use settings that trim whitespaces on file save. In Kate -> settings -> open/save -> Remove trailing spaces -> In entire document.

Nov 10 2018, 9:01 AM · Calligra: 3.0

Nov 9 2018

ognarb updated the summary of D16784: Remove whitespace created by D16721.
Nov 9 2018, 6:44 PM · Calligra: 3.0
ognarb requested review of D16784: Remove whitespace created by D16721.
Nov 9 2018, 6:38 PM · Calligra: 3.0
bcooksley added a comment to D16721: Use Krita toolbar in Karbon.

Force pushes are generally reserved for pretty serious issues, couldn't the whitespace be corrected with a follow up commit to remove it?

Nov 9 2018, 6:00 PM · Calligra: 3.0
anthonyfieroni updated subscribers of D16721: Use Krita toolbar in Karbon.

Please contact @bcooksley to remote all white space changes from you commit. Please be more precise when you commit, you introduce even more white spaces rather than to remove them.

Nov 9 2018, 5:51 PM · Calligra: 3.0
ognarb added a comment to D16721: Use Krita toolbar in Karbon.

Please, remove all white space changes before commit. It will be better if you test the patch some time without crash or other downsides. If you notice something wrong write here. If all is good you can commit in few days. Thank you for patch, other patches are welcome.

Nov 9 2018, 4:51 PM · Calligra: 3.0
ognarb closed D16721: Use Krita toolbar in Karbon.
Nov 9 2018, 4:43 PM · Calligra: 3.0
ognarb updated the diff for D16721: Use Krita toolbar in Karbon.

Remove all whitespace

Nov 9 2018, 4:40 PM · Calligra: 3.0
anthonyfieroni accepted D16721: Use Krita toolbar in Karbon.

Please, remove all white space changes before commit. It will be better if you test the patch some time without crash or other downsides. If you notice something wrong write here. If all is good you can commit in few days. Thank you for patch, other patches are welcome.

Nov 9 2018, 4:33 PM · Calligra: 3.0
ognarb removed a reviewer for D16721: Use Krita toolbar in Karbon: Krita.
Nov 9 2018, 4:05 PM · Calligra: 3.0
ognarb added a comment to D16721: Use Krita toolbar in Karbon.

Can you add screenshots of horizontal and vertical version, add it to test, just to have how it looks. I see some gestures that i cannot test, did you can, touchscreen, tablet or something that this code works :)

Nov 9 2018, 4:01 PM · Calligra: 3.0
ognarb updated the diff for D16721: Use Krita toolbar in Karbon.

Fix

Nov 9 2018, 3:11 PM · Calligra: 3.0
anthonyfieroni added a comment to D16721: Use Krita toolbar in Karbon.

Can you add screenshots of horizontal and vertical version, add it to test, just to have how it looks. I see some gestures that i cannot test, did you can, touchscreen, tablet or something that this code works :)

Nov 9 2018, 1:17 PM · Calligra: 3.0
ognarb added a comment to D16721: Use Krita toolbar in Karbon.

Can you test my suggestions, it's looks good to me.

Nov 9 2018, 12:59 PM · Calligra: 3.0
ognarb updated the diff for D16721: Use Krita toolbar in Karbon.

Apply change according to review

Nov 9 2018, 12:50 PM · Calligra: 3.0
anthonyfieroni added inline comments to D16721: Use Krita toolbar in Karbon.
Nov 9 2018, 7:09 AM · Calligra: 3.0
anthonyfieroni added a comment to D16721: Use Krita toolbar in Karbon.

Can you test my suggestions, it's looks good to me.

Nov 9 2018, 7:08 AM · Calligra: 3.0

Nov 8 2018

ognarb updated the diff for D16721: Use Krita toolbar in Karbon.

Revert a bit more

Nov 8 2018, 12:03 PM · Calligra: 3.0
ognarb added a comment to D16721: Use Krita toolbar in Karbon.

Config, if it's not set explicitly, <appname> + "rc" https://api.kde.org/frameworks/kconfig/html/kconfig_8cpp_source.html#l00607

Nov 8 2018, 11:46 AM · Calligra: 3.0
danders requested review of D16756: CalloutShape: Add a new shape to handle callouts.
Nov 8 2018, 11:38 AM · Calligra: 3.0
anthonyfieroni added a comment to D16721: Use Krita toolbar in Karbon.

Config, if it's not set explicitly, <appname> + "rc" https://api.kde.org/frameworks/kconfig/html/kconfig_8cpp_source.html#l00607

Nov 8 2018, 11:29 AM · Calligra: 3.0
ognarb added a comment to D16721: Use Krita toolbar in Karbon.

About the config for the KoKineticScroller. Do you perhaps know where to find the .kcfg file from calligra?

Nov 8 2018, 10:01 AM · Calligra: 3.0
anthonyfieroni added inline comments to D16721: Use Krita toolbar in Karbon.
Nov 8 2018, 8:55 AM · Calligra: 3.0

Nov 7 2018

ognarb added a comment to D16721: Use Krita toolbar in Karbon.

Return QObjects, if you have problems copy linker output here.

Nov 7 2018, 11:53 PM · Calligra: 3.0
ognarb updated the diff for D16721: Use Krita toolbar in Karbon.

Removing useless arg

Nov 7 2018, 11:51 PM · Calligra: 3.0
ognarb updated the diff for D16721: Use Krita toolbar in Karbon.

Remove bad code

Nov 7 2018, 10:43 PM · Calligra: 3.0
anthonyfieroni added a comment to D16721: Use Krita toolbar in Karbon.

Return QObjects, if you have problems copy linker output here.

Nov 7 2018, 2:35 PM · Calligra: 3.0
ognarb added a comment to D16721: Use Krita toolbar in Karbon.

I'm adding Krita as reviewer, because Karbon is unmaintained and I hope someone at Krita as some experience with the toolbox

I'm the maintainer of Karbon, for now.

Nov 7 2018, 2:00 PM · Calligra: 3.0
ognarb updated the diff for D16721: Use Krita toolbar in Karbon.

Fix some indentation problem

Nov 7 2018, 1:21 PM · Calligra: 3.0
ognarb updated the diff for D16721: Use Krita toolbar in Karbon.

Revert more change

Nov 7 2018, 9:51 AM · Calligra: 3.0
ognarb updated the diff for D16721: Use Krita toolbar in Karbon.

Revert foreach and remove whitespace

Nov 7 2018, 9:48 AM · Calligra: 3.0
ognarb updated the diff for D16721: Use Krita toolbar in Karbon.

Rever foreach

Nov 7 2018, 9:47 AM · Calligra: 3.0
ognarb updated the diff for D16721: Use Krita toolbar in Karbon.

Revert some change more to come

Nov 7 2018, 9:43 AM · Calligra: 3.0
anthonyfieroni added a comment to D16721: Use Krita toolbar in Karbon.

I'm adding Krita as reviewer, because Karbon is unmaintained and I hope someone at Krita as some experience with the toolbox

Nov 7 2018, 6:49 AM · Calligra: 3.0

Nov 6 2018

ognarb updated the summary of D16721: Use Krita toolbar in Karbon.
Nov 6 2018, 11:27 PM · Calligra: 3.0
ognarb added reviewers for D16721: Use Krita toolbar in Karbon: Krita, Calligra: 3.0.
Nov 6 2018, 11:18 PM · Calligra: 3.0
ognarb requested review of D16721: Use Krita toolbar in Karbon.
Nov 6 2018, 11:15 PM · Calligra: 3.0

Nov 5 2018

danders closed D16679: Words: Fix interop problem with LO/OO.
Nov 5 2018, 12:05 PM · Calligra: 3.0
boemann accepted D16679: Words: Fix interop problem with LO/OO.
Nov 5 2018, 12:01 PM · Calligra: 3.0
danders requested review of D16679: Words: Fix interop problem with LO/OO.
Nov 5 2018, 11:43 AM · Calligra: 3.0

Nov 2 2018

arojas closed D16607: Fix build with poppler 0.71.
Nov 2 2018, 8:27 PM · Calligra: 3.0
aacid accepted D16607: Fix build with poppler 0.71.
Nov 2 2018, 8:09 PM · Calligra: 3.0
arojas requested review of D16607: Fix build with poppler 0.71.
Nov 2 2018, 8:46 AM · Calligra: 3.0

Oct 29 2018

danders abandoned D16367: EnhancedPathShape: Shape is moved/resized on save/load.

Ok, after some more investigation, I've found a number of problems around these things.
This was really just a bug in the stencil database.odg file.
The callout stuff is the big one, because it abuses odf so needs special treatment.
I'll just call this patch a false start and abondone it.

Oct 29 2018, 8:09 AM · Calligra: 3.0

Oct 27 2018

arojas closed D16455: Fix build with poppler<0.64, take 2.
Oct 27 2018, 11:18 AM · Calligra: 3.0
aacid accepted D16455: Fix build with poppler<0.64, take 2.
Oct 27 2018, 10:31 AM · Calligra: 3.0
arojas requested review of D16455: Fix build with poppler<0.64, take 2.
Oct 27 2018, 9:27 AM · Calligra: 3.0

Oct 26 2018

aacid added a comment to D16406: Fix build with poppler<0.64.

When you say "But this one needs to be fixed in the 3.1 branch too" you mean D16406 (i.e. this very same patch) or the compilation error because of the overrides?

I mean this one, the other error doesn't happen in 3.1 since you only pushed the changes to master

Oct 26 2018, 10:52 PM · Calligra: 3.0
arojas added a comment to D16406: Fix build with poppler<0.64.

When you say "But this one needs to be fixed in the 3.1 branch too" you mean D16406 (i.e. this very same patch) or the compilation error because of the overrides?

Oct 26 2018, 10:38 PM · Calligra: 3.0
arojas closed D16406: Fix build with poppler<0.64.
Oct 26 2018, 10:36 PM · Calligra: 3.0
aacid accepted D16406: Fix build with poppler<0.64.

When you say "But this one needs to be fixed in the 3.1 branch too" you mean D16406 (i.e. this very same patch) or the compilation error because of the overrides?

Oct 26 2018, 10:29 PM · Calligra: 3.0
arojas added a comment to D16406: Fix build with poppler<0.64.

Indeed git master doesn't build with 0.55:

Oct 26 2018, 10:25 PM · Calligra: 3.0
aacid added a comment to D16406: Fix build with poppler<0.64.

Looks good, since you seem to have a pre 0.64 build at hand, could you check it still actually builds after i added all the overrides? Maybe we need some more ifdef

Oct 26 2018, 9:51 PM · Calligra: 3.0
arojas updated the diff for D16406: Fix build with poppler<0.64.

Invert conditional

Oct 26 2018, 7:20 PM · Calligra: 3.0
aacid added a comment to D16406: Fix build with poppler<0.64.

I'd say let's go with what René suggested, i guess it what makes more sense.

Oct 26 2018, 7:09 PM · Calligra: 3.0
arojas added a comment to D16406: Fix build with poppler<0.64.

I don't mind either way. In the future this could be changed to VERSION_GREATER_EQUAL when this can depend on cmake 3.7

Oct 26 2018, 8:09 AM · Calligra: 3.0
rikmills added a comment to D16388: Fix build with poppler 0.69.
In D16388#348767, @pino wrote:
Oct 26 2018, 7:07 AM · Calligra: 3.0
pino added a comment to D16388: Fix build with poppler 0.69.

Build failure:

Oct 26 2018, 7:05 AM · Calligra: 3.0
rikmills added a comment to D16388: Fix build with poppler 0.69.

Build failure:

Oct 26 2018, 7:02 AM · Calligra: 3.0

Oct 25 2018

rjvbb added a comment to D16406: Fix build with poppler<0.64.

How about

Oct 25 2018, 9:19 PM · Calligra: 3.0
aacid added inline comments to D16406: Fix build with poppler<0.64.
Oct 25 2018, 8:53 PM · Calligra: 3.0
arojas updated the diff for D16406: Fix build with poppler<0.64.

Check for poppler version at cmake time

Oct 25 2018, 6:50 AM · Calligra: 3.0

Oct 24 2018

pino requested changes to D16406: Fix build with poppler<0.64.

Please do a feature test at cmake time instead.

Oct 24 2018, 5:01 PM · Calligra: 3.0
arojas requested review of D16406: Fix build with poppler<0.64.
Oct 24 2018, 4:49 PM · Calligra: 3.0
arojas closed D16388: Fix build with poppler 0.69.
Oct 24 2018, 6:28 AM · Calligra: 3.0

Oct 23 2018

aacid accepted D16388: Fix build with poppler 0.69.

i'm really wondering how broken SvgOutputDev.h is since we've changed the API a bit i think. If it's not using override i guess suddenly stopped overriding functions and noone realized...

Oct 23 2018, 8:23 PM · Calligra: 3.0
arojas requested review of D16388: Fix build with poppler 0.69.
Oct 23 2018, 3:04 PM · Calligra: 3.0
danders added a comment to D16367: EnhancedPathShape: Shape is moved/resized on save/load.

Yes, found it: https://bugs.kde.org/show_bug.cgi?id=289646
Afaics this affects only callout shapes where OO/LO breaks the intention of the odf spec
by using the shape size and position as text area.
This is ok (sort of) when text area and shape area overlap but not when part of the path goes outside
the shape area as with callouts.
The current code fixes this but we also get false positives as demonstrated.
I'll try to find a more specific way to handle this.
I doubt LO will fix this, ever, so we have to live with it, but I *hate* working around bugs in other apps.

Oct 23 2018, 10:29 AM · Calligra: 3.0

Oct 22 2018

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

As I recall it was one of the files in the huge dataset - there should be a bug on it

Oct 22 2018, 3:44 PM · Calligra: 3.0
danders added a comment to D16367: EnhancedPathShape: Shape is moved/resized on save/load.

I have tested with LO:
Create with flow,
Open in LO,
Save in LO,
Open in flow.
And it seems to work, so there must be some special case?
The only workaround I've seen is for ellipses.
No chance for a testdoc I guess...

Oct 22 2018, 12:45 PM · Calligra: 3.0