Feed Advanced Search

May 19 2019

aacid 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.

May 19 2019, 10:13 PM · Okular
aacid added inline comments to D21266: Improve documentation of area classes.
May 19 2019, 10:09 PM · Okular
davidhurka added inline comments to D21271: Improve documentation of TextEntity stuff.
May 19 2019, 9:31 PM · Okular
tobiasdeiminger updated the diff for D21248: Add line annotation ending arrows for non PDF documents.
  • rebase on master
  • remove the "Only for PDF documents" tooltips
  • change drawing of (R)OpenArrow, (R)ClosedArrow, Slash so that combination with leader line makes sense for dimensioning purpose (I think poppler should be adapted accordingly)
  • fix drawing leader lines
May 19 2019, 9:09 PM · Okular
davidhurka updated the diff for D21271: Improve documentation of TextEntity stuff.
  • Fix typos spotted by yurchor
  • Fix typos spotted by Albert
May 19 2019, 9:00 PM · Okular
aacid added inline comments to D21271: Improve documentation of TextEntity stuff.
May 19 2019, 8:45 PM · Okular
tobiasdeiminger closed D21238: Okular Annotation: add support for line start style for Straight Line tool.
May 19 2019, 7:34 AM · Okular
tobiasdeiminger accepted D21238: Okular Annotation: add support for line start style for Straight Line tool.
May 19 2019, 7:03 AM · Okular

May 18 2019

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

Didn’t get far yet. Much information is visible in the source code, but what should I put into the class/member documentation, and what is clear just because it’s a Part?

May 18 2019, 11:57 PM · Okular
davidhurka requested review of D21281: [WIP] Write Documentation for Okular::Part.
May 18 2019, 11:52 PM · Okular
davidhurka added a comment to D21271: Improve documentation of TextEntity stuff.

TextPagePrivate::correctTextOrder() calls some complex functions, which are yet undocumented. Interesting stuff is happening in them, so they should get some documentation. I added their prototypes to core/textpage_p.h, so I can add documentation to them.

May 18 2019, 12:47 PM · Okular
yurchor added a comment to D21271: Improve documentation of TextEntity stuff.

Thanks for fixing these typos.

May 18 2019, 12:38 PM · Okular
davidhurka requested review of D21271: Improve documentation of TextEntity stuff.
May 18 2019, 12:26 PM · Okular
tobiasdeiminger updated the test plan for D21248: Add line annotation ending arrows for non PDF documents.
May 18 2019, 8:58 AM · Okular
tobiasdeiminger updated the diff for D21248: Add line annotation ending arrows for non PDF documents.

Added circle, expose LineAnnotPainer.

May 18 2019, 8:49 AM · Okular
knambiar updated the diff for D21238: Okular Annotation: add support for line start style for Straight Line tool.

Whitespace fix

May 18 2019, 5:59 AM · Okular
knambiar updated the diff for D21238: Okular Annotation: add support for line start style for Straight Line tool.

Use const QString & instead of auto in range loop

May 18 2019, 5:57 AM · Okular

May 17 2019

davidhurka added a comment to D21266: Improve documentation of area classes.

This is part of my goal to understand how TextEntity reordering works. There will probably be more patches like this soon.

May 17 2019, 11:46 PM · Okular
davidhurka requested review of D21266: Improve documentation of area classes.
May 17 2019, 11:06 PM · Okular
tobiasdeiminger added inline comments to D21238: Okular Annotation: add support for line start style for Straight Line tool.
May 17 2019, 5:43 PM · Okular
ngraham added a comment to D21238: Okular Annotation: add support for line start style for Straight Line tool.

LGTM too.

May 17 2019, 4:01 PM · Okular
tobiasdeiminger added a comment to D21238: Okular Annotation: add support for line start style for Straight Line tool.

Thanks, LGTM. If nobody objects I'll accept and land this on master the day after tomorrow.

May 17 2019, 10:38 AM · Okular
tobiasdeiminger updated the summary of D21248: Add line annotation ending arrows for non PDF documents.
May 17 2019, 7:33 AM · Okular
tobiasdeiminger updated the diff for D21248: Add line annotation ending arrows for non PDF documents.

What about QMatrix or QTransform?

Thanks, using QTransform now, it's already widely used in Okular.

May 17 2019, 7:30 AM · Okular
sander added a comment to D21248: Add line annotation ending arrows for non PDF documents.

Is there an existing class for affien matrix operations?

May 17 2019, 4:39 AM · Okular

May 16 2019

tobiasdeiminger updated subscribers of D21248: Add line annotation ending arrows for non PDF documents.

