[Okular-devel] [Bug 177548] Wrong search result highlighting

2008-12-11 Thread Pino Toscano
http://bugs.kde.org/show_bug.cgi?id=177548





--- Comment #1 from Pino Toscano   2008-12-12 01:29:29 ---
Looks working here, can you provide an example of search whose highlighted text
is not placed correctly?
Also, which poppler-qt4 version do you have?


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177537] missing plugin keyword when creating generators

2008-12-11 Thread Pino Toscano
http://bugs.kde.org/show_bug.cgi?id=177537


Pino Toscano pino kde org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #5 from Pino Toscano   2008-12-12 01:16:24 ---
SVN commit 895926 by pino:

Pass the plugin keyword when creating generators.
This should make the Ruby binding work again.

BUG: 177537


 M  +1 -1  document.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=895926


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177537] missing plugin keyword when creating generators

2008-12-11 Thread Pino Toscano
http://bugs.kde.org/show_bug.cgi?id=177537


Pino Toscano pino kde org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
Summary|Use of deprecated method|missing plugin keyword when
   |makes ruby bindings unusable|creating generators




--- Comment #4 from Pino Toscano   2008-12-12 01:13:43 ---
> I'd read the keyword from KService::keywords()

Not really, but pluginKeyword().
Confirming and giving a better title, fix coming in a minute.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177548] New: Wrong search result highlighting

2008-12-11 Thread Torquil Macdonald Sørensen
http://bugs.kde.org/show_bug.cgi?id=177548

   Summary: Wrong search result highlighting
   Product: okular
   Version: 0.7.3
  Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
AssignedTo: okular-devel@kde.org
ReportedBy: torq...@gmail.com


Version:   0.7.3 (using 4.1.3 (KDE 4.1.3), Debian packages)
Compiler:  cc
OS:Linux (i686) release 2.6.26-1-686

In this PDF file, the yellow search result highlightings are not positioned
correctly:

http://www.mesaboogie.com/manuals/ExpressSers.pdf

Best regards
Torquil Sørensen


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177317] okular displays broken openoffice 3.0 annotations

2008-12-11 Thread John Layt
http://bugs.kde.org/show_bug.cgi?id=177317


John Layt john layt net changed:

   What|Removed |Added

 CC||j...@layt.net




--- Comment #7 from John Layt   2008-12-12 00:28:14 ---
Seeing the problem here, also on openSuse 11.1 RC1, so looks to be a downstream
issue.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177537] Use of deprecated method makes ruby bindings unusable

2008-12-11 Thread David Palacio
http://bugs.kde.org/show_bug.cgi?id=177537





--- Comment #3 from David Palacio   2008-12-12 
00:05:45 ---
I'd read the keyword from KService::keywords()
http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKService.html#f770ba5a418ed2b0c8dfa5d014536e7c

And pass it to the create method.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177537] Use of deprecated method makes ruby bindings unusable

2008-12-11 Thread David Palacio
http://bugs.kde.org/show_bug.cgi?id=177537





--- Comment #2 from David Palacio   2008-12-11 
23:56:49 ---
On Thursday 11 December 2008 16:57:53 Pino Toscano wrote:
> There's something I don't understand in your report, that makes me think
> the problem does not lie in Okular.
>
> Let's start from the Okular line:
> >Generator * generator = factory->create< Okular::Generator >( 0 );
>
> and then the various create() overloads in KPluginFactory:
>
> a) T *create(QObject *parent = 0, const QVariantList &args =
> QVariantList()); b) T *create(const QString &keyword, QObject *parent = 0,
> const QVariantList &args = QVariantList());
> c) T *create(QWidget *parentWidget, QObject *parent, const QString &keyword
> = QString(), const QVariantList &args = QVariantList());
> d) KDE_DEPRECATED T *create(QObject *parent, const QStringList &args)
> e) KDE_DEPRECATED QObject *create(QObject *parent = 0, const char
> *classname = "QObject", const QStringList &args = QStringList())
> f) virtual QObject *create(const char *iface, QWidget *parentWidget,
> QObject *parent, const QVariantList &args, const QString &keyword);
>
> it seems pretty clear that (when compiling it) the chosen one is (a).
Correct. I said that.
> Let's go to to the implementation of (a):
> > inline T *KPluginFactory::create(QObject *parent, const QVariantList
> > &args) {
> > QObject *o = create(T::staticMetaObject.className(), parent &&
> > parent->isWidgetType() ? reinterpret_cast(parent): 0, parent,
> > args, QString());
>
> Thus, the create() used by Okular in the end calls the virtual create()
> that is reimplemented by the KRubyPluginFactory.
> Parent is passed (null), keyword is empty, and there are no arguments.
Correct. I said that too.
> Other ideas?
The problem is that the ruby plugin .desktop file contains a
X-KDE-PluginKeyword that describes the file to load which is ignored by Okular.
This keyword is the one passed to the create method.
X-KDE-PluginKeyword=folder/script.rb

Right now, when I execute this plugin within the Okular kpart, this appears  in
the program output:
KRubyPluginFactory::create: Ruby script "" missing

"" is the keyword parameter from KRubyPluginFactory::create


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177537] Use of deprecated method makes ruby bindings unusable

