I see. So there is simply no option to disable the tooltips? And what does OSD mean anyway?
- Queries
- All Stories
- Search
- Advanced Search
Advanced Search
Aug 24 2018
Aug 23 2018
Aug 22 2018
Thanks for the patch.
Aug 14 2018
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.
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?
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 13 2018
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 12 2018
I think some extra comment lines explaining why this code is necessary would be helpful here.
Jul 20 2018
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?
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.
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 18 2018
Jul 17 2018
Jul 10 2018
>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.
Applied Henrik's suggestions
Jul 2 2018
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.
Implemented all suggestions concerning i18n and capitalization.
Jun 25 2018
Jun 21 2018
May 31 2018
May 11 2018
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 10 2018
@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.
Apr 25 2018
People in my field still use Movie annotations, by means of LaTeX/multimedia. Any improvement to their support is always welcome. :-)
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).
Mar 27 2018
Thanks for the patch! I tested it, and it seems to do what it claims to do!
Mar 9 2018
I tried the patch and it does what it claims to do. I have no further objections.
Mar 5 2018
Mar 2 2018
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.
Jan 19 2018
I tried the patch, and it did not fix 386111 for me. But I use fractional scaling, so maybe that's to be expected.
Nov 16 2017
Thanks for the patch. It seems to solve the problem for me.
Oct 25 2017
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 23 2017
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.
Move the top left corner of the dark border one pixel towards the lower right.
Oct 12 2017
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.
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 11 2017
Hi, thanks again for the review. I just updated the patch to include most of your suggestions.
Implement all of Henrik's suggestions.
Sep 30 2017
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.
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 24 2017
Using QPrinter may be "official Qt", but that doens't mean better.
Sep 23 2017
Sep 11 2017
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.
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 7 2017
Sep 6 2017
Indeed. I was somehow expecting this to happen automatically. :-)
Sep 4 2017
This applies to all highlights, i.e. text selection too, are you sure we want that?
Sep 3 2017
Such a @note seems like a good idea.
Sep 2 2017
Sep 1 2017
I may have take on at https://bugs.kde.org/show_bug.cgi?id=384143 myself. Any ideas on where to start looking?
Aug 30 2017
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.
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 29 2017
The problem with drawing in presentation mode is now a bug tracker issue:
Aug 24 2017
Another one is
Midair collision. I'm not saying it is not good to go. I am just saying that there are more HiDPI issues left.
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.
Hi Lukas, I tested and all my previous complaints seem to be resolved. Thank you!
Aug 18 2017
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 16 2017
Incidentally, I found another Okular hidpi problem:
I just tested again, and it looks much better than before. Thanks!
Aug 15 2017
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 10 2017
Aug 8 2017
Aug 1 2017
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.
Jul 31 2017
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 8 2017
Jul 5 2017
Jun 19 2017
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.