Feed Advanced Search

Aug 24 2018

sander added a comment to D15027: Show tooltips for links only if "Show hints..." is enabled in the preferences.

I see. So there is simply no option to disable the tooltips? And what does OSD mean anyway?

Aug 24 2018, 3:39 AM · Okular

Aug 23 2018

sander requested review of D15027: Show tooltips for links only if "Show hints..." is enabled in the preferences.
Aug 23 2018, 7:49 PM · Okular

Aug 22 2018

sander updated subscribers of D14904: TOC: Add collapse/expand options.

Thanks for the patch.

Aug 22 2018, 7:15 PM · Okular

Aug 14 2018

sander added a comment to D14820: Select current format on the configure backend dialog.

Fine with me. If you want I can post a separate QHash -> QMap cleanup patch. Either way, for me this patch can land in git.

Aug 14 2018, 7:59 PM · Okular
sander added a comment to D14820: Select current format on the configure backend dialog.

Looking good! Concerning the preparatory commit 9ba8dd2cd7838c626af79a4edcd8b8437205cc02 , which copies the list of loaded generators from a QHash to a QMap: Why not use a QMap for them right away? Certainly the number of generators is low enough such that the efficiency differences between a QHash and a QMap become negligible?

Aug 14 2018, 11:15 AM · Okular
sander abandoned D14809: Make 'configure generators' dialog open with current generator selected.
Aug 14 2018, 9:54 AM · Okular
sander added a comment to D14809: Make 'configure generators' dialog open with current generator selected.

I tested https://phabricator.kde.org/D14820 and it works nicely. Thanks for your effort! I also like the fact that the entries get sorted now.

Aug 14 2018, 9:54 AM · Okular

Aug 13 2018

sander requested review of D14809: Make 'configure generators' dialog open with current generator selected.
Aug 13 2018, 8:58 PM · Okular
sander added a comment to D14752: Fix links being "lost" on save.

That's more than enough as an explanation, and too much to put it in the text. Can we simply mention the bug and diff numbers in the code?

Aug 13 2018, 8:06 AM · Okular

Aug 12 2018

sander added a comment to D14752: Fix links being "lost" on save.

I think some extra comment lines explaining why this code is necessary would be helpful here.

Aug 12 2018, 5:14 AM · Okular

Jul 20 2018

sander added a comment to D7949: Allow to print pdf doc directly into a QPrinter.

Also, would it make sense to have an (additional?) experimental option to enable the Arthur backend in general, i.e. for showing the content on screen (as a separate change), so people who really want to experiment can do so even more?

Jul 20 2018, 7:32 PM · Okular
sander added a comment to D7949: Allow to print pdf doc directly into a QPrinter.

The patch should not influence the behavior of rasterized printing. The code used QPrinter with the poppler splash backend before, and it should still do that.

Jul 20 2018, 9:47 AM · Okular
sander updated the diff for D7962: Implement several new print scaling options.

Implemented all suggestions. In particular, the new controls disappear now unless the experimental QPrinter option or 'force rasterization' is set. The code for this is not particularly elegant, and I'd be interested to hear from the Qt pros about how it should really be done.

Jul 20 2018, 9:32 AM · Okular

Jul 18 2018

sander added inline comments to D13203: Add Typewriter annotation tool in Okular.
Jul 18 2018, 8:08 PM · Okular

Jul 17 2018

sander added inline comments to D13203: Add Typewriter annotation tool in Okular.
Jul 17 2018, 7:24 PM · Okular

Jul 10 2018

sander added a comment to D7949: Allow to print pdf doc directly into a QPrinter.

>Unlike for CUPS printing, Qt printing prints on the entire page and does not scale to the printable area yet. This is only because it is the easiest way. I > >plan to implement a few standard scaling methods in a subsequent patch, which will only be a few additional lines of code.

Jul 10 2018, 7:02 PM · Okular
sander updated the diff for D7949: Allow to print pdf doc directly into a QPrinter.
Jul 10 2018, 6:52 PM · Okular
sander updated the diff for D7949: Allow to print pdf doc directly into a QPrinter.

Applied Henrik's suggestions

Jul 10 2018, 6:49 PM · Okular

Jul 2 2018

sander added a comment to D7949: Allow to print pdf doc directly into a QPrinter.

I just uploaded a new version of the diff that fixes all remaining issues. Also, I implemented type 3 support in the Arthur backend, and it is already in poppler 0.64. That was the last blocker that prevented me from being able to use the Arthur backend in my daily work.

Jul 2 2018, 5:39 AM · Okular
sander updated the diff for D7949: Allow to print pdf doc directly into a QPrinter.