@knambiar If this once lands, you can remove your "for PDF only" tooltip.

May 16 2019, 10:46 PM · Okular
tobiasdeiminger requested review of D21248: Add line annotation ending arrows for non PDF documents.
May 16 2019, 10:41 PM · Okular
joaonetto added a comment to D21202: [WIP] Support animated PDF.

Do you have some files that exercise this?

Who would we autotest this?

May 16 2019, 8:58 PM · Okular
aacid added a comment to D21202: [WIP] Support animated PDF.

Do you have some files that exercise this?

May 16 2019, 8:55 PM · Okular
sander added inline comments to D21202: [WIP] Support animated PDF.
May 16 2019, 12:50 PM · Okular
joaonetto updated the diff for D21202: [WIP] Support animated PDF.

Declared g_displayProto as std::unique_ptr

May 16 2019, 12:00 PM · Okular
joaonetto updated the diff for D21202: [WIP] Support animated PDF.

Remove unintentionally left qDebug()

May 16 2019, 11:47 AM · Okular
anthonyfieroni added inline comments to D21202: [WIP] Support animated PDF.
May 16 2019, 11:45 AM · Okular
joaonetto added inline comments to D21202: [WIP] Support animated PDF.
May 16 2019, 11:42 AM · Okular
joaonetto updated the diff for D21202: [WIP] Support animated PDF.

Loops now use const and more efficient way of acessing LinkedList

May 16 2019, 11:41 AM · Okular
knambiar added a comment to D21092: Okular Annotation: use the new signal-slot connect syntax.

Review D21238 created for the line start style.

May 16 2019, 6:45 AM · Okular
knambiar requested review of D21238: Okular Annotation: add support for line start style for Straight Line tool.
May 16 2019, 6:43 AM · Okular
pino added inline comments to D21202: [WIP] Support animated PDF.
May 16 2019, 6:27 AM · Okular
anthonyfieroni added inline comments to D21202: [WIP] Support animated PDF.
May 16 2019, 5:54 AM · Okular
sander added inline comments to D21202: [WIP] Support animated PDF.
May 16 2019, 4:53 AM · Okular

May 15 2019

joaonetto updated the diff for D21202: [WIP] Support animated PDF.

Removed useless iterator

May 15 2019, 10:19 PM · Okular
aacid added inline comments to D21202: [WIP] Support animated PDF.
May 15 2019, 10:06 PM · Okular
davidhurka added a comment to D21195: [RFC] Create a Change Colors menu (with toolbar button).

I have figured out, what was going on in the QToolButton.

May 15 2019, 4:38 PM · Okular
davidhurka updated the diff for D21195: [RFC] Create a Change Colors menu (with toolbar button).
  • Toolbar button finally shows the intended menu
  • Add icon for Configure... action
  • Corrected action-slot connections
  • Named enable/disable action "Change Colors" again, looks better in the toolbar
May 15 2019, 4:09 PM · Okular
davidhurka added a comment to D21195: [RFC] Create a Change Colors menu (with toolbar button).

I have added CheckableActionMenu, which cuts the default action connection between the KActionMenu itself and the toolbar button. Now it is possible to make the toolbar button checkable, but not the submenu.

May 15 2019, 3:16 PM · Okular
GB_2 added inline comments to D21195: [RFC] Create a Change Colors menu (with toolbar button).
May 15 2019, 3:00 PM · Okular
davidhurka updated the diff for D21195: [RFC] Create a Change Colors menu (with toolbar button).

Removed checkbox from submenu, but toolbar button invents other menu structure

May 15 2019, 2:53 PM · Okular

May 14 2019

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

The lambda looks much better, but it uses still int as action data, not Okular::SettingsCore::EnumRenderMode::type, which would make more sense. Is it possible to put Okular::SettingsCore::EnumRenderMode::type into the action’s QVariant? It didn’t work because I couldn’t register it as metatype.

May 14 2019, 11:51 PM · Okular
davidhurka updated the diff for D21195: [RFC] Create a Change Colors menu (with toolbar button).
  • Renamed the menu entries to Color Mode and Enable Color Changing
  • Use lambda function instead of function-like macro
May 14 2019, 11:40 PM · Okular
tobiasdeiminger closed D21136: Fix line annotation leader line angle.
May 14 2019, 9:41 PM · Okular
aacid added a comment to D21136: Fix line annotation leader line angle.

it's a bugfix that doesn't seem to carry any danger, so 19.04 and then merge to master

May 14 2019, 8:57 PM · Okular
tobiasdeiminger updated subscribers of D21136: Fix line annotation leader line angle.

