Feed Advanced Search

May 26 2019

ngraham added a reviewer for D21416: Add icons for line annotation arrow styles to combo box: Okular.

Very nice!

May 26 2019, 4:49 PM · Okular
tobiasdeiminger updated the summary of D21416: Add icons for line annotation arrow styles to combo box.
May 26 2019, 3:55 PM · Okular
tobiasdeiminger requested review of D21416: Add icons for line annotation arrow styles to combo box.
May 26 2019, 3:51 PM · Okular
tobiasdeiminger added a dependent revision for D21248: Add line annotation ending arrows for non PDF documents: D21416: Add icons for line annotation arrow styles to combo box.
May 26 2019, 3:51 PM · Okular
ngraham added a comment to D10859: Improve layout of annotation configuration dialogs.

Awesome!

May 26 2019, 3:40 PM · Okular
davidhurka added inline comments to D21376: RFC: In annotations list show highlighted text.
May 26 2019, 10:54 AM · Okular
tobiasdeiminger updated the diff for D21248: Add line annotation ending arrows for non PDF documents.

Rebase on master.

May 26 2019, 10:27 AM · Okular
simgunz added a comment to D10859: Improve layout of annotation configuration dialogs.

This diff was on hold because of the work I am doing on the new annotation toolbar, that may make all the annotation configuration dialogs obsolete. But I now think those dialogs may still be useful, so that we can move this review forward. I am going to rebase it and possibly fix the layout of the newly added fields in a few days.

May 26 2019, 8:49 AM · Okular
simgunz added a comment to D15580: New annotation toolbar.

I am going to rebase it to master and push some new changes in a few days.

May 26 2019, 8:47 AM · Documentation, Okular
tobiasdeiminger closed D21332: Okular Annotation: add line start/end style config only for Straight Line tool.
May 26 2019, 8:15 AM · Okular

May 25 2019

davidhurka added a comment to D21281: [WIP] Write Documentation for Okular::Part.

If you say “at this low level”, would being more abstract make more sense?

May 25 2019, 11:19 PM · Okular
aacid added a comment to D21248: Add line annotation ending arrows for non PDF documents.

I haven't tested it and haven't tried understanding the code farther than "this is a bunch of painting code".

May 25 2019, 11:05 PM · Okular
aacid added a comment to D21281: [WIP] Write Documentation for Okular::Part.

Honestly i don't think documenting things at this low level makes sense, it'll break because people will never remember to update comments even if it's just on the line above the code they are changing.

May 25 2019, 10:51 PM · Okular
davidhurka added a comment to D21281: [WIP] Write Documentation for Okular::Part.

I’m complaining a lot about the source code. Don’t understand that as arrogant demand to fix it, just tell me to do it. Anyway, the code works, so no need to change it?

May 25 2019, 10:40 PM · Okular
davidhurka added a comment to D21281: [WIP] Write Documentation for Okular::Part.

Giving up for today, there are sooooo many functions of the format open*(url).

May 25 2019, 10:37 PM · Okular
aacid added a comment to D21363: Fix build with poppler < 0.51.

Now if somebody spends time testing this and makes sure it doesn't regress for the rest of us using reasonable pakcages i'm not against this landing.

May 25 2019, 10:09 PM · Okular
aacid added a comment to D21363: Fix build with poppler < 0.51.

You're hurting yourself for no reason. You either stay in old versions or use new versions. Mix and match is a good recipe for pain like you're experiencing here.

May 25 2019, 10:08 PM · Okular
tobiasdeiminger updated the diff for D21248: Add line annotation ending arrows for non PDF documents.

Don't draw a line end if line end style is LineAnnotation::None.

May 25 2019, 9:13 PM · Okular
davidhurka updated the diff for D21281: [WIP] Write Documentation for Okular::Part.

Did exactly this (and some more)

  • Improve code documentation of updateViewActions() and showMenu()
  • Document random member functions of Part, including showMenu()
  • Document more random member functions of Part, including openUrl(), and improve thats code comments
  • Document even more open*(url) functions, and slotPrint(). Also complain about source code.
  • Remove TODOs (but not all)
