Feed Advanced Search

May 6 2019

mlaurent added a comment to D20832: Fix some clazy warning.
May 6 2019, 2:47 PM · Okular
tobiasdeiminger added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

At least squares and diamonds are incorrect, too.

Ok, so at least we're consistent in doing wrong :) I'll fix it.

May 6 2019, 8:15 AM · Okular
pino added inline comments to D20760: Okular Annotation: add support for line ending style for Straight Line tool.
May 6 2019, 6:34 AM · Okular
sander added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

I think it should. But not in this patch.

May 6 2019, 4:24 AM · Okular

May 5 2019

tobiasdeiminger added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

At least squares and diamonds are incorrect, too.

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

At least squares and diamonds are incorrect, too.

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

Is this really how they are supposed to look? If not, is this a poppler bug, or is Okular missing some further line ending setup code?

May 5 2019, 8:47 PM · Okular
sander added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

I tried the circle line endings and they look a bit strange to me:

May 5 2019, 7:45 PM · Okular
ngraham accepted D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Looks great to me now!

May 5 2019, 7:23 PM · Okular

May 4 2019

sander accepted D20760: Okular Annotation: add support for line ending style for Straight Line tool.
May 4 2019, 7:43 PM · Okular
sander added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Thanks! Will commit on tuesday, if nowbody objects.

May 4 2019, 7:43 PM · Okular
knambiar updated the diff for D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Use QStringLiteral with Unicode code points for line ending symbols.

May 4 2019, 10:39 AM · Okular

May 2 2019

sander added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

I'd advocate to implement drawing the lines by code, i.e. QPainter::drawLine and friends. Then reuse the same code to draw icons.

May 2 2019, 8:49 PM · Okular
bruns closed D20947: [EPubGenerator] Fetch the application palette just once.
May 2 2019, 6:29 PM · Okular
bruns closed D20946: [EPubGenerator] Reduce nesting level in loop.
May 2 2019, 6:29 PM · Okular
ngraham accepted D20946: [EPubGenerator] Reduce nesting level in loop.
May 2 2019, 6:13 PM · Okular
ngraham accepted D20947: [EPubGenerator] Fetch the application palette just once.
May 2 2019, 6:13 PM · Okular
joaonetto added inline comments to D19123: Added option to search for whole words only.
May 2 2019, 5:36 PM · Okular
joaonetto updated the diff for D19123: Added option to search for whole words only.

Added documentation

May 2 2019, 5:34 PM · Okular

May 1 2019

bruns updated the summary of D20949: [EPubGenerator] Avoid crashes due to bogus wrapping of content in table.
May 1 2019, 11:20 PM · Okular
bruns added a reviewer for D20949: [EPubGenerator] Avoid crashes due to bogus wrapping of content in table: Okular.
May 1 2019, 11:12 PM · Okular
bruns updated the diff for D20949: [EPubGenerator] Avoid crashes due to bogus wrapping of content in table.

remove unrelated code from patch

May 1 2019, 11:12 PM · Okular
bruns requested review of D20950: [EPubGenerator] Use proper UserResource enum value for custom resource.
May 1 2019, 10:57 PM · Okular
bruns requested review of D20949: [EPubGenerator] Avoid crashes due to bogus wrapping of content in table.
May 1 2019, 10:56 PM · Okular
bruns requested review of D20948: [EPubGenerator] Avoid pointless scans of the whole document.
May 1 2019, 10:55 PM · Okular
bruns requested review of D20947: [EPubGenerator] Fetch the application palette just once.
May 1 2019, 10:54 PM · Okular
bruns requested review of D20946: [EPubGenerator] Reduce nesting level in loop.
May 1 2019, 10:53 PM · Okular

Apr 29 2019

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

ping ? :)

Apr 29 2019, 6:50 PM · Okular
ngraham added reviewers for D20882: Partial fix for high res displays: Okular, aacid.
Apr 29 2019, 4:16 PM · Okular

Apr 28 2019

gilbert requested review of D20882: Partial fix for high res displays.
Apr 28 2019, 5:36 PM · Okular
aacid added a comment to D20868: Support '#page=<pagenum>' fragment to open at page <pagenum>.

needs autotest

Apr 28 2019, 4:07 PM · Okular
davidhurka added a comment to D20868: Support '#page=<pagenum>' fragment to open at page <pagenum>.

How about the following approach (not tested)? This way, other parameters (like nameddest) wouldn’t break it and can be added later.

Apr 28 2019, 12:24 PM · Okular

Apr 27 2019

michaelweghorn requested review of D20868: Support '#page=<pagenum>' fragment to open at page <pagenum>.
Apr 27 2019, 2:07 PM · Okular
tobiasdeiminger added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Isn’t there a coding convention against non-ascii symbols in source code?

Apr 27 2019, 9:17 AM · Okular

Apr 26 2019

mlaurent updated the diff for D20832: Fix some clazy warning.

Fix comment gave by albert

Apr 26 2019, 5:25 AM · Okular
knambiar updated the diff for D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Add tooltips to clarify the line ending style works only for PDF documents.

Apr 26 2019, 4:46 AM · Okular

Apr 25 2019

aacid added inline comments to D20832: Fix some clazy warning.
Apr 25 2019, 9:19 PM · Okular
mlaurent added a reviewer for D20832: Fix some clazy warning: aacid.
Apr 25 2019, 9:11 PM · Okular
mlaurent requested review of D20832: Fix some clazy warning.
Apr 25 2019, 9:11 PM · Okular
davidhurka added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Indeed, I thought about PDF alone (that’s my most pressing use case). In that case, should this combobox mention something like “only for PDF documents”?

Apr 25 2019, 8:29 PM · Okular
davidhurka added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Isn’t there a coding convention against non-ascii symbols in source code?

Apr 25 2019, 8:15 PM · Okular
knambiar updated the diff for D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Place the symbols to left of ending style description for better alignment.

Apr 25 2019, 7:23 AM · Okular

Apr 24 2019

knambiar added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

So your drop down selection will currently be ignored for EPUB, DjVu, ..., only PDF works. @ngraham: Do you think the patch could land as PDF-only, or do we need multi-format support from the beginning?

Apr 24 2019, 4:37 PM · Okular
ngraham added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Nice! The symbol/icon should be to the left of the text. That way all the symbols and texts line up vertically in the combobox's pop-up.

Apr 24 2019, 3:58 PM · Okular
tobiasdeiminger added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Would it be useful if I tried to provide an SVG as replacement for the unicode symbols in an upcoming version, to resemble the exact line end drawing instructions as we do them in poppler code?

Certainly. Meanwhile I read the documentation and see that QComboBox::setItemIcon can be used to set the icon for combo box text.

Apr 24 2019, 1:01 PM · Okular
knambiar updated the diff for D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Merge the two commits (previous revision update had only the second change).

Apr 24 2019, 11:50 AM · Okular
knambiar added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Nice patch! Guess unicode symbols are good for a start.

Apr 24 2019, 10:58 AM · Okular
tobiasdeiminger added a comment to D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Add Unicode symbols to the line ending style. Didn’t find suitable symbols for ‘Right Closed Arrow’ and ‘Slash’.

Apr 24 2019, 10:06 AM · Okular
knambiar updated the diff for D20760: Okular Annotation: add support for line ending style for Straight Line tool.

Add Unicode symbols to the line ending style. Didn’t find suitable symbols for ‘Right Closed Arrow’ and ‘Slash’.

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

Hey, that's pretty cool! Any chance you could include a little icon/preview of the visual style for each item in the combobox?

Apr 24 2019, 6:47 AM · Okular

Apr 23 2019

ngraham added a reviewer for D20760: Okular Annotation: add support for line ending style for Straight Line tool: VDG.

Hey, that's pretty cool! Any chance you could include a little icon/preview of the visual style for each item in the combobox?

Apr 23 2019, 6:19 PM · Okular
knambiar updated the summary of D20760: Okular Annotation: add support for line ending style for Straight Line tool.
Apr 23 2019, 6:46 AM · Okular
knambiar requested review of D20760: Okular Annotation: add support for line ending style for Straight Line tool.
Apr 23 2019, 6:23 AM · Okular

Apr 22 2019

aacid added a comment to D19717: Search function fails to find phrases split over two lines.

In my honest opinion we shouldn't support for '\n' search, unless it's something like regex search, but I see you disagree.

Apr 22 2019, 11:15 PM · Okular
joaonetto added a comment to D19717: Search function fails to find phrases split over two lines.

Hmmmmm. I can think of checking if the '\n' is in the search bar.

Apr 22 2019, 10:56 PM · Okular
aacid added a comment to D19717: Search function fails to find phrases split over two lines.

Made the necessary changes to work with any type of space.

Apr 22 2019, 10:05 PM · Okular
joaonetto added a comment to D19717: Search function fails to find phrases split over two lines.

It probably will work, I'll try it

Apr 22 2019, 6:53 PM · Okular
davidhurka added a comment to D19717: Search function fails to find phrases split over two lines.

It should work now, can you test it?

