[Okular-devel] [okular] [Bug 334251] New: Tools don't work if any tab is in review mode

2014-05-02 Thread Jonathan Doman
https://bugs.kde.org/show_bug.cgi?id=334251

Bug ID: 334251
   Summary: Tools don't work if any tab is in review mode
Classification: Unclassified
   Product: okular
   Version: 0.19.0
  Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: jonathan.do...@gmail.com

The non-browse tools (zoom, select, etc.) don't work if any tab in the window
is in review mode. Normally, a single tab will enforce the mutual exclusivity
of review mode and non-browse tools. But there is some kind of interaction
between tabs that causes all tools in all tabs to behave as a browse tool
without properly reflecting this in the GUI. I'm happy to fix this but it may
be over a month before I have time to do so.

Reproducible: Always

Steps to Reproduce:
1. Open two documents in tabs
2. Enter review mode in doc 1. (At this point, doc 1 will enforce the use of
browse tool.)
3. Switch to doc 2 and try to use the zoom tool (or any other tool).
Actual Results:  
The zoom tool will be selected in the GUI and the corresponding tooltip will
show, but in fact the browse tool is still active.

Expected Results:  
Each tab should be allowed to use different tools, regardless of whether other
tabs are in review mode.

-- 
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 334068] Failed to find a string occurence in a PDF document, but other readers find it successfully

2014-05-02 Thread Jaan Vajakas
https://bugs.kde.org/show_bug.cgi?id=334068

--- Comment #4 from Jaan Vajakas  ---
The problem with this file is that the bounding boxes of "T" and "A" overlap
and Okular's layout detection algorithm only considers two glyphs to belong to
the same word if the second one's bounding box touches the first one's right
side exactly (rounded to integer pixels at a certain resolution), not if there
is overlap or a gap. I think I can write a small patch to solve it: accept
overlap (or maybe also gap) within a percentage of the width of the following
character.

In the long run, as layout detection is something that will never be 100%
perfect and in particular the XY Cut layout detection approach that Okular uses
has some fundamental limitations, I think the layout detection in Okular would
benefit from a major refactoring to 1) use existing text flow info in the file
if available (Tagged PDF, ePUB, OpenDocument etc.) and 2) for files where text
flow data is really missing, reuse algorithms from other similar projects to
save the research & development effort. For the current file, however, 1) would
not help since it is not a Tagged PDF, i. e. it is one of the kind that Albert
described in his comment.

-- 
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 117267: make width of the rectangle for inline note in annotations configurable

2014-05-02 Thread Alin M Elena

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

(Updated May 2, 2014, 3:28 p.m.)


Review request for Okular and Fabio D'Urso.


Changes
---

removed the 1.0 from the if


Bugs: 332887
http://bugs.kde.org/show_bug.cgi?id=332887


Repository: okular


Description
---

make width of the rectangle for inline note in annotations configurable
promised it to fabio few months back... never got the time to it till now


Diffs (updated)
-

  ui/annotationwidgets.h 6e7a218 
  ui/annotationwidgets.cpp 450e50b 

Diff: https://git.reviewboard.kde.org/r/117267/diff/


Testing
---

saved a document with various widths for border from 0 to more... opened it in 
windows acroread and worked.


Thanks,

Alin M Elena

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


[Okular-devel] [okular] [Bug 252596] okular printing options not working when printing to file (pdf/ps)

2014-05-02 Thread Alejandro Villar
https://bugs.kde.org/show_bug.cgi?id=252596

Alejandro Villar  changed:

   What|Removed |Added

 CC||alx5...@alx5000.net

-- 
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 117267: make width of the rectangle for inline note in annotations configurable

2014-05-02 Thread Albert Astals Cid


> On April 27, 2014, 8:34 p.m., Albert Astals Cid wrote:
> > core/annotations.cpp, line 744
> > 
> >
> > Why this change?
> 
> Alin M Elena wrote:
> Hi,
> 
> A hangover from some tests I did... We can revert it to integer 1 if you 
> want.
> 
> regards,
> Alin

Yes please, let's leave only the changes we really need so that when in a few 
years people look at the diff they don't wonder why this change was 
introduced/needed.


- Albert


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