May 25 2019, 8:53 PM · Okular
davidhurka added a comment to D21364: Indicate annotation color in annotation list.

Now it looks like this:

Looks ok, but if someone makes PageViewAnnotator::makeToolPixmap() return a QIcon(Engine) instead of a pixmap, it will look better.

May 25 2019, 1:29 PM · Okular
davidhurka added a comment to D21364: Indicate annotation color in annotation list.

Why do you move EditAnnotToolDialog to GuiUtils? / How does the annotation tool bar (shown with F6) get its icons?

May 25 2019, 1:14 PM · Okular
davidhurka added a comment to D21376: RFC: In annotations list show highlighted text.

Your code:

Wouldn’t static_cast<>() be better than a C-style cast?

May 25 2019, 12:46 PM · Okular
davidhurka edited reviewers for D21376: RFC: In annotations list show highlighted text, added: aacid; removed: davidhurka.

You are not touching “Highlight with Comment”-style texts, which is probably good. (And would fit in another commit anyway.)
There was a discussion about this in D10797, and in T8533 in more general, but this patch is probably fine.
(T8533 is why I thought the annotations would have been y-ordered.)

May 25 2019, 12:30 PM · Okular
davidhurka added inline comments to D18358: Add buttons to collapse and expand all elements.
May 25 2019, 12:15 PM · Okular
tobiasdeiminger updated the diff for D21248: Add line annotation ending arrows for non PDF documents.

Add some const.

May 25 2019, 11:52 AM · Okular
volkov added a comment to D21363: Fix build with poppler < 0.51.

My OS (AstraLinux) is based on Debian stretch and has poppler 0.48, Qt 5.11, KF5 5.46.
And probably it will be a headache to update poppler on it, cause it's rather low-level library (cups-filters depends on it).

May 25 2019, 11:35 AM · Okular
knambiar added a comment to D10859: Improve layout of annotation configuration dialogs.

Would be easier to test this change if it is rebased against current master, as many changes landed in annotationwidgets.{h,cpp} recently.

May 25 2019, 9:24 AM · Okular
tobiasdeiminger accepted D21332: Okular Annotation: add line start/end style config only for Straight Line tool.

Thanks. If nobody objects I'll land this tomorrow.

May 25 2019, 9:23 AM · Okular
knambiar added a comment to D15580: New annotation toolbar.

This change doesn't cleanly apply on the current master branch. Would you rebase the changes, or is there a branch it could be built against (I don't see annotation-toolbar branch yet)?

May 25 2019, 9:22 AM · Documentation, Okular
knambiar updated the diff for D21332: Okular Annotation: add line start/end style config only for Straight Line tool.

Add Q_ASSERT for the configs.

May 25 2019, 4:40 AM · Okular

May 24 2019

aacid added inline comments to D21248: Add line annotation ending arrows for non PDF documents.
May 24 2019, 10:29 PM · Okular
aacid added a comment to D21363: Fix build with poppler < 0.51.

One proposal i have is actually saying we don't support poppler 0.50

May 24 2019, 8:26 PM · Okular
tobiasdeiminger added inline comments to D21332: Okular Annotation: add line start/end style config only for Straight Line tool.
May 24 2019, 4:46 PM · Okular
knambiar added inline comments to D21332: Okular Annotation: add line start/end style config only for Straight Line tool.
May 24 2019, 5:45 AM · Okular
knambiar updated the diff for D21332: Okular Annotation: add line start/end style config only for Straight Line tool.

Fix crash, m_{start,end}StyleCombo are guarded by m_lineType == 0 check for Straight Line tool.

May 24 2019, 5:44 AM · Okular

May 23 2019

jangmarker added inline comments to D21376: RFC: In annotations list show highlighted text.
May 23 2019, 11:27 PM · Okular
jangmarker added reviewers for D21376: RFC: In annotations list show highlighted text: Okular, davidhurka.
May 23 2019, 11:26 PM · Okular
jangmarker requested review of D21376: RFC: In annotations list show highlighted text.
May 23 2019, 11:26 PM · Okular
jangmarker added a comment to D21364: Indicate annotation color in annotation list.