@aacid Should this small fix land on Applications/19.04 branch, or master only?

May 14 2019, 7:48 PM · Okular
joaonetto updated the summary of D21202: [WIP] Support animated PDF.
May 14 2019, 1:36 PM · Okular
joaonetto updated the diff for D21202: [WIP] Support animated PDF.

Changed for to range based loops

May 14 2019, 1:32 PM · Okular
tobiasdeiminger added a comment to D21092: Okular Annotation: use the new signal-slot connect syntax.

I'm afraid we'll have similar objections to the endStyle, though, specifically “PDF only” — would that be okay?

IMO it would be okay. Plus, with the help of Tobias maybe you can even teach Okular how to draw the start/end markers for non-pdf documents in a separate patch? I remember him saying that that is not very difficult.

May 14 2019, 11:45 AM · Okular
sander added a comment to D21092: Okular Annotation: use the new signal-slot connect syntax.

I'm afraid we'll have similar objections to the endStyle, though, specifically “PDF only” — would that be okay?

May 14 2019, 11:25 AM · Okular
knambiar added a comment to D21092: Okular Annotation: use the new signal-slot connect syntax.

@knambiar
Rajeesh, would you be around for another patch? PDF / poppler allow to draw arrows on both ends of a line (aka start style, end style). Your patches currently target only the line end. Would you implement "start style" in the UI too?

May 14 2019, 10:48 AM · Okular
sander accepted D21136: Fix line annotation leader line angle.
May 14 2019, 10:02 AM · Okular
davidre added inline comments to D21195: [RFC] Create a Change Colors menu (with toolbar button).
May 14 2019, 7:22 AM · Okular
sander added inline comments to D21202: [WIP] Support animated PDF.
May 14 2019, 3:56 AM · Okular
joaonetto updated the diff for D21202: [WIP] Support animated PDF.

Fixed copyright

May 14 2019, 12:05 AM · Okular

May 13 2019

joaonetto added reviewers for D21202: [WIP] Support animated PDF: aacid, Okular.
May 13 2019, 11:56 PM · Okular
joaonetto requested review of D21202: [WIP] Support animated PDF.
May 13 2019, 11:56 PM · Okular
davidhurka added a comment to D21195: [RFC] Create a Change Colors menu (with toolbar button).

That menu is ultra hard to understand, it's a checked action + menu with an action with the same name inside that is also a checked action

May 13 2019, 10:04 PM · Okular
davidre added inline comments to D21195: [RFC] Create a Change Colors menu (with toolbar button).
May 13 2019, 9:11 PM · Okular
aacid added a comment to D21195: [RFC] Create a Change Colors menu (with toolbar button).

That menu is ultra hard to understand, it's a checked action + menu with an action with the same name inside that is also a checked action

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

Screenshots are appreciated when submitting patches that change or add UI elements. :)

https://community.kde.org/Infrastructure/Phabricator#Include_some_screenshots

May 13 2019, 6:48 PM · Okular
davidhurka added a comment to D21196: [RFC] Move Continuous option to View Mode submenu.

Nate suggested almost exactly this patch in Bug 407326. But instead of hiding Continuous when accessed from the menubar, I moved Continuous completely to the View Mode submenu.

May 13 2019, 6:47 PM · Documentation, Okular
davidhurka added a comment to D21195: [RFC] Create a Change Colors menu (with toolbar button).

Okular does not follow the KDELibs coding style, so I tried to follow the existing coding style. Maybe I didn’t understand something right, if so, please correct me.

May 13 2019, 6:36 PM · Okular
davidhurka updated the summary of D21195: [RFC] Create a Change Colors menu (with toolbar button).
May 13 2019, 6:11 PM · Okular
davidhurka updated the summary of D21196: [RFC] Move Continuous option to View Mode submenu.
May 13 2019, 6:04 PM · Documentation, Okular
davidhurka requested review of D21196: [RFC] Move Continuous option to View Mode submenu.
May 13 2019, 5:56 PM · Documentation, Okular
ngraham added a comment to D21195: [RFC] Create a Change Colors menu (with toolbar button).

Screenshots are appreciated when submitting patches that change or add UI elements. :)

May 13 2019, 5:53 PM · Okular
davidhurka requested review of D21195: [RFC] Create a Change Colors menu (with toolbar button).
May 13 2019, 5:47 PM · Okular

May 12 2019

tobiasdeiminger added a comment to D21092: Okular Annotation: use the new signal-slot connect syntax.