Implemented all suggestions concerning i18n and capitalization.

Jul 2 2018, 5:25 AM · Okular

Jun 25 2018

sander committed R223:862b2ab6647e: Allow to select more than one file in the 'open file' dialog (authored by sander).
Allow to select more than one file in the 'open file' dialog
Jun 25 2018, 3:39 PM
sander closed D13667: Allow to select more than one file in the 'file open' dialog.
Jun 25 2018, 3:39 PM · Okular

Jun 21 2018

sander requested review of D13667: Allow to select more than one file in the 'file open' dialog.
Jun 21 2018, 7:47 PM · Okular

May 31 2018

sander added inline comments to D11723: Add FormFieldSignature to Okular namespace.
May 31 2018, 1:23 PM · Okular

May 11 2018

sander added a comment to D7662: Draw a dark rectangle around highlighted search results.

I tried, but I still cannot reproduce it. I do see the spurious lines very very briefly when scrolling the hightlighted area into the viewport, but they are always removed.

May 11 2018, 9:25 AM · Okular

May 10 2018

sander added a comment to D7662: Draw a dark rectangle around highlighted search results.

@simgunz , I can't. Remember that I could never reproduce the artifacts that Albert is seeing. Therefore I cannot test whether your idea fixes them.

May 10 2018, 3:40 AM · Okular

Apr 25 2018

sander added a comment to D11609: Add support for chained / next actions.

People in my field still use Movie annotations, by means of LaTeX/multimedia. Any improvement to their support is always welcome. :-)

Apr 25 2018, 8:39 PM · Okular
sander added a comment to D11609: Add support for chained / next actions.

I've tried to create a test document with Adobe Acrobat Pro DC but ended up
frustrated and unable to create Movie or Rendition Actions (except for the Page Open Action).

Apr 25 2018, 10:32 AM · Okular

Mar 27 2018

sander added a comment to D11725: [RFC] Show signature status as a popup.

Thanks for the patch! I tested it, and it seems to do what it claims to do!

Mar 27 2018, 11:55 AM · Okular

Mar 9 2018

sander added a comment to D11051: Remembering side navigation panel state.

I tried the patch and it does what it claims to do. I have no further objections.

Mar 9 2018, 8:02 PM · Okular

Mar 5 2018

sander added inline comments to D11051: Remembering side navigation panel state.
Mar 5 2018, 11:31 AM · Okular

Mar 2 2018

sander added a comment to D7949: Allow to print pdf doc directly into a QPrinter.

Albert's main objection against this patch was that the Arthur backend is too bad to make the QPrinter approach worthwhile. Arthur has improved a bit since this patch was originally posted. It is still far from being perfect, but whether it is 'too bad' now depends a bit on the types of documents you typically use. I've been wanting to implement a few more things (type3 font support, in particular) this spring break, but unfortunately I currently find myself too busy with other things.

Mar 2 2018, 9:20 PM · Okular

Jan 19 2018

sander added a comment to D8980: Fix rubber band selection drawing contents misaligned with scaling.

I tried the patch, and it did not fix 386111 for me. But I use fractional scaling, so maybe that's to be expected.

Jan 19 2018, 11:07 AM · Okular

Nov 16 2017

sander added a comment to D8832: Fix highlight/annotation clipping with Qt scaling.

Thanks for the patch. It seems to solve the problem for me.

Nov 16 2017, 8:57 AM · Okular

Oct 25 2017

sander added a comment to D7662: Draw a dark rectangle around highlighted search results.

Thanks for testing. However, I don't really know what do to now. Given that I am not very attached to this patch I might simply abandon it.

Oct 25 2017, 8:06 AM · Okular

Oct 23 2017

sander added a comment to D7662: Draw a dark rectangle around highlighted search results.

I still cannot reproduce Albert's problems locally, but after reading Christoph's link (thanks!) I found out that I can move the upper left corner of the border one pixel towards the lower right without uncovering the yellow rectangle. Please somebody test whether the new patch still produces these artifacts.

Oct 23 2017, 2:21 PM · Okular
sander updated the diff for D7662: Draw a dark rectangle around highlighted search results.

Move the top left corner of the dark border one pixel towards the lower right.

Oct 23 2017, 2:17 PM · Okular

Oct 12 2017

sander added a comment to D7949: Allow to print pdf doc directly into a QPrinter.

Without having looked at the code, here is a hypothesis of how Kate can print to a pdf file and have the text remain selectable. The Arthur font drawing code uses the QPainter::drawGlyphRun method to paint individual glyphs/letters. That method only receives a position and a QGlyphRun object (which in turn contains a QRawFont and char codes). In my limited understanding, this mechanism makes selectable text impossible, because the unicode information is gone.

