[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-11-20 Thread Dave Lepore
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #21 from Dave Lepore  ---
So, after a rebuild everything works fine. Sorry for the noise and thanks for
fixing this.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Make the world a better place. Donate to our year end fundraiser 
https://www.kde.org/fundraisers/yearend2014/
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-11-10 Thread Markus Trippelsdorf
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #18 from Markus Trippelsdorf  ---
(In reply to Albert Astals Cid from comment #17)
> Why would you do that? You're essentially removing the check for 0.28

Sorry, I can't remember, just found the diff in my git tree. So it was
necessary at one point.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-11-10 Thread Dave Lepore
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #20 from Dave Lepore  ---
I installed poppler via the Archlinux packages, I think the problem might be
that the okular package has not been rebuilt after poppler was upgraded. Will
check with the mantainers and report back.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-11-10 Thread Markus Trippelsdorf
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #16 from Markus Trippelsdorf  ---
(In reply to Dave Lepore from comment #15)
> I still have the problem with the file (that was) attached here. It seems to
> me that it is the same problem as of the PGF manual. Does the PGF manual
> opens instantly for you? 

Yes.

>I fear it may be a local problem here... Is there something I can do to check 
>if it is a local problem?

Well, as I wrote in comment 9, you need to make sure HAVE_POPPLER_0_28 is
defined.

I used the following patch:

diff --git a/cmake/modules/FindPoppler.cmake b/cmake/modules/FindPoppler.cmake
index 6389a625d3ba..429024bcfd2e 100644
--- a/cmake/modules/FindPoppler.cmake
+++ b/cmake/modules/FindPoppler.cmake
@@ -129,8 +129,6 @@ check_cxx_source_compiles("
 #include 
 int main()
 {
-  Poppler::Page *p = 0;
-  p->annotations( QSet() <<
Poppler::Annotation::ASound );
   return 0;
 }
 " HAVE_POPPLER_0_28)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-11-10 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #19 from Albert Astals Cid  ---
Markus, if you don't know why youre suggesting things, please don't.

Dave, are you sure you have recompiled okular after installing poppler 0.28?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-11-10 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #17 from Albert Astals Cid  ---
Why would you do that? You're essentially removing the check for 0.28

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-11-10 Thread Dave Lepore
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #15 from Dave Lepore  ---
I still have the problem with the file (that was) attached here. It seems to me
that it is the same problem as of the PGF manual. Does the PGF manual opens
instantly for you? I fear it may be a local problem here... Is there something
I can do to check if it is a local problem?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-11-09 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #14 from Albert Astals Cid  ---
Do you have the problem with the file that was attached here? If not, open a
different bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-11-09 Thread Markus Trippelsdorf
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #13 from Markus Trippelsdorf  ---
(In reply to Dave Lepore from comment #12)
> I just updated to poppler 0.28.1 but I still see noticeable delays for many
> PDFs. Consider for example the PGF manual (which has lots of internal links)
> http://mirrors.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf
> 
> with muPDF it opens in less than a second, with Okular it takes 30 secs with
> a intel i7, much more with a netbook processor. 
> 
> Should I file another bug?

It opens almost immediately for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-11-09 Thread Dave Lepore
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #12 from Dave Lepore  ---
I just updated to poppler 0.28.1 but I still see noticeable delays for many
PDFs. Consider for example the PGF manual (which has lots of internal links)
http://mirrors.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf

with muPDF it opens in less than a second, with Okular it takes 30 secs with a
intel i7, much more with a netbook processor. 

Should I file another bug?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-05-12 Thread Markus Trippelsdorf
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #11 from Markus Trippelsdorf  ---
(In reply to comment #10)
> Please open a new bug.

It takes ~4 seconds to open that document. I can live with it.
Lets just drop the issue, because it's not that important.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-05-12 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #10 from Albert Astals Cid  ---
Please open a new bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-05-12 Thread Markus Trippelsdorf
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #9 from Markus Trippelsdorf  ---
Thanks Albert.

I've tested Okular trunk with poppler trunk (by just defining
HAVE_POPPLER_0_28)
and it loads pdfs much faster now.

Here's a document that still loads somewhat slowly on my machine:
trippelsdorf.de/style.pdf
Please take a look if you find time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-05-11 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=317891

Albert Astals Cid  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED
  Latest Commit||http://commits.kde.org/okul
   ||ar/19a216a275859e38a12524ee
   ||988948a5a2c2eb27

--- Comment #8 from Albert Astals Cid  ---
Git commit 19a216a275859e38a12524ee988948a5a2c2eb27 by Albert Astals Cid.
Committed on 11/05/2014 at 16:43.
Pushed by aacid into branch 'master'.

Don't ask for link annotations, they are slow and we don't use them

Needs poppler 0.28 that is yet to be released

M  +15   -3cmake/modules/FindPoppler.cmake
M  +3-0generators/poppler/config-okular-poppler.h.cmake
M  +18   -0generators/poppler/generator_pdf.cpp

http://commits.kde.org/okular/19a216a275859e38a12524ee988948a5a2c2eb27

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-05-11 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=317891

Albert Astals Cid  changed:

   What|Removed |Added

Version|0.16.2  |0.19.1

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-05-08 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=317891

Albert Astals Cid  changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #7 from Albert Astals Cid  ---
Solution: We need to add to poppler a way to get the annotations but excluding
the LinkAnnotations. For these kind of files, getting the LinkAnnotations is
expensive and what is more interesting, we don't use them on the Okular side,
so it's just wasted time ^_^

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2014-05-08 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=317891

Albert Astals Cid  changed:

   What|Removed |Added

 CC||octopl...@yandex.com

--- Comment #6 from Albert Astals Cid  ---
*** Bug 333999 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2013-05-20 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #5 from Albert Astals Cid  ---
Just that i don't forget for the future. Seems like something inside 
poppler-qt4 is resolving lots of named destinations, which doesn't make much
sense, named destinations should be resolved on "use" time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2013-04-05 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #4 from Albert Astals Cid  ---
Got it, will have a look when get some time

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2013-04-05 Thread Dave Lepore
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #3 from Dave Lepore  ---
uploaded here: http://www.speedyshare.com/ry2Az/test.pdf

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2013-04-05 Thread Dave Lepore
https://bugs.kde.org/show_bug.cgi?id=317891

--- Comment #2 from Dave Lepore  ---
I'm not sure, I tried several times but i get a timeout error. May I send the
file somewhere else?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 317891] Okular takes >1 min to open some pdf files

2013-04-05 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=317891

Albert Astals Cid  changed:

   What|Removed |Added

 CC||aa...@kde.org

--- Comment #1 from Albert Astals Cid  ---
Use the "Add an attachment" or the file is too big for it?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel