Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
okular: issues with function "search"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
disperato
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 120

PostPosted: Wed Jul 18, 2012 3:15 pm    Post subject: okular: issues with function "search" Reply with quote

I'm having this unnerving problem with okular, when I search some words through the document. When it eventually finds them, all I can see is a black page with a white, large, rectangle. In order to see the page I must erase the searched word from the proper field. This is very unnerving while searching multiple instances through the pdf, and doesn't even highlight the word when doing so, it just finds the page!
HELP!

In an attempt to work around the issue, I erased the user settings for okular, and even downgraded to the minimum version in portage. To no avail.

versions tried: okular 4.7.4, 4.8.3, 4.8.4
I'm on gentoo with Xfce4 4.10
_________________
The free men's path is always obstructed by mediocrity.
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Wed Jul 18, 2012 3:57 pm    Post subject: Reply with quote

Maybe it depends on the properties of the pdf.

This does not happen to me with Okular 0.14.3 (I do not know what you mean with your versions) under kde 4.8.3 with an home made pdf. (I mean a text document passed through cups-pdf)
Pages are still visible and searched words correctly written over a yellow background.
_________________
Back to top
View user's profile Send private message
disperato
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 120

PostPosted: Thu Jul 19, 2012 7:17 am    Post subject: Reply with quote

no, it does not depend on the pdf. Every pdf documents is affected.

Version 0.14.3 is mine too. I was misguided by the numeration in portage: check it, those are the version in portage (following -now I realize- the kde enumeration, given that okular is a package from kde-base):

Code:
~ $ ls /usr/portage/kde-base/okular/
ChangeLog  Manifest  metadata.xml  okular-4.7.4.ebuild  okular-4.8.3.ebuild  okular-4.8.4.ebuild


There is more:

"find" in ps documents, either written by me with LateX, or from external source, is disabled;
"find" in pdf documents from books available online works badly as I said: white rectangle on black page;
"find" in pdf documents generated with LateX, simply does not work (as if they were scanned raw images saved in pdf).

Maybe some kde misbehaving? Where to check?
From portage point of view, everything is fine: no broken libraries, no unneeded packages, everything compiled from stable version.
_________________
The free men's path is always obstructed by mediocrity.
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Thu Jul 19, 2012 7:51 am    Post subject: Reply with quote

disperato wrote:
"find" in pdf documents from books available online works badly as I said: white rectangle on black page;

Could you provide a link ?
_________________
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4547

PostPosted: Thu Jul 19, 2012 10:52 am    Post subject: Re: okular: issues with function "search" Reply with quote

disperato wrote:
When it eventually finds them, all I can see is a black page with a white, large, rectangle.

Which version of poppler do you use?
Which Graphics Card + Graphics driver (-version)?
Did you enable something like "invert colors" in the accessibility settings? ("black page" somehow sounds like you did).
Did you enable "transparency effects" in the okular settings?
Also a Screenshot would be nice to have.
Back to top
View user's profile Send private message
disperato
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 120

PostPosted: Thu Jul 19, 2012 7:06 pm    Post subject: Reply with quote

ok, assuming that's not a joke (I mean... a black page with a big white rectangle is just a black page with a white big rectangle, isn't it?),
here is the requested image:

http://img837.imageshack.us/img837/9168/screenshotokularissue.png

graphic card is nvidia G8200M (as it has been for years)
nvidia drivers are: 295.59, working fine for months

Other experiments:
1) I've tried different versions of poppler: same result. Current is: poppler-0.18.4-r1 & poppler-data-0.4.5-r1.
2) evince: works fine, no black page with white rectangle :)
3) both, evince and okular don't find any word in old pdf created with LateX 7 years ago (while commercial software on other OSes do).
_________________
The free men's path is always obstructed by mediocrity.
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4547

PostPosted: Thu Jul 19, 2012 8:04 pm    Post subject: Reply with quote

Your color scheme looks quite - overtuned :D
Could you try a default-one, like oxygen? Probably anopther style?
Looks like an issue with masking/highlighting. Probably also your windowmanager could cause this roblem.

Oh - which graphicssystem have you set?
$ eselect qtgraphicssystem show
Simply try with "native" if you have set something else. Check in a terminal if this was really set (so used by your applications):
$ echo $QT_GRAPHICSSYSTEM
raster (upstream default)/opengl (experimental) caused absolutely weird graphics issues here...
Back to top
View user's profile Send private message
disperato
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 120

PostPosted: Fri Jul 20, 2012 8:20 am    Post subject: Reply with quote

following your suggestion, I've just tried both changes, and it's pretty the same. No improvements.

As for the graphics style: it's just Xfce-dusk (I've been using it for almost 8 years now :) )
I admit that dusk causes white chars in the google search bar (and no way to work-around this in a comfortable way - it should more likely be solved by google), for this reason it's the first thing I probed, ineffectively, though.