Oct 12 2017, 8:26 PM · Okular
sander added a comment to D7949: Allow to print pdf doc directly into a QPrinter.

However when printing from Kate for example, the text is still selectable, so it seems to me like there might possibly be some way to maintain text when > printing in Qt. (?)

Oct 12 2017, 6:35 PM · Okular

Oct 11 2017

sander added a comment to D7949: Allow to print pdf doc directly into a QPrinter.

Hi, thanks again for the review. I just updated the patch to include most of your suggestions.

Oct 11 2017, 3:54 PM · Okular
sander updated the diff for D7949: Allow to print pdf doc directly into a QPrinter.

Implement all of Henrik's suggestions.

Oct 11 2017, 3:47 PM · Okular

Sep 30 2017

sander added a comment to D7962: Implement several new print scaling options.

Hi guys, thanks for all the feedback. I'll look into it, but I'll be busy with other things during the next 10 days.

Sep 30 2017, 10:15 AM · Okular
sander added a comment to D7949: Allow to print pdf doc directly into a QPrinter.

Hi guys, thanks for all the feedback. I'll look into it, but the next 10 days will be busy. There are two more Arthur patches submitted and awaiting review.

Sep 30 2017, 10:12 AM · Okular

Sep 24 2017

sander added a comment to D7949: Allow to print pdf doc directly into a QPrinter.

Using QPrinter may be "official Qt", but that doens't mean better.

Sep 24 2017, 5:30 AM · Okular
sander created D7962: Implement several new print scaling options.
Sep 24 2017, 5:16 AM · Okular

Sep 23 2017

sander created D7949: Allow to print pdf doc directly into a QPrinter.
Sep 23 2017, 5:35 AM · Okular

Sep 11 2017

sander added a comment to D6696: Elide cut off text in sidebar header, remove restricted max width.

Ah, now I see it. Yes, the patch seems to work: the sidebar header is now elided rather than simply cut off, and I can make the sidebar as large or as small as I desire.

Sep 11 2017, 9:50 AM · Okular
sander added a comment to D6696: Elide cut off text in sidebar header, remove restricted max width.

I just tried the patch. On my German setting, the labels are usually also cut off to the left and to the right. Strangely, the patch doesn't really change that.

Sep 11 2017, 9:03 AM · Okular

Sep 7 2017

sander committed R223:5a716e067aa8: Implement rasterized printing with QPrinter with hidden annotations (authored by sander).
Implement rasterized printing with QPrinter with hidden annotations
Sep 7 2017, 8:48 AM
sander closed D7688: Implement rasterized printing with QPrinter with hidden annotations by committing R223:5a716e067aa8: Implement rasterized printing with QPrinter with hidden annotations.
Sep 7 2017, 8:47 AM · Okular

Sep 6 2017

sander added a comment to D7688: Implement rasterized printing with QPrinter with hidden annotations.

Indeed. I was somehow expecting this to happen automatically. :-)

Sep 6 2017, 3:50 PM · Okular
sander updated the diff for D7688: Implement rasterized printing with QPrinter with hidden annotations.
Sep 6 2017, 3:50 PM · Okular

Sep 4 2017

sander added a comment to D7662: Draw a dark rectangle around highlighted search results.

This applies to all highlights, i.e. text selection too, are you sure we want that?

Sep 4 2017, 6:18 PM · Okular
sander created D7688: Implement rasterized printing with QPrinter with hidden annotations.
Sep 4 2017, 2:55 PM · Okular

Sep 3 2017

sander added a comment to D7671: Fix automatic reload of files saved with QSaveFile.

Such a @note seems like a good idea.

Sep 3 2017, 6:10 PM · Okular

Sep 2 2017

sander created D7662: Draw a dark rectangle around highlighted search results.
Sep 2 2017, 6:38 PM · Okular

Sep 1 2017

sander added a comment to D6268: HiDPI Support for Okular.

I may have take on at https://bugs.kde.org/show_bug.cgi?id=384143 myself. Any ideas on where to start looking?

Sep 1 2017, 9:44 AM · Okular

Aug 30 2017

sander added a comment to D7595: Skip reload when another reload is already in progress.

To be honest, I liked your first patch better. Granted, that definition of reloadLock is elegant, but you need quite a bit of C++ experience to see its beauty. People without that will be scared.

Aug 30 2017, 2:33 PM · Okular
sander added a comment to D7595: Skip reload when another reload is already in progress.