@knambiar
Rajeesh, would you be around for another patch? PDF / poppler allow to draw arrows on both ends of a line (aka start style, end style). Your patches currently target only the line end. Would you implement "start style" in the UI too?

May 12 2019, 7:42 PM · Okular
aacid closed D21092: Okular Annotation: use the new signal-slot connect syntax.

commited, somehow phabricator decided not to autoclose this

May 12 2019, 7:05 PM · Okular
aacid accepted D21092: Okular Annotation: use the new signal-slot connect syntax.
May 12 2019, 8:45 AM · Okular

May 11 2019

knambiar updated the diff for D21092: Okular Annotation: use the new signal-slot connect syntax.

Drop the combobox change

May 11 2019, 8:26 AM · Okular

May 10 2019

tobiasdeiminger updated the summary of D21136: Fix line annotation leader line angle.
May 10 2019, 11:53 PM · Okular
tobiasdeiminger requested review of D21136: Fix line annotation leader line angle.
May 10 2019, 11:48 PM · Okular
aacid added inline comments to D21092: Okular Annotation: use the new signal-slot connect syntax.
May 10 2019, 8:06 PM · Okular
knambiar updated the diff for D21092: Okular Annotation: use the new signal-slot connect syntax.

Use QOverload instead of static_cast

May 10 2019, 8:47 AM · Okular

May 9 2019

aacid added a comment to D21092: Okular Annotation: use the new signal-slot connect syntax.

please use QOverload<int>::of() instead of static_cast<void (QComboBox::*)(int)> much easier to read.

May 9 2019, 10:17 PM · Okular
tobiasdeiminger added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

There's a few #ifdef HAVE_POPPLER_mm_nn checks in the code, may be we could adapt it for 0.72?

May 9 2019, 9:19 AM · Okular
knambiar added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

There's another problem we haven't discussed yet: Line endings work only if you have poppler >= 0.72 installed, else they will be silently ignored. Version 0.72 is quite recent, a lot of people won't have it because their distro ships an older version. Should we try to handle this? If yes, how? We can use cmake to detect poppler version, but I don't see an easy way to propagate the information from generator to UI at runtime.

May 9 2019, 8:53 AM · Okular
sander closed D21069: [RFC] Improve documentation of Document::setPageTextSelection().
May 9 2019, 8:50 AM · Okular
tobiasdeiminger added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

What would be a better alternative?

May 9 2019, 7:51 AM · Okular
knambiar added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Please fix the connect to use the new connect syntax,

May 9 2019, 6:14 AM · Okular
knambiar requested review of D21092: Okular Annotation: use the new signal-slot connect syntax.
May 9 2019, 6:12 AM · Okular

May 8 2019

aacid accepted D21069: [RFC] Improve documentation of Document::setPageTextSelection().
May 8 2019, 11:13 PM · Okular
aacid added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

I can't go on holiday it seems, you sneak things past me :D

May 8 2019, 11:04 PM · Okular
davidhurka added a reviewer for D21069: [RFC] Improve documentation of Document::setPageTextSelection(): Okular.
May 8 2019, 7:48 PM · Okular

May 7 2019

ngraham added a comment to D20437: Make selection scrolling go at 60 fps.

Thanks, I've added your preferences there.

May 7 2019, 5:50 PM · Okular
kezik added a comment to D20437: Make selection scrolling go at 60 fps.

@aacid I put myself in the kde dev script relicense thing, so please look at the patch without getting tainted

May 7 2019, 3:33 PM · Okular
knambiar added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

I committed the patch, but without any icons at all. Even without them I think the patch is very helpful. The icons can now be added at ease in a separate patch.

Rajeesh, thanks for the patch. I'd be happy to see more of your patches in the future.

May 7 2019, 12:54 PM · Okular
davidhurka added a comment to D21069: [RFC] Improve documentation of Document::setPageTextSelection().

I suggested this in D18744#441906.

May 7 2019, 11:13 AM · Okular
davidhurka requested review of D21069: [RFC] Improve documentation of Document::setPageTextSelection().
May 7 2019, 10:49 AM · Okular
sander added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

I committed the patch, but without any icons at all. Even without them I think the patch is very helpful. The icons can now be added at ease in a separate patch.

May 7 2019, 9:10 AM · Okular
sander closed D20760: Okular Annotation: add support for line ending style for Straight Line tool.
May 7 2019, 9:07 AM · Okular

May 6 2019

mlaurent added a comment to D20832: Fix some clazy warning.

Ok albert send me an email in private :)
he will look at it in several days :)
tha,ks :)

May 6 2019, 2:52 PM · Okular