Now it looks like this:

May 23 2019, 10:05 PM · Okular
jangmarker updated the diff for D21364: Indicate annotation color in annotation list.

Instead of showing colorful rectangles, use same icons as for annotation tool

May 23 2019, 10:02 PM · Okular
jangmarker added a comment to D21364: Indicate annotation color in annotation list.

I think captionForAnnotation() does not include the comment's text currently, so this change should probably be done in another commit.

It would make sense to show icons to indicate the annotation type, e.g. a different icon for highlight, freehand lines, underlines etc. And if these were colored according to the annotation's color, that would be perfect IMO.

That’s what I meant. :)

May 23 2019, 9:19 PM · Okular
davidhurka added a comment to D21364: Indicate annotation color in annotation list.

I think captionForAnnotation() does not include the comment's text currently, so this change should probably be done in another commit.

May 23 2019, 9:13 PM · Okular
tobiasdeiminger added inline comments to D21332: Okular Annotation: add line start/end style config only for Straight Line tool.
May 23 2019, 9:05 PM · Okular
jangmarker added a comment to D21364: Indicate annotation color in annotation list.

Nice, makes the list more intuitive. :) (Didn’t test this)

Thank you :-) Currently it looks like this:

May 23 2019, 8:24 PM · Okular
davidhurka added a comment to D21364: Indicate annotation color in annotation list.

Nice, makes the list more intuitive. :) (Didn’t test this)

May 23 2019, 4:14 PM · Okular
jangmarker added a reviewer for D21364: Indicate annotation color in annotation list: Okular.
May 23 2019, 12:23 PM · Okular
jangmarker requested review of D21364: Indicate annotation color in annotation list.
May 23 2019, 12:22 PM · Okular
volkov added reviewers for D21363: Fix build with poppler < 0.51: Okular, sander.
May 23 2019, 10:31 AM · Okular
volkov added a comment to D21320: Fix build with poppler < 0.51.

Sorry. I didn't add #include <config-okular-poppler.h> to formfields.h.
Correct fix: D21363.

May 23 2019, 10:31 AM · Okular
volkov requested review of D21363: Fix build with poppler < 0.51.
May 23 2019, 10:28 AM · Okular
knambiar added a comment to D21332: Okular Annotation: add line start/end style config only for Straight Line tool.

Btw., can we do polylines yet? The only way I found was to tweak engine points attribute for tool type straight-line in ~/.config/okularpartrc.

May 23 2019, 7:09 AM · Okular
knambiar updated the diff for D21332: Okular Annotation: add line start/end style config only for Straight Line tool.

Rebase against current master

May 23 2019, 7:06 AM · Okular
tobiasdeiminger added a comment to D21332: Okular Annotation: add line start/end style config only for Straight Line tool.

arc patch fails, could you please rebase on current master? You may also want to add CCBUG: 381629 to the description.

May 23 2019, 6:46 AM · Okular
sander added a comment to D21320: Fix build with poppler < 0.51.

My error. Apologies!

May 23 2019, 4:42 AM · Okular

May 22 2019

aacid closed D20948: [EPubGenerator] Avoid pointless scans of the whole document.
May 22 2019, 10:29 PM · Okular
aacid accepted D20948: [EPubGenerator] Avoid pointless scans of the whole document.

makes sense

May 22 2019, 10:28 PM · Okular
aacid closed D20949: [EPubGenerator] Avoid crashes due to bogus wrapping of content in table.
May 22 2019, 10:25 PM · Okular
aacid accepted D20949: [EPubGenerator] Avoid crashes due to bogus wrapping of content in table.

ok, i guess, the padding was a bit arbitrary and to first page only anyway ^_^