2008-12-11 Thread Pino Toscano
http://bugs.kde.org/show_bug.cgi?id=177537





--- Comment #1 from Pino Toscano   2008-12-11 22:57:53 ---
There's something I don't understand in your report, that makes me think the
problem does not lie in Okular.

Let's start from the Okular line:

>Generator * generator = factory->create< Okular::Generator >( 0 );

and then the various create() overloads in KPluginFactory:

a) T *create(QObject *parent = 0, const QVariantList &args = QVariantList());
b) T *create(const QString &keyword, QObject *parent = 0, const QVariantList
&args = QVariantList());
c) T *create(QWidget *parentWidget, QObject *parent, const QString &keyword =
QString(), const QVariantList &args = QVariantList());
d) KDE_DEPRECATED T *create(QObject *parent, const QStringList &args)
e) KDE_DEPRECATED QObject *create(QObject *parent = 0, const char *classname =
"QObject", const QStringList &args = QStringList())
f) virtual QObject *create(const char *iface, QWidget *parentWidget, QObject
*parent, const QVariantList &args, const QString &keyword);

it seems pretty clear that (when compiling it) the chosen one is (a).
Let's go to to the implementation of (a):

> inline T *KPluginFactory::create(QObject *parent, const QVariantList &args)
> {
> QObject *o = create(T::staticMetaObject.className(), parent && 
> parent->isWidgetType() ? reinterpret_cast(parent): 0, parent, 
> args, QString());

Thus, the create() used by Okular in the end calls the virtual create() that is
reimplemented by the KRubyPluginFactory.
Parent is passed (null), keyword is empty, and there are no arguments.

Other ideas?


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177537] New: Use of deprecated method makes ruby bindings unusable

2008-12-11 Thread David Palacio
http://bugs.kde.org/show_bug.cgi?id=177537

   Summary: Use of deprecated method makes ruby bindings unusable
   Product: okular
   Version: unspecified
  Platform: Compiled Sources
OS/Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
AssignedTo: okular-devel@kde.org
ReportedBy: dpala...@uninorte.edu.co


Version:(using Devel)
Installed from:Compiled sources

In file core/document.cpp line 526 a deprecated method is used.
http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKPluginFactory.html#59613b7a465031d7427d609f7eda76e5

Ruby plugins require the keyword parameter to find the script file. (check
kdebindings/ruby/korundum/src/krubypluginfactory.cpp create method)

Please pass parent, keyword and args if necessary/possible


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177516] unable to open file.ps.gz

2008-12-11 Thread Pino Toscano
http://bugs.kde.org/show_bug.cgi?id=177516


Pino Toscano pino kde org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Component|PS backend  |general
 Resolution||WORKSFORME




--- Comment #1 from Pino Toscano   2008-12-11 19:16:37 ---
> If I remember correctly kpdf was able to open gzipped postscript files.

Nope.

Beside that:
$ okular valgrind_manual.ps
okular(10374)/kdecore (trader) KMimeTypeTrader::query: query for mimeType 
"application/postscript" ,  "okular/Generator"  : returning  1  offers
okular(10374)/okular (Spectre) GSGenerator::loadDocument: Page count: 213
...
$ okular valgrind_manual.ps.gz
okular(10446)/kdecore (trader) KMimeTypeTrader::query: query for mimeType 
"application/postscript" ,  "okular/Generator"  : returning  1  offers
okular(10446)/okular (Spectre) GSGenerator::loadDocument: Page count: 213

Okular supports PS documents and .gz and .bz2 versions of them.

Are you really sure you can open uncompressed postscript files?


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177516] New: unable to open file.ps.gz

2008-12-11 Thread Jan Paral
http://bugs.kde.org/show_bug.cgi?id=177516

   Summary: unable to open file.ps.gz
   Product: okular
   Version: unspecified
  Platform: Debian testing
