[Okular-devel] [okular] [Bug 330820] Scaling to fit print margins incorrectly scales cropped page

2015-02-27 Thread Mark van Rossum
https://bugs.kde.org/show_bug.cgi?id=330820

Mark van Rossum mvanr...@inf.ed.ac.uk changed:

   What|Removed |Added

 CC||mvanr...@inf.ed.ac.uk

--- Comment #10 from Mark van Rossum mvanr...@inf.ed.ac.uk ---
Also in cups 1.7.5 on FC21.

As already asked, has this been reported to CUPS?

-- 
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] Review Request 115283: implemented a feature in okular to resize window to current page size.

2015-02-27 Thread Saheb Preet Singh


 On Dec. 15, 2014, 2:28 a.m., Albert Astals Cid wrote:
  This looks pretty solid now :)
  
  Two minor things:
   * You should add it to the manual, i.e. add something to doc/index.docbook
   * I'm not convinced of it's position on the menus. At the moment it's 
  close to other fit things, but those are permanent, while this is an 
  instant action and it works over the window size and not over the zoom 
  value like the others. I'm undecided about two options: A) Don't show it on 
  the menus at all and give it a shortcut so people can use it (Since i think 
  this is a pretty advanced/notcommon option) B) Put it at the end of the 
  View menu in it's own group (i.e. with a separator). What do you think?
 
 Saheb Preet Singh wrote:
 Before deciding its position on menus I have a doubt. I reviewed the bug 
 description and found this
 
 'Zoom in fit window to page mode causes the whole window to magnify or 
 shrink accordingly.'
 
 Should I work on implementing the movement of window on zoom in and zoom 
 out ?
 
 Albert Astals Cid wrote:
 I honestly think that it's not needed.
 
 Saheb Preet Singh wrote:
 i think keeping it as a shortcut would be a good idea
 
 Albert Astals Cid wrote:
 Now we need to think of a default shortcut. Any suggestion?
 
 Saheb Preet Singh wrote:
 ctrl + E or ctrl + shift + F
 
 Albert Astals Cid wrote:
 ctrl + shift + F is obviously out of question since it's already used
 
 What's the rationale behind Ctrl+E?
 
 Saheb Preet Singh wrote:
 oh I am sorry for suggesting ctrl + shift + F. We can use something like 
 ctrl + alt + F.
 
 I suggested ctrl + E as it is already being used in gimp for shrink wrap.
 
 Albert Astals Cid wrote:
 Hmmm, my gimp uses Ctrl+J ? Which gimp version do you use?
 
 Saheb Preet Singh wrote:
 oops sorry, it works with ctrl + j only. So can we use ctrl + j ?
 
 Albert Astals Cid wrote:
 Ctrl+J seems good, can you make it the patch before this wednesday that 
 is the Feature Freeze for the next release? If not please tell and i'll try 
 to find time to do it myself.

i am really very sorry for the late reply. I tried my best to do it till 
wednesday but couldn't do it. It will take me two to three days more to create 
the final patch.


- Saheb


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115283/#review72005
---


On Nov. 25, 2014, 12:47 p.m., Saheb Preet Singh wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/115283/
 ---
 
 (Updated Nov. 25, 2014, 12:47 p.m.)
 
 
 Review request for Okular and Albert Astals Cid.
 
 
 Bugs: 326844
 http://bugs.kde.org/show_bug.cgi?id=326844
 
 
 Repository: okular
 
 
 Description
 ---
 
 okular do not have a feature to resize the current window to the current page 
 size.
 
 The bug is solved upto some extent, the window is resizing as desired.
 
 resize method of qwidget class is used to resize the window.
 
 The window is resizing  as required but sometimes it doesn't resizes . It has 
 to be moved by mouse and then again click on the button in the menu to resize 
 the window again.  Once it is moved by mouse, it works fine. Now, when the 
 zoom level is changed, the problem starts again.
 
 I think the problem occurs due to something happening in the other portion of 
 the code.
 
 I searched about it on the internet and nobody was able to answer the 
 solution to people with same problem. There are some alternative solutions to 
 the problem:-
 
 == Use set geometry instead of resize which works fine. but would have to be 
 taken care of the size of the screen and the original position of the window. 
 Also, repainting the portion outside the window when the window is resized to 
 a smaller window.
 
 == Use a timer which will signal a slot which in turn will resize the 
 window, but that might require qsignalmapper to map the width and height to 
 the slot. ( I didn't tried this solution ).
 
 The best solution i could find on the internet is this 
 http://qt-project.org/forums/viewthread/25648
 
 Also, there is one more issue, the fit window to page button in the view menu 
 is enabled by default. It should not be enabled when no document is open. 
 Where should the code for enabling this button should be implemented.
 
 
 Diffs
 -
 
   shell/shell.cpp f7675fd 
   ui/pageview.h a8adb2c 
   ui/pageview.cpp 17e66f4 
   ui/sidebar.h cf5dfc6 
   ui/sidebar.cpp 0c722a9 
   part.h 594eb44 
   part.cpp 50a1b20 
   part.rc 60f86e5 
   shell/shell.h 224acfe 
 
 Diff: https://git.reviewboard.kde.org/r/115283/diff/
 
 
 Testing
 ---
 
 
 tested when
 == window is maximized and restored.
 == 

[Okular-devel] [okular] [Bug 344630] Particular EPS file does not show in okular but does in gs

2015-02-27 Thread Mark van Rossum
https://bugs.kde.org/show_bug.cgi?id=344630

--- Comment #1 from Mark van Rossum mvanr...@inf.ed.ac.uk ---
Created attachment 91326
  -- https://bugs.kde.org/attachment.cgi?id=91326action=edit
EPS file that does not show in okular

-- 
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 344630] New: Particular EPS file does not show in okular but does in gs