May 22 2019, 10:24 PM · Okular
tobiasdeiminger updated the summary of D21248: Add line annotation ending arrows for non PDF documents.
May 22 2019, 9:58 PM · Okular
aacid closed D20950: [EPubGenerator] Use proper UserResource enum value for custom resource.
May 22 2019, 9:54 PM · Okular
aacid accepted D20950: [EPubGenerator] Use proper UserResource enum value for custom resource.

Makes sense

May 22 2019, 9:53 PM · Okular
aacid added a comment to D21320: Fix build with poppler < 0.51.

I've reverted the changeset since it was breaking the build

May 22 2019, 8:57 PM · Okular
joaonetto added a comment to D21320: Fix build with poppler < 0.51.

This broke the compilation process on my machine. I just tested with a clean version of KDE Neon, Poppler 0.62, and it doesn't compile, something about FormFieldsSignatures.

May 22 2019, 8:14 PM · Okular
davidhurka added a comment to D21281: [WIP] Write Documentation for Okular::Part.

Probably it should be described how dropped URLs are handled in general? Sometimes the Part uses them and wildly opens files, sometimes not.

May 22 2019, 7:02 PM · Okular
davidhurka updated the diff for D21281: [WIP] Write Documentation for Okular::Part.
  • Part::Part() 'QObject is a widget' -> 'QObject is an object'
  • Document some D-Bus methods and Part signals, minor improvements in Document
May 22 2019, 6:48 PM · Okular
joaonetto updated the diff for D21202: [WIP] Support animated PDF.

Documentation and fixing spaces

May 22 2019, 5:16 PM · Okular
joaonetto updated the test plan for D21202: [WIP] Support animated PDF.
May 22 2019, 5:11 PM · Okular
joaonetto updated the diff for D21202: [WIP] Support animated PDF.

Implemented setInterval/clearInterval. WidgetScripts are now supported on pageOpening/Closing.

May 22 2019, 5:09 PM · Okular
volkov closed D21320: Fix build with poppler < 0.51.
May 22 2019, 12:33 PM · Okular
kezik added a comment to D20437: Make selection scrolling go at 60 fps.

Thanks everybody

May 22 2019, 12:04 PM · Okular
knambiar requested review of D21332: Okular Annotation: add line start/end style config only for Straight Line tool.
May 22 2019, 9:44 AM · Okular
knambiar added a comment to D21238: Okular Annotation: add support for line start style for Straight Line tool.

@knambiar The config dialog for polygon annotations has seemingly regressed with recent changes:

May 22 2019, 9:13 AM · Okular
sander accepted D21320: Fix build with poppler < 0.51.
May 22 2019, 8:37 AM · Okular

May 21 2019

davidhurka added a comment to D21195: [RFC] Create a Change Colors menu (with toolbar button).

So I will keep it this way.

May 21 2019, 10:17 PM · Okular
davidhurka updated the summary of D21195: [RFC] Create a Change Colors menu (with toolbar button).
May 21 2019, 10:16 PM · Okular
ngraham added a comment to D21195: [RFC] Create a Change Colors menu (with toolbar button).

Their user interfaces are different; the selection button offers three different types of selections, but allows a click-and-don't-hold to activate the last one. I'm not the hugest fan of this UI; I would prefer three different buttons or a dropdown menu that opens on click-and-don't-hold. But there's no reason to emulate it since the UI you have here is different.

May 21 2019, 9:57 PM · Okular
davidhurka added a comment to D21195: [RFC] Create a Change Colors menu (with toolbar button).

+1 for this. I think it makes sense. Trying it out, I like it a lot.

May 21 2019, 9:53 PM · Okular
aacid added a comment to D21202: [WIP] Support animated PDF.

Do you have some files that exercise this?

Who would we autotest this?

I intend to test this when all the functions needed to work are implemented.

Or would you like a test for every function?

May 21 2019, 9:23 PM · Okular
ngraham closed D20437: Make selection scrolling go at 60 fps.
May 21 2019, 9:15 PM · Okular
tobiasdeiminger added a comment to D21238: Okular Annotation: add support for line start style for Straight Line tool.

@knambiar The config dialog for polygon annotations has seemingly regressed with recent changes:

