[Okular-devel] [Bug 172858] Okular plugin for other browsers

2010-05-19 Thread Jeremy Sanders
https://bugs.kde.org/show_bug.cgi?id=172858


Jeremy Sanders  changed:

   What|Removed |Added

 CC||jer...@jeremysanders.net




--- Comment #17 from Jeremy Sanders   2010-05-19 
18:06:10 ---
I have a basic version of a firefox/opera okular plugin here:
 http://github.com/jeremysanders/okularplugin

It seems to mostly work for PDF, PS & DVI. It could support more files.

You need the rc file to be somewhere on the kde resource path to get the
correct menus.

Sometimes the print dialog doesn't open for some reason.

-- 
Configure bugmail: https://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


Re: [Okular-devel] Okular firefox plugin

2010-05-13 Thread Jeremy Sanders
Albert Astals Cid wrote:

> I think people would be interested if it was for any kpart, can you
> research that possibility?

Certainly. Okular needed a bit of special casing, however. You don't get the 
print menu item unless you manually call the print slot. The okular-kpart 
doesn't seem to include it for some (probably good) reason.

Jeremy


___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


Re: [Okular-devel] Okular firefox plugin

2010-05-12 Thread Jeremy Sanders
On Wed, 12 May 2010, Jeremy Sanders wrote:

> I've had some success writing a Firefox plugin to display PDFs using 
> Nokia's qtbrowserplugin and embedding Okular as a KPart. It appears to 
> mostly just work with little code.

I've overcome my problems I think by reading the docs. Please have a look 
at my code here for the firefox okular plugin:

http://github.com/jeremysanders/okularplugin

Comments are welcome!

There's one big hack in the code which is to set the active window on 
mouse enter events. This is required otherwise the plugin loses keyboard 
events if firefox opens new windows.

The plugin should also work with opera.

Thanks

Jeremy

-- 
Jeremy Sanders 
http://www.jeremysanders.net/Cambridge, UK
Public Key Server PGP Key ID: E1AAE053
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] Okular firefox plugin

2010-05-12 Thread Jeremy Sanders
I've had some success writing a Firefox plugin to display PDFs using 
Nokia's qtbrowserplugin and embedding Okular as a KPart. It appears to 
mostly just work with little code.

Is anyone interested in this generally, or getting it included with 
Okular? Maybe a more general version which could load any KPart into 
Firefox would be useful.

The main problem I'm having is to get the program to use the correct ui.rc 
file to merge the Okular kpart with my application. The rc file seems to 
get installed into /usr/local/share/apps/kparttut1/kparttut1ui.rc on this 
fedora system. I'm getting "Game" and "Move" menus appearing on the menu 
bar, but I'm not sure where these are coming from.

The KPart loader is part of the firefox process, so it's a bit unclear to 
me how to get KDE to use the right rc file.

Any ideas?

Thanks

Jeremy


-- 
Jeremy Sanders 
http://www.jeremysanders.net/Cambridge, UK
Public Key Server PGP Key ID: E1AAE053
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [Bug 180980] Hyperlinks rendered when PDFs are printed

2009-01-16 Thread Jeremy Sanders
http://bugs.kde.org/show_bug.cgi?id=180980





--- Comment #4 from Jeremy Sanders   2009-01-16 
17:40:50 ---
Thanks - I'll file a fedora bug to get poppler updated in Fedora 10.


-- 
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 180980] Hyperlinks rendered when PDFs are printed

2009-01-16 Thread Jeremy Sanders
http://bugs.kde.org/show_bug.cgi?id=180980





--- Comment #2 from Jeremy Sanders   2009-01-16 
17:28:31 ---
poppler-qt4-0.8.7-1.fc10.x86_64


-- 
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 180980] Hyperlinks rendered when PDFs are printed

2009-01-16 Thread Jeremy Sanders
http://bugs.kde.org/show_bug.cgi?id=180980


Jeremy Sanders jeremy jeremysanders net changed:

   What|Removed |Added

 CC||r...@ast.cam.ac.uk




-- 
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 180980] New: Hyperlinks rendered when PDFs are printed

2009-01-16 Thread Jeremy Sanders
http://bugs.kde.org/show_bug.cgi?id=180980

   Summary: Hyperlinks rendered when PDFs are printed
   Product: okular
   Version: unspecified
  Platform: Fedora RPMs
OS/Version: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
AssignedTo: okular-devel@kde.org
ReportedBy: jer...@jeremysanders.net


Version:(using KDE 4.1.3)
Compiler:  gcc 4.3.2 
OS:Linux
Installed from:Fedora RPMs

When Okular prints PDF files containing hyperlinks (e.g. generated by
latex/dvips or pdflatex), it prints out the green or red rectangles which
should only be displayed on the screen. I think this was previously a bug in
kpdf which has reappeared.

Please see this example PDF file:
http://arxiv.org/pdf/0811.0743v1

The file shouldn't show green boxes around references or red boxes around
internal links.

It currently makes arxiv.org papers unreadable on printout.


-- 
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 175276] Duplex printing not working

2008-12-18 Thread Jeremy Sanders
http://bugs.kde.org/show_bug.cgi?id=175276





--- Comment #12 from Jeremy Sanders   2008-12-18 
10:43:33 ---
Also to clarify the cups issue:
 * In kwrite you get a list of printer options in the advanced print tab
 * In okular you just get a blank grey pane in the advanced print tab
Should I open up a separate bug?


-- 
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 175276] Duplex printing not working

2008-12-15 Thread Jeremy Sanders
http://bugs.kde.org/show_bug.cgi?id=175276


Jeremy Sanders jeremy jeremysanders net changed:

   What|Removed |Added

 CC||jer...@jeremysanders.net




--- Comment #7 from Jeremy Sanders   2008-12-15 
13:07:09 ---
It seems okular also doesn't get the default values for things like duplex from
cups (using the ppd file). kpdf picked up all the cups driver settings and set
these as the default. okular doesn't show these settings. evince appears to
work correctly.

This is with KDE-4.1.3 under Fedora 10.


-- 
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