On March 31, 2014, 10:48 p.m., Alin M Elena wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/117267/
> ---
> 
> (Updated March 31, 2014, 10:48 p.m.)
> 
> 
> Review request for Okular and Fabio D'Urso.
> 
> 
> Bugs: 332887
> http://bugs.kde.org/show_bug.cgi?id=332887
> 
> 
> Repository: okular
> 
> 
> Description
> ---
> 
> make width of the rectangle for inline note in annotations configurable
> promised it to fabio few months back... never got the time to it till now
> 
> 
> Diffs
> -
> 
>   core/annotations.cpp e029946 
>   ui/annotationwidgets.h 6e7a218 
>   ui/annotationwidgets.cpp 450e50b 
> 
> Diff: https://git.reviewboard.kde.org/r/117267/diff/
> 
> 
> Testing
> ---
> 
> saved a document with various widths for border from 0 to more... opened it 
> in windows acroread and worked.
> 
> 
> Thanks,
> 
> Alin M Elena
> 
>

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


[Okular-devel] [okular] [Bug 333456] PDF files are rendered in landscape pages and look stretched

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

Albert Astals Cid  changed:

   What|Removed |Added

 CC||jhern...@ull.edu.es

--- Comment #37 from Albert Astals Cid  ---
*** Bug 334226 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 334226] Okular stretched aspect ratio in 14.04

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

Albert Astals Cid  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||aa...@kde.org
 Resolution|--- |DUPLICATE

--- Comment #1 from Albert Astals Cid  ---


*** This bug has been marked as a duplicate of bug 333456 ***

-- 
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 334228] Size of text font on PDF forms changes when switching from "Edit" to "View" form

2014-05-02 Thread Rafael
https://bugs.kde.org/show_bug.cgi?id=334228

Rafael  changed:

   What|Removed |Added

 CC||rmr...@gmail.com

-- 
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 334228] New: Size of text font on PDF forms changes when switching from "Edit" to "View" form

2014-05-02 Thread Rafael
https://bugs.kde.org/show_bug.cgi?id=334228

Bug ID: 334228
   Summary: Size of text font on PDF forms changes when switching
from "Edit" to "View" form
Classification: Unclassified
   Product: okular
   Version: 0.19.60
  Platform: openSUSE RPMs
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: rmr...@gmail.com

When Okular open a PDF form, it show it right. But when you enter in "Show
form", text font size on fillable fields changes, so you can enter even more
text that in the final form. When you switch to "Hide form", filled fields
recover their font correct size, and you notice that you need to fix most of
them caused the text you put in them is larger than the size of the fields.

Even control check buttons are showed badly.

Reproducible: Always

Steps to Reproduce:
1.Open a PDF form
2.Click on "Show form". 
3. Enter text in text fields
4. Click on "Hide form". You'll see that fonts size on form fields is changed

Actual Results:  
Is difficult to fill a form with Okular.

Expected Results:  
Form aspect should not change on switching from "Show" to "Hide" form.

-- 
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 334226] New: Okular stretched aspect ratio in 14.04

2014-05-02 Thread jhernand
https://bugs.kde.org/show_bug.cgi?id=334226

Bug ID: 334226
   Summary: Okular stretched aspect ratio in 14.04
Classification: Unclassified
   Product: okular
   Version: unspecified
  Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
  Severity: major
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: jhern...@ull.edu.es

With all pdf files Okular now stretched the aspect ratio, doing very difficult
to read the document.

-- 
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 117267: make width of the rectangle for inline note in annotations configurable

2014-05-02 Thread Alin M Elena


> On April 27, 2014, 8:34 p.m., Albert Astals Cid wrote:
> > core/annotations.cpp, line 744
> > 
> >
> > Why this change?

Hi,

A hangover from some tests I did... We can revert it to integer 1 if you want.

regards,
Alin


- Alin M


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


On March 31, 2014, 10:48 p.m., Alin M Elena wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/117267/
> ---
> 
> (Updated March 31, 2014, 10:48 p.m.)
> 
> 
> Review request for Okular and Fabio D'Urso.
> 
> 
> Bugs: 332887
> http://bugs.kde.org/show_bug.cgi?id=332887
> 
> 
> Repository: okular
> 
> 
> Description
> ---
> 
> make width of the rectangle for inline note in annotations configurable
> promised it to fabio few months back... never got the time to it till now
> 
> 
> Diffs
> -
> 
>   core/annotations.cpp e029946 
>   ui/annotationwidgets.h 6e7a218 
>   ui/annotationwidgets.cpp 450e50b 
> 
> Diff: https://git.reviewboard.kde.org/r/117267/diff/
> 
> 
> Testing
> ---
> 
> saved a document with various widths for border from 0 to more... opened it 
> in windows acroread and worked.
> 
> 
> Thanks,
> 
> Alin M Elena
> 
>

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