2015-02-27 Thread Mark van Rossum
https://bugs.kde.org/show_bug.cgi?id=344630

Bug ID: 344630
   Summary: Particular EPS file does not show in okular but does
in gs
   Product: okular
   Version: 0.21.1
  Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: PS backend
  Assignee: okular-devel@kde.org
  Reporter: mvanr...@inf.ed.ac.uk

The attached EPS file shows in GS, Gimp and when embedded in a DVI file via
Latex.

It does not show in okular nor evince.

Reproducible: Always

-- 
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 344630] Particular EPS file does not show in okular but does in gs

2015-02-27 Thread Luigi Toscano
https://bugs.kde.org/show_bug.cgi?id=344630

Luigi Toscano luigi.tosc...@tiscali.it changed:

   What|Removed |Added

 CC||luigi.tosc...@tiscali.it
 Resolution|--- |WAITINGFORINFO
 Status|UNCONFIRMED |NEEDSINFO

--- Comment #2 from Luigi Toscano luigi.tosc...@tiscali.it ---
I opened directly in Okular (0.20.2 on Debian Jessie) and I can see the graph.
When you select Help-About Backend, what do you see? Does Okular use the PS
Backend?

Just to be clear: do you mean that the file is visible when embedded in a DVI
file even in Okular?

-- 
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 344630] Particular EPS file does not show in okular but does in gs

2015-02-27 Thread Mark van Rossum
https://bugs.kde.org/show_bug.cgi?id=344630

--- Comment #3 from Mark van Rossum mvanr...@inf.ed.ac.uk ---
Help -About Backend reports:

PS Backend
Version 0.1.7
Using KDE Development Platform 4.14.4

Help- About Okular reports
Okular
Version 0.21.1
Using KDE Development Platform 4.14.4

Yes, it is visible with okular when embedded in a dvi file.

-- 
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 344645] Printed PDF slides, created with latex beamer class, are empty.

2015-02-27 Thread Christux
https://bugs.kde.org/show_bug.cgi?id=344645

Christux c.schwarzgruber...@gmail.com changed:

   What|Removed |Added

 CC||c.schwarzgruber...@gmail.co
   ||m

-- 
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 344645] New: Printed PDF slides, created with latex beamer class, are empty.

2015-02-27 Thread Christux
https://bugs.kde.org/show_bug.cgi?id=344645

Bug ID: 344645
   Summary: Printed PDF slides, created with latex beamer class,
are empty.
   Product: okular
   Version: 0.21.1
  Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
  Severity: major
  Priority: NOR
 Component: printing
  Assignee: okular-devel@kde.org
  Reporter: c.schwarzgruber...@gmail.com

Created attachment 91337
  -- https://bugs.kde.org/attachment.cgi?id=91337action=edit
Example PDF slide using the latex beamer class.

Hi,

as I tried to print the lecture slides with my new laser printer (Kyocera
P2135dn) I came across a 'major' issue. All pages are empty, regardless what
option I choose. Specially I want to print 4 slides on one page, but 1 slides
per page does not work either.

First, I thought it is a printer driver issues. However, after installing
evince under KDE a tried to print 4 slides on 1 page and it works.

Next,  I tried to print 4 slides on 1 page using the command line tool lpr with
the following options. This worked to.

lpr -o fit-to-page -o page-border=single -o number-up=4 -o landscape
Example-Beamer-Slides.pdf

Hence, I assume it is a bug in the KDE libraries (Okular).

For further questions, I am happy to dispose.

Thanks in advance.

Christian

-- 
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 344645] Printed PDF slides, created with latex beamer class, are empty.

2015-02-27 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=344645

Albert Astals Cid aa...@kde.org changed:

   What|Removed |Added

 CC||aa...@kde.org
 Resolution|--- |WAITINGFORINFO
 Status|UNCONFIRMED |NEEDSINFO

--- Comment #1 from Albert Astals Cid aa...@kde.org ---
Does print preview work?

-- 
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 344645] Printed PDF slides, created with latex beamer class, are empty.

2015-02-27 Thread Christux
https://bugs.kde.org/show_bug.cgi?id=344645

--- Comment #2 from Christux c.schwarzgruber...@gmail.com ---
(In reply to Albert Astals Cid from comment #1)
 Does print preview work?

Preview does work! Also printing other latex generated PDFs work, except PDFs
slides created with the latex beamer class.

Here is the output of 'pdfinfo Example-Beamer-Slides.pdf :

Title:  Okular prints empty pages - Placeholder
Subject:Talks
Keywords:
Author: Max Musterman
Creator:LaTeX with Beamer class version 3.33
Producer:   pdfTeX-1.40.15
CreationDate:   Sat Feb 28 00:47:55 2015
ModDate:Sat Feb 28 00:47:55 2015
Tagged: no
UserProperties: no
Suspects:   no
Form:   none
JavaScript: no
Pages:  5
Encrypted:  no
Page size:  362.835 x 272.126 pts
Page rot:   0
File size:  30012 bytes
Optimized:  no
PDF version:1.5

-- 
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] What should I do to contribute?

2015-02-27 Thread Rawan
HI,
I've installed Okular and want to contribute in developnig this
application. I tried to communicate with you using your IRC but I didn't
know when you are online ?..
I'm using open sourse applications and operting systems from the last year,
but I am new in open source software develeopment.
I know C++ very well, problem solving, object oriented programming
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


Re: [Okular-devel] Pdf files not opening

2015-02-27 Thread Albert Astals Cid
El Divendres, 27 de febrer de 2015, a les 09:58:22, Pulkit Gupta va escriure:
 Hello sir,

We are not a Sir, this is a mailing list where there's lots of people 
subscribed.

 I have good knowledge of C++ and Qt, so I wanted to contribute and
 develop Okular. 

Great :)

 I was able to build and install Okular from the
 source, but whenever I open it, it is not able to show any pdf files.
 When opening Okular in Command prompt, it shows
 
 okular(8747)/kdecore (trader) KServiceTypeTrader::defaultOffers:
 KServiceTypeTrader: serviceType  okular/Generator  not found
 
 And when I select a pdf file, it shows
 
 okular(8747)/kdecore (trader): KMimeTypeTrader: couldn't find service
 type okular/Generator
 Please ensure that the .desktop file for it is installed; then run
 kbuildsycoca4.
 okular(8747)/okular (app) Okular::Document::openDocument: No plugin
 for mimetype 'application/pdf'.
 
 I have tried to build and install Okular both in ubuntu and Kubuntu. I
 also ran kbuildsycoca4 --noincremental command, but it didn't help. I
 can see a okularGenerator.desktop file in
 /home/pulkit/Okular/install/share/kde4/servicetypes, but still this
 error comes. Also, if I install Okular from Ubuntu software center or
 from Muon, then that works perfectly well but if I build and install
 it from source, it doesn't work. Please help, I really want to start
 developing for Okular.

Can you attach the summary part of the cmake run? i.e. the parts that say

The following external packages were located on your system.
and
The following OPTIONAL packages could NOT be located on your system.
?

Cheers,
  Albert
 
 Thanking you,
 Pulkit
 ___
 Okular-devel mailing list
 Okular-devel@kde.org
 https://mail.kde.org/mailman/listinfo/okular-devel

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


[Okular-devel] [okular] [Bug 344630] Particular EPS file does not show in okular but does in gs

2015-02-27 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=344630

Albert Astals Cid aa...@kde.org changed:

   What|Removed |Added

 CC||aa...@kde.org

--- Comment #4 from Albert Astals Cid aa...@kde.org ---
Fails here under the spectre backend (PS) works if i use the kimgio backend
(though of course it's a bit pixellated)

Max which libspectre do you have installed?

-- 
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 344630] Particular EPS file does not show in okular but does in gs

2015-02-27 Thread Mark van Rossum
https://bugs.kde.org/show_bug.cgi?id=344630

--- Comment #5 from Mark van Rossum mvanr...@inf.ed.ac.uk ---
I have
libspectre-0.2.7-5.fc21.x86_64

-- 
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] What should I do to contribute?

2015-02-27 Thread Albert Astals Cid
El Divendres, 27 de febrer de 2015, a les 10:29:17, Rawan va escriure:
 HI,

Hi

 I've installed Okular and want to contribute in developnig this
 application. I tried to communicate with you using your IRC but I didn't
 know when you are online ?..

Have you compiled it from git source already?

Cheers,
  Albert

 I'm using open sourse applications and operting systems from the last year,
 but I am new in open source software develeopment.
 I know C++ very well, problem solving, object oriented programming

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