OS/Version: unspecified
Status: UNCONFIRMED
  Severity: wishlist
  Priority: NOR
 Component: PS backend
AssignedTo: okular-devel@kde.org
ReportedBy: jpa...@seznam.cz


Version:(using KDE 4.1.3)
Installed from:Debian testing/unstable Packages

If I remember correctly kpdf was able to open gzipped postscript files. It is
very useful feature since when working with LaTeX documents it is better to
store the ps figures packed using gzip since TeX can work with them directly
when including into the document.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177516] unable to open file.ps.gz

2008-12-11 Thread Jan Paral
http://bugs.kde.org/show_bug.cgi?id=177516


Jan Paral jparal seznam cz changed:

   What|Removed |Added

 CC||jpa...@seznam.cz




-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177501] undo button or function missing

2008-12-11 Thread Pino Toscano
http://bugs.kde.org/show_bug.cgi?id=177501





--- Comment #1 from Pino Toscano   2008-12-11 16:34:51 ---
> And it is a bug, that sometimes my annotations don't get saved even if I save
> them.

You cannot "save" annotations. What do you really mean?
(Again, offtopic wrt the bug topic.)


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177501] New: undo button or function missing

2008-12-11 Thread Patrick Fehr
http://bugs.kde.org/show_bug.cgi?id=177501

   Summary: undo button or function missing
   Product: okular
   Version: 0.7.2
  Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
  Severity: wishlist
  Priority: NOR
 Component: general
AssignedTo: okular-devel@kde.org
ReportedBy: [EMAIL PROTECTED]


Version:   0.7.2 (using KDE 4.1.2)
OS:Linux
Installed from:Ubuntu Packages

There is no undo-function for adding review annotations. 

And it is a bug, that sometimes my annotations don't get saved even if I save
them.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 159601] configurable review tools

2008-12-11 Thread Pino Toscano
http://bugs.kde.org/show_bug.cgi?id=159601





--- Comment #4 from Pino Toscano   2008-12-11 16:01:26 ---
@Patrick Fehr:
> and what is VERY VERY important: an UNDO Button/Function for review tools 
> used!

Open a new bug report, if you want (possibly without UPPERCASE WORDS, they just
annoy, thanks).

> a) also for the yellow notes: they are surprisingly not fit to the font size
> with some margin.

If you just click, then the size is the minimum for the text.
Otherwise, you can drag a region when constructing them.

> b) The "pin" notes should be visible, when moving over them with the mouse.

A tooltip? Already there for any annotation.

> c) the pin- and the yellow notes should both be MOVABLE after having been
> placed.

Already done, hold Ctrl and drag any annotation.

Btw, these are offtopic for this bug, please ask user questions in user
channels or in our mailing list.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 159601] configurable review tools

2008-12-11 Thread Patrick Fehr
http://bugs.kde.org/show_bug.cgi?id=159601





--- Comment #3 from Patrick Fehr   2008-12-11 15:50:31 ---
a) also for the yellow notes: they are surprisingly not fit to the font size
with some margin.
They seem to have always the same height, which is not reasonable.
b) The "pin" notes should be visible, when moving over them with the mouse.
c) the pin- and the yellow notes should both be MOVABLE after having been
placed.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 159601] configurable review tools

2008-12-11 Thread Patrick Fehr
http://bugs.kde.org/show_bug.cgi?id=159601


Patrick Fehr fehrp box gmail com changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Comment #2 from Patrick Fehr   2008-12-11 15:39:42 ---
this is also in my interest.
and what is VERY VERY important: an UNDO Button/Function for review tools used!


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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] [Bug 177473] New: support javascript functions in okular / DHL-stamps printing

2008-12-11 Thread m.wege
http://bugs.kde.org/show_bug.cgi?id=177473

   Summary: support javascript functions in okular / DHL-stamps
printing
   Product: okular
   Version: 0.7.2
  Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
  Severity: wishlist
  Priority: NOR
 Component: general
AssignedTo: okular-devel@kde.org
ReportedBy: [EMAIL PROTECTED]


Version:   0.7.2 (using 4.1.2 (KDE 4.1.2), Kubuntu packages)
Compiler:  gcc
OS:Linux (i686) release 2.6.24-20-generic

I would like to be able to use javascript in okular. I does not seem to work
with DHL-stamps (from Germany) which need javascript in order to check if the
stamp has already be printed or not. I can provide an example of such a stamp,
but can only send it personally to someone, because it contains private data.
It would be really cool, if this would be supported, because even Adobe Reader
for Linux does not support it, because of a bug in their print routine and and
they don't care to fix it.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- 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