[Okular-devel] [okular] [Bug 334185] Auto alignment feature for notes

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

--- Comment #3 from Albert Astals Cid  ---
Do 2) and tell your friend to use a pdf viewer with proper support for
annotations, he can either install Okular or Adobe Reader.

It's not our fault evince doesn't support pdf annotations properly, no?

-- 
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 189872] Support for zoom/rotate/crop/etc. in presentation mode

2014-05-02 Thread Alok Singh Mahor
https://bugs.kde.org/show_bug.cgi?id=189872

Alok Singh Mahor  changed:

   What|Removed |Added

 CC||alokma...@gmail.com

--- Comment #3 from Alok Singh Mahor  ---
we have zooming facility in qpdfview. but I love okular. I wish zooming
facility or trimming margin can we possible in presentation mode in okular 
http://askubuntu.com/questions/458466/which-pdf-reader-support-zoom-or-triming-margins-in-presentation-mode

-- 
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 333456] PDF files are rendered in landscape pages and look stretched

2014-05-02 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=333456

--- Comment #36 from Eugene Shalygin  
---
(In reply to comment #34)
Perfect, thanks!

-- 
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 330527] Annotations: Inline Note not shows cyrillic symbols.

2014-05-02 Thread chris.taylor
https://bugs.kde.org/show_bug.cgi?id=330527

--- Comment #2 from chris.tay...@cantab.net ---
I'm having similar trouble displaying Greek characters. I wondered if the
problem was that the default font for in-line display is not unicode or
something. So I tried to change the default font (or the font used for
individual notes). It turns out that for me using 0.19.0, any font changes are
displayed.

So a related bug might be the one I've filed here:
https://bugs.kde.org/show_bug.cgi?id=334210

-- 
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 334210] In-line annotation font displayed always the same no matter which font selected

2014-05-02 Thread chris.taylor
https://bugs.kde.org/show_bug.cgi?id=334210

chris.tay...@cantab.net changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=330527

-- 
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 334210] In-line annotation font displayed always the same no matter which font selected

2014-05-02 Thread chris.taylor
https://bugs.kde.org/show_bug.cgi?id=334210

chris.tay...@cantab.net changed:

   What|Removed |Added

 CC||chris.tay...@cantab.net

-- 
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 334210] New: In-line annotation font displayed always the same no matter which font selected

2014-05-02 Thread chris.taylor
https://bugs.kde.org/show_bug.cgi?id=334210

Bug ID: 334210
   Summary: In-line annotation font displayed always the same no
matter which font selected
Classification: Unclassified
   Product: okular
   Version: 0.19.0
  Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: chris.tay...@cantab.net

The in-line annotation font that is displayed never changes from the default,
no matter which font is selected for an individual in-line annotation, or
configured globally for all in-line annotations.

A further problem therefore is that if a non-unicode font is the default font,
then e.g. Greek characters are not displayed.

Reproducible: Always

Steps to Reproduce:
Either:
1. Open a PDF document in Okular.
2. Insert an in-line annotation.
3. Type something.
4. Click OK.
5. Right-click in-line annotation --> Properties.
6. Change font to anything (pick something obviously different for testing).
7. Click OK.

Or:
1. Change global font in Settings --> Configure Okular --> Annotations -->
Inline Note --> Edit
Actual Results:  
Font stays as default.

Expected Results:  
Font changes to the one you've selected.

No error messages are displayed.

As mentioned above, potential knock on effect of non-display of non-unicode
characters (see https://bugs.kde.org/show_bug.cgi?id=330527).

-- 
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 330527] Annotations: Inline Note not shows cyrillic symbols.

2014-05-02 Thread chris.taylor
https://bugs.kde.org/show_bug.cgi?id=330527

chris.tay...@cantab.net changed:

   What|Removed |Added

 CC||chris.tay...@cantab.net

-- 
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 334088] Upgraded to Kubuntu 14.04, Okular crashes with "Fatal IO error"

2014-05-02 Thread teracow
https://bugs.kde.org/show_bug.cgi?id=334088

tera...@gmail.com changed:

   What|Removed |Added

 CC||tera...@gmail.com

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