From merely looking at the patches, I like this one better than Albert's. In Albert's patch, the fact that you have to set m_areWeReloading at every exit of the method slotDoFileDirty does feel like breakage waiting to happen.

Aug 30 2017, 9:07 AM · Okular

Aug 29 2017

sander added a comment to D6268: HiDPI Support for Okular.

The problem with drawing in presentation mode is now a bug tracker issue:

Aug 29 2017, 3:12 PM · Okular

Aug 24 2017

sander added a comment to D6268: HiDPI Support for Okular.

Another one is

Aug 24 2017, 10:29 AM · Okular
sander added a comment to D6268: HiDPI Support for Okular.

Midair collision. I'm not saying it is not good to go. I am just saying that there are more HiDPI issues left.

Aug 24 2017, 10:09 AM · Okular
sander added a comment to D6268: HiDPI Support for Okular.

I don't know. But as this thread's title is "HiDPI Support for Okular", and as Lukas has turned into an Okular rendering expert I just mention here everything I notice. Feel free to ignore me.

Aug 24 2017, 10:08 AM · Okular
sander added a comment to D6268: HiDPI Support for Okular.

Hi Lukas, I tested and all my previous complaints seem to be resolved. Thank you!

Aug 24 2017, 9:50 AM · Okular

Aug 18 2017

sander added a comment to D6268: HiDPI Support for Okular.

Aug 18 2017, 1:07 PM · Okular
sander added a comment to D6268: HiDPI Support for Okular.

I do see minor rendering artifacts every now and then. Single rows of pixels seem to occur twice---possibly on tile boundaries. See the attached example image: the center line of text is slightly stretched. This happens at certain zoom levels. I don't really know how to reproduce it reliably.

Aug 18 2017, 1:06 PM · Okular

Aug 16 2017

sander added a comment to D6268: HiDPI Support for Okular.

Incidentally, I found another Okular hidpi problem:

Aug 16 2017, 9:40 AM · Okular
sander added a comment to D6268: HiDPI Support for Okular.

I just tested again, and it looks much better than before. Thanks!

Aug 16 2017, 9:16 AM · Okular

Aug 15 2017

sander added a comment to D6696: Elide cut off text in sidebar header, remove restricted max width.

I agree with Henrik again. Yes, the very wide thumbnails in Albert's screenshot are strange, but I don't see why we should actively prohibit them. Besides, even with a vanilla Okular I am able to make the thumbnails about twice as wide as the actual pages (screenshot on request). So Henrik's patch does not make things (much) worse in that regard.

Aug 15 2017, 10:21 AM · Okular

Aug 10 2017

sander committed R223:0c4c2ddbbc5e: Print via QPrinter when rasterizing and printing annotations (authored by sander).
Print via QPrinter when rasterizing and printing annotations
Aug 10 2017, 3:36 PM

Aug 8 2017

sander committed R223:024d25cdeca1: Simplify the drawing of buffered highlight rectangles (authored by sander).
Simplify the drawing of buffered highlight rectangles
Aug 8 2017, 1:46 PM

Aug 1 2017

sander added a comment to D6696: Elide cut off text in sidebar header, remove restricted max width.

Ah, I get it. But as rkflx I don't see the point of the size limit. The sideBar contains five known fixed-but-translated words. Either the size limit is too small for all possible translations. Then some of these translations look ugly. Or it is large enough, but then the size limit is pointless and could be removed.

Aug 1 2017, 7:59 AM · Okular

Jul 31 2017

sander added a comment to D6696: Elide cut off text in sidebar header, remove restricted max width.

Albert, I don't see how fixing the code would look like, either. Even if the max width would be given in some dpi-independent way, there would still be a size limit and translations of "Thumbnails" would be cut off. Are you proposing to use an dpi-independent size unit AND increasing the max size?

Jul 31 2017, 11:27 AM · Okular

Jul 8 2017

sander committed R223:a2b7ce74b28b: Support Forward and Backward mouse buttons in presentation mode (authored by Alexander Schlarb <alexander-kde@ninetailed.ninja>).
Support Forward and Backward mouse buttons in presentation mode
Jul 8 2017, 10:27 AM

Jul 5 2017

sander committed R223:5fdbecf44692: Simplify method FilePrinter::psPaperSize (authored by sander).
Simplify method FilePrinter::psPaperSize
Jul 5 2017, 6:37 PM

Jun 19 2017

sander added a comment to D6268: HiDPI Support for Okular.

For me the patch didn't quite apply to the latest okular git master. Easy to fix, but still. The problem was the cosmetic changes in shell/main.cpp.

Jun 19 2017, 12:35 PM · Okular