May 21 2019, 9:05 PM · Okular
ngraham added a comment to D20437: Make selection scrolling go at 60 fps.

Thanks @aacid. I've tested this and verified that it works. The code changes are a little bit over my head but @sander has reviewed them. I think it makes sense to land this.

May 21 2019, 9:04 PM · Okular
tobiasdeiminger updated the diff for D21248: Add line annotation ending arrows for non PDF documents.

Fix review comments. Minor cleanups.

May 21 2019, 8:50 PM · Okular
nicolasfella added inline comments to D20832: Fix some clazy warning.
May 21 2019, 8:39 PM · Okular
aacid accepted D20832: Fix some clazy warning.

Please revert the QStringLiteral with utf8 inside, after that you can commit if you're convince there will be no regressions :)

May 21 2019, 8:36 PM · Okular
aacid added a comment to D20437: Make selection scrolling go at 60 fps.

I have not reviewed this, i am not thrilled about the licensing situation, but at least relicensing wouldn't be harder than for other people so if other people have reviewed this and made sure it breaks nothing and is a good improvement i won't get mad if this lands.

May 21 2019, 8:25 PM · Okular
ngraham added a comment to D21196: [RFC] Move Continuous option to View Mode submenu.

Moving Continuous into the sub-menu amounts to a regression for menubar users since it becomes less noticeable in there. However I think there's an obvious solution: add the View Mode action to the default toobar, next to the Zoom combobox. Then all of this functionality becomes much much more noticeable for everyone, which is good because it's a part of the core functionality IMO.

May 21 2019, 4:55 PM · Documentation, Okular
ngraham added a comment to D21195: [RFC] Create a Change Colors menu (with toolbar button).

+1 for this. I think it makes sense. Trying it out, I like it a lot.

May 21 2019, 4:47 PM · Okular
volkov added a reviewer for D21320: Fix build with poppler < 0.51: Okular.
May 21 2019, 3:49 PM · Okular
volkov requested review of D21320: Fix build with poppler < 0.51.
May 21 2019, 3:49 PM · Okular
volkov added inline comments to D14655: Reimplement signature form field and related utility classes in poppler generator.
May 21 2019, 3:26 PM · Okular
ngraham added reviewers for D21248: Add line annotation ending arrows for non PDF documents: Okular, aacid.
May 21 2019, 1:11 PM · Okular
davidhurka added inline comments to D21195: [RFC] Create a Change Colors menu (with toolbar button).
May 21 2019, 12:24 PM · Okular
tobiasdeiminger added inline comments to D21248: Add line annotation ending arrows for non PDF documents.
May 21 2019, 9:26 AM · Okular
sander added inline comments to D21248: Add line annotation ending arrows for non PDF documents.
May 21 2019, 8:25 AM · Okular
mlaurent added a comment to D20832: Fix some clazy warning.

Ping ?

May 21 2019, 6:48 AM · Okular

May 20 2019

davidhurka updated the diff for D21266: Improve documentation of area classes.
  • NormalizedPoint: Revert some stuff and mention mouse click events
May 20 2019, 6:41 PM · Okular
davidhurka added a comment to D21266: Improve documentation of area classes.

Should the section “Coordinate System” of NormalizedPoint mention the “Trimmed Margins” feature? To prevent that someone sloppily codes a feature, which draws something on the page and fails if Trim Margins is active.

May 20 2019, 6:40 PM · Okular
aacid added a comment to D21281: [WIP] Write Documentation for Okular::Part.

The part is created by the shell, see around line 85.

May 20 2019, 4:33 PM · Okular
davidhurka added a comment to D21281: [WIP] Write Documentation for Okular::Part.

Is there some more KParts literature? I could find KParts on api.kde.org and the tutorials on community.kde.org, but couldn’t really transfer that to Okular.

Why you couldn't transfer it to okular? If you don't say what you don't understand is hard to explain *everything*

May 20 2019, 4:18 PM · Okular
kezik added a comment to D20437: Make selection scrolling go at 60 fps.

@aacid ping?

May 20 2019, 2:12 PM · Okular