Apr 22 2019, 6:33 PM · Okular
joaonetto added a comment to D19717: Search function fails to find phrases split over two lines.
Apr 22 2019, 5:57 PM · Okular
joaonetto updated the diff for D19717: Search function fails to find phrases split over two lines.

Made the necessary changes to work with any type of space.

Apr 22 2019, 5:55 PM · Okular
davidhurka added a comment to D19717: Search function fails to find phrases split over two lines.

There's a downside to this is that now if you actually put a newline character in the search it will fail where previously it worked.

On the other hand typing an actual newline character is kind of hard (i had to copy it from a newline in kate) so maybe we can just accept that noone really knew how to do that :D

Opinions?

The use case to insert a newline could be:
Someone is testing a LaTeX document, and searches for a passage from the source code (maybe some verbatim code).
One would just copy the passage in Kate and paste it into the search box in Okular.

Hmmmmm, I can treat things differently if there's a new line in the search box.

Or maybe I should find a way to treat spaces the same as newline chars.

I'll have to take a look in the compare function to see how it would handle, maybe compare alphanumeric only?

If I can't do that, I'll have to treat them differently.

Apr 22 2019, 1:23 PM · Okular
joaonetto added a comment to D19717: Search function fails to find phrases split over two lines.

There's a downside to this is that now if you actually put a newline character in the search it will fail where previously it worked.

On the other hand typing an actual newline character is kind of hard (i had to copy it from a newline in kate) so maybe we can just accept that noone really knew how to do that :D

Opinions?

The use case to insert a newline could be:
Someone is testing a LaTeX document, and searches for a passage from the source code (maybe some verbatim code).
One would just copy the passage in Kate and paste it into the search box in Okular.

Apr 22 2019, 1:16 PM · Okular
davidhurka added a comment to D19717: Search function fails to find phrases split over two lines.

There's a downside to this is that now if you actually put a newline character in the search it will fail where previously it worked.

On the other hand typing an actual newline character is kind of hard (i had to copy it from a newline in kate) so maybe we can just accept that noone really knew how to do that :D

Opinions?

Apr 22 2019, 11:59 AM · Okular
joaonetto added a comment to D19717: Search function fails to find phrases split over two lines.

In my opinion is better to have it this way, I guess most users don't know about the newline.

Apr 22 2019, 11:46 AM · Okular

Apr 21 2019

aacid added a comment to D19717: Search function fails to find phrases split over two lines.

There's a downside to this is that now if you actually put a newline character in the search it will fail where previously it worked.

Apr 21 2019, 11:54 PM · Okular
aacid requested changes to D20405: Make preview(dashed rectangle) of rectangle annotation colorful.

This is bad.

Apr 21 2019, 11:26 PM · Okular
aacid closed D18744: Add action in Edit menu to select the text on current page.
Apr 21 2019, 11:22 PM · Documentation, Okular
aacid accepted D18744: Add action in Edit menu to select the text on current page.
Apr 21 2019, 11:10 PM · Documentation, Okular
aacid added inline comments to D19123: Added option to search for whole words only.
Apr 21 2019, 11:01 PM · Okular

Apr 20 2019

aacid added a comment to D20678: Ensure compatibility with Qt <5.10.

Thanks :)

Apr 20 2019, 9:56 AM · Okular
aacid closed D20678: Ensure compatibility with Qt <5.10.
Apr 20 2019, 9:56 AM · Okular
aacid accepted D20678: Ensure compatibility with Qt <5.10.
Apr 20 2019, 9:56 AM · Okular

Apr 18 2019

awilcox requested review of D20678: Ensure compatibility with Qt <5.10.
Apr 18 2019, 11:25 PM · Okular

Apr 16 2019

ngraham added a comment to D18744: Add action in Edit menu to select the text on current page.

You've already got my approval. :)

Apr 16 2019, 12:51 PM · Documentation, Okular
shubham added a comment to D18744: Add action in Edit menu to select the text on current page.

@ngraham @aacid Ping?

Apr 16 2019, 6:39 AM · Documentation, Okular

Apr 15 2019

michaelweghorn added a comment to D18179: PDF: Implement scaling options for non-rasterized printing.

OK, let's go for it!

@michaelweghorn I hope you know this means you're on the hook to fix any bugs that crop up, right? :)

Apr 15 2019, 6:26 AM · Okular
ngraham closed D18179: PDF: Implement scaling options for non-rasterized printing.
Apr 15 2019, 3:11 AM · Okular
ngraham added a comment to D18179: PDF: Implement scaling options for non-rasterized printing.

OK, let's go for it!

Apr 15 2019, 3:10 AM · Okular

Apr 14 2019

aacid added a comment to D18179: PDF: Implement scaling options for non-rasterized printing.

i have not tested it, if you think it works, i guess it's ok from the pure code point of view.

Apr 14 2019, 10:33 PM · Okular
joaonetto added a comment to D19717: Search function fails to find phrases split over two lines.

Ping on this.

Apr 14 2019, 9:17 PM · Okular
aacid added a comment to D20437: Make selection scrolling go at 60 fps.

It's the first time after years and dozen of contributions to dozen of projects that I see such a fuss about my internet name

@aacid if I put my relicensing preferences on the kde dev script repo, will you consider the patch?

Apr 14 2019, 4:42 PM · Okular
aacid added a comment to D20437: Make selection scrolling go at 60 fps.

Still has a fake name attached to it?

If so i'll refrain from looking at the code and getting tainted by it.

Can you clarify how reviewing this patch would taint you?

Apr 14 2019, 4:39 PM · Okular

Apr 13 2019

aacid added a comment to D20488: Fix build with poppler <0.58.

Thanks for landing.

Not sure how common that poppler version still is, but do you think it's worth a respin for 19.04?

Apr 13 2019, 9:14 AM · Okular
heikobecker added a comment to D20488: Fix build with poppler <0.58.

Thanks for landing.

Apr 13 2019, 8:18 AM · Okular

Apr 12 2019

aacid closed D20488: Fix build with poppler <0.58.
Apr 12 2019, 10:06 PM · Okular
aacid accepted D20488: Fix build with poppler <0.58.

Awesome thanks.

Apr 12 2019, 9:59 PM · Okular
ngraham accepted D20437: Make selection scrolling go at 60 fps.

Out of deference to @aacid, I'll wait to commit this until the mailing list thread has come to a conclusion we can all agree with, or at least graciously accept without complaining about it later. :)

Apr 12 2019, 8:09 PM · Okular
heikobecker requested review of D20488: Fix build with poppler <0.58.
Apr 12 2019, 11:31 AM · Okular

Apr 11 2019

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

1000/60 yields a floating-point value. Is it acceptable that std::chrono::milliseconds can be a non-integer value?

Apr 11 2019, 9:59 PM · Okular
ngraham added a comment to D20437: Make selection scrolling go at 60 fps.

1000/60 yields a floating-point value. Is it acceptable that std::chrono::milliseconds can be a non-integer value?

Apr 11 2019, 9:47 PM · Okular
kezik updated the diff for D20437: Make selection scrolling go at 60 fps.

Even more clear

Apr 11 2019, 9:21 PM · Okular
joaonetto updated the task description for T8553: Improve review side panel.
Apr 11 2019, 8:04 PM · Okular
ngraham added a comment to D16519: Set Qt::AA_CompressTabletEvents attribute to avoid latency when scrolling with a tablet.

Ok, well seeing as @kezik is continuing to submit patches (see D20437), I guess your options are to:

  1. re-open the discussion on a mailing list or phab task

I don't know what makes you think *I* should be the one re-open the discussion on a mailing list or phab task, AFAIR *you* are the first person ever to commit hard to trace commits to Okular repo, so it's on *you* to show why we have to agree to such tainting.

Apr 11 2019, 6:01 PM · Okular
ahmedbilal added a reviewer for D20405: Make preview(dashed rectangle) of rectangle annotation colorful: sander.
Apr 11 2019, 5:46 PM · Okular
ahmedbilal removed a reviewer for D20405: Make preview(dashed rectangle) of rectangle annotation colorful: sander.
Apr 11 2019, 5:46 PM · Okular
ngraham added inline comments to D20437: Make selection scrolling go at 60 fps.
Apr 11 2019, 4:05 PM · Okular
sander accepted D20437: Make selection scrolling go at 60 fps.
Apr 11 2019, 3:12 PM · Okular
sander added a comment to D20437: Make selection scrolling go at 60 fps.

Thanks! I am happy with these comments (except maybe that people may read the "/ 60 fps" in line 3770 as a division).

Apr 11 2019, 3:11 PM · Okular
kezik added a comment to D20437: Make selection scrolling go at 60 fps.

Oh, and by the way, the _actual_ speed of the page is set by how far you move the mouse outside the viewport, that constant is a multiplicative factor, it really doesn't matter, it's only set to a nice value

Apr 11 2019, 3:07 PM · Okular
kezik updated the diff for D20437: Make selection scrolling go at 60 fps.

As requested I explain what the "arbitrary constant" does

Apr 11 2019, 3:05 PM · Okular