There must be some package, library, whatever, on which okular depends, causing this.
We can exclude:
1) okular settings (test:settings changed/directory erased)
2) okular version (test:4.7.4,4.8.3,4.84 - I'm following the kde enumeration)
3) poppler version (test:0.18.4-r1, 0.22.0)

Code:
 equery g okular
 * Searching for okular ...
[SNIP]
* dependency graph for kde-base/okular-4.8.3
 `--  kde-base/okular-4.8.3  amd64
   `--  media-libs/freetype-2.4.9-r1  (media-libs/freetype) ~amd64
   `--  media-libs/qimageblitz-0.0.6  (media-libs/qimageblitz) amd64
   `--  sys-libs/zlib-1.2.5.1-r2  (sys-libs/zlib) amd64
   `--  dev-libs/chmlib-0.40-r1  (dev-libs/chmlib) amd64
   `--  app-crypt/qca-2.0.3  (app-crypt/qca) amd64
   `--  app-text/djvu-3.5.24-r1  (app-text/djvu) amd64
   `--  app-text/ebook-tools-0.2.1  (app-text/ebook-tools) amd64
   `--  virtual/jpeg-0  (virtual/jpeg) amd64
   `--  app-text/poppler-0.18.4-r1  (>=app-text/poppler-0.12.3-r3) amd64  [qt4 -exceptions(-)]
   `--  app-text/libspectre-0.2.6  (app-text/libspectre) amd64
   `--  media-libs/tiff-4.0.2  (media-libs/tiff) amd64
   `--  sys-apps/sed-4.2.1  (>=sys-apps/sed-4) amd64
   `--  dev-util/cmake-2.8.7-r5  (>=dev-util/cmake-2.8.4) amd64
   `--  sys-apps/findutils-4.4.2-r1  (>=sys-apps/findutils-4.4.0) amd64
   `--  dev-util/automoc-0.9.88  (dev-util/automoc) amd64
   `--  virtual/pkgconfig-0  (virtual/pkgconfig) amd64
   `--  x11-libs/libXtst-1.2.1  (>=x11-libs/libXtst-1.1.0) amd64
   `--  x11-proto/xf86vidmodeproto-2.3.1  (x11-proto/xf86vidmodeproto) amd64
   `--  app-text/docbook-xml-dtd-4.2-r2  (app-text/docbook-xml-dtd) amd64
   `--  app-text/docbook-xsl-stylesheets-1.76.1  (app-text/docbook-xsl-stylesheets) amd64
   `--  dev-lang/perl-5.12.4-r1  (dev-lang/perl) amd64
   `--  x11-libs/qt-core-4.8.2  (>=x11-libs/qt-core-4.7.4) amd64  [qt3support ssl]
   `--  x11-libs/qt-dbus-4.8.2  (>=x11-libs/qt-dbus-4.7.4) amd64
   `--  x11-libs/qt-gui-4.8.2  (>=x11-libs/qt-gui-4.7.4) amd64  [accessibility dbus]
   `--  x11-libs/qt-qt3support-4.8.2  (>=x11-libs/qt-qt3support-4.7.4) amd64  [accessibility]
   `--  x11-libs/qt-script-4.8.2  (>=x11-libs/qt-script-4.7.4) amd64
   `--  x11-libs/qt-sql-4.8.2  (>=x11-libs/qt-sql-4.7.4) amd64  [qt3support]
   `--  x11-libs/qt-svg-4.8.2  (>=x11-libs/qt-svg-4.7.4) amd64
   `--  x11-libs/qt-test-4.8.2  (>=x11-libs/qt-test-4.7.4) amd64
   `--  x11-libs/qt-webkit-4.8.2  (>=x11-libs/qt-webkit-4.7.4) amd64
   `--  x11-libs/libXext-1.3.1  (x11-libs/libXext) amd64
   `--  x11-libs/libXt-1.1.3  (x11-libs/libXt) amd64
   `--  x11-libs/libXxf86vm-1.1.2  (x11-libs/libXxf86vm) amd64
   `--  x11-libs/libXcomposite-0.4.3-r1  (x11-libs/libXcomposite) amd64
   `--  x11-libs/libxkbfile-1.0.8  (x11-libs/libxkbfile) amd64
   `--  kde-base/kdelibs-4.8.3  (>=kde-base/kdelibs-4.8.3) amd64  [aqua=]
   `--  kde-base/oxygen-icons-4.8.3  (>=kde-base/oxygen-icons-4.8.3) amd64  [aqua=]
[ kde-base/okular-4.8.3 stats: packages (38), max depth (1) ]
[SNIP]



About old pdf that cannot be searched through, I remember some message while updating, months ago, a new version of LateX and related, through emerge: the general meaning was: you may have to re-create (GASP!) your pdf/ps documents. Cannot be more precise.

Any hint will be appreciated.
_________________
The free men's path is always obstructed by mediocrity.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum