[okular] [Bug 484017] New: Yellow highlight and pop-up note color is (subjectively) too intense, should use a muted color similar to Plasma's sticky note yellow

2024-03-19 Thread Adam Fontenot
https://bugs.kde.org/show_bug.cgi?id=484017

Bug ID: 484017
   Summary: Yellow highlight and pop-up note color is
(subjectively) too intense, should use a muted color
similar to Plasma's sticky note yellow
Classification: Applications
   Product: okular
   Version: 24.02.0
  Platform: Arch Linux
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: adam.m.fontenot+...@gmail.com
  Target Milestone: ---

The Plasma sticky note applet used to use this dreadful harsh RGB-maxed yellow
color as the background: https://i.stack.imgur.com/debL2.png

The color was changed to a vastly superior color that's similar to that of a
real sticky note:
https://blog.broulik.de/wp-content/uploads/2023/11/Screenshot_20231104_122120.png

Okular color for reference:
https://cdn.kde.org/screenshots/okular/okular-annotation.png

I propose we move away from using this color on highlights and pop-up notes in
Okular by default. The default color stops for a yellow sticky note set by
Plasma appear to be #f7eabf, #f9eecd. Something in that range might be
appropriate.

One potential option is to make the pop-up note background less intense than
the highlighter color, since they essentially serve different purposes. We
could go with the sticky note color for Okular's popup notes, and something a
little brighter for the highlighter (but still less intense than what we have
now).

VDG input would probably be helpful here.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 484011] New: Document loses keyboard focus after adding a pop-up note

2024-03-19 Thread Adam Fontenot
https://bugs.kde.org/show_bug.cgi?id=484011

Bug ID: 484011
   Summary: Document loses keyboard focus after adding a pop-up
note
Classification: Applications
   Product: okular
   Version: 24.02.0
  Platform: Arch Linux
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: adam.m.fontenot+...@gmail.com
  Target Milestone: ---

SUMMARY

This prevents you from (a) navigating the document using the keyboard, e.g.
with the arrow keys, and (b) switching tools using the numbered shortcuts, e.g.
switching back to the highlight tool.

STEPS TO REPRODUCE
1. Make a trivial PDF document. I exported a few paragraphs of Lorem Ipsum from
LibreOffice to a PDF. Open in Okular.
2. Press 6 to switch your tool to the pop-up note.
3. Click in the document to add a pop-up note, and add a word or two to the
note. Click the little X button on the note with your cursor.
4. Try to navigate the document with the arrow keys. Try to switch tools by
pressing 1 (highlighter).
5. Click on the window chrome, e.g. in an empty part of the toolbar underneath
the menu bar. Try keyboard navigation again.
6. Click somewhere in the document area. This may require you to resize the
document so that you can click in a place that won't add another pop-up note.
Now try keyboard navigation again.

OBSERVED RESULT

Okular does not respond to keyboard input until after refocusing the document
viewing widget in step 6.

EXPECTED RESULT

Okular responds to keyboard input in step 4. Steps 5/6 are not applicable.

Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-arch1-1 (64-bit)
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 482249] New: Okular text selection glitch confuses beginning and end of selection in PDFs

2024-03-02 Thread Adam Fontenot
https://bugs.kde.org/show_bug.cgi?id=482249

Bug ID: 482249
   Summary: Okular text selection glitch confuses beginning and
end of selection in PDFs
Classification: Applications
   Product: okular
   Version: 24.01.95
  Platform: Arch Linux
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: adam.m.fontenot+...@gmail.com
  Target Milestone: ---

Created attachment 166317
  --> https://bugs.kde.org/attachment.cgi?id=166317&action=edit
screencast showing the issue

SUMMARY

This is Okular 24.02.0, not 24.01.95.

I realize PDFs can be fickle, but this issue is consistent across all PDFs I've
tested, including some very basic ones. Copy your favorite "lorem ipsum" text
into a LibreOffice Writer document, export it to PDF, and you should be able to
reproduce this issue.

STEPS TO REPRODUCE
1. Start selecting some text by clicking on a line in the document, and then
dragging down to select multiple lines or sentences.
2. While continuing to hold down the mouse button, drag to the left (further
left than you began the selection on the top line).

OBSERVED RESULT

The *starting* point of the selection changes (is moved left).

EXPECTED RESULT

The *ending* point of the selection changes, on the final line of the
selection.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.6-arch1-1 (64-bit)
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 442046] New: copy-paste from LTR languages bring reversed text

2021-09-05 Thread Adam Golański
https://bugs.kde.org/show_bug.cgi?id=442046

Bug ID: 442046
   Summary: copy-paste from LTR languages bring reversed text
   Product: okular
   Version: 21.08.0
  Platform: Manjaro
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-devel@kde.org
  Reporter: adam.golan...@gmail.com
  Target Milestone: ---

SUMMARY

Copying arabic and hebrew text strings from Okular to paste it in another
program makes them reversed and garbled. Changing LTR settings doesn't help.
I've tested this with Foxit PDF Reader and it worked OK.  


STEPS TO REPRODUCE
1. select and copy to clipboard arabic or hebrew text in Okular, for example
אשר, האיש—אשר לא הלך, בעצת רשעים
ال َق ِدي ْ 


2. paste it to Libre Office or Google Docs

OBSERVED RESULT

you're getting something like 
םיעשר תצעב ,ךלה אל רשא—שיאה ,רשא
ر ْ يِ دق َ لا

(yeah, in Arabic its really horrible :D)

EXPECTED RESULT

it should keep correct LTR flow:
אשר, האיש—אשר לא הלך, בעצת רשעים
ال َق ِدي ْ 



SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 200728] Review annotation tree collapses after changes.

2020-05-16 Thread Adam Mizerski
https://bugs.kde.org/show_bug.cgi?id=200728

Adam Mizerski  changed:

   What|Removed |Added

 CC||a...@mizerski.pl

--- Comment #1 from Adam Mizerski  ---
This is 11 years old and still relevant.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 407338] Okular segfaults when opening a file digitally signed with portablesigner and Acrobat Reader

2020-04-27 Thread Adam Mizerski
https://bugs.kde.org/show_bug.cgi?id=407338

Adam Mizerski  changed:

   What|Removed |Added

 CC|a...@mizerski.pl|

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 409684] okular crashes when opening a pdf file I got from government website

2019-07-10 Thread Adam Mizerski
https://bugs.kde.org/show_bug.cgi?id=409684

--- Comment #1 from Adam Mizerski  ---
Created attachment 121441
  --> https://bugs.kde.org/attachment.cgi?id=121441&action=edit
file that causes okular to crash

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 409684] New: okular crashes when opening a pdf file I got from government website

2019-07-10 Thread Adam Mizerski
https://bugs.kde.org/show_bug.cgi?id=409684

Bug ID: 409684
   Summary: okular crashes when opening a pdf file I got from
government website
   Product: okular
   Version: 1.7.2
  Platform: openSUSE RPMs
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: a...@mizerski.pl
  Target Milestone: ---

Application: okular (1.7.2)

Qt Version: 5.12.3
Frameworks Version: 5.59.0
Operating System: Linux 5.1.10-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

I tried openin a pdf file, I'll attach to this report in a minute.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
29return SYSCALL_CANCEL (poll, fds, nfds, timeout);
[Current thread is 1 (Thread 0x7f2d398de900 (LWP 16562))]

Thread 4 (Thread 0x7f2d2e050700 (LWP 16567)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56552ae58768) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x56552ae58718,
cond=0x56552ae58740) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x56552ae58740, mutex=0x56552ae58718) at
pthread_cond_wait.c:655
#3  0x7f2d2e34733b in ?? () from /usr/lib64/dri/i965_dri.so
#4  0x7f2d2e346f57 in ?? () from /usr/lib64/dri/i965_dri.so
#5  0x7f2d3ad65faa in start_thread (arg=) at
pthread_create.c:486
#6  0x7f2d3b63571f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f2d35f1b700 (LWP 16566)):
#0  __GI___libc_read (nbytes=16, buf=0x7f2d35f1aa60, fd=7) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=0x7f2d35f1aa60, nbytes=16) at
../sysdeps/unix/sysv/linux/read.c:24
#2  0x7f2d3a2c43bf in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x7f2d3a27d85e in g_main_context_check () from
/usr/lib64/libglib-2.0.so.0
#4  0x7f2d3a27dcd2 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x7f2d3a27de4f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#6  0x7f2d3bbbce1b in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib64/libQt5Core.so.5
#7  0x7f2d3bb65bdb in
QEventLoop::exec(QFlags) () from
/usr/lib64/libQt5Core.so.5
#8  0x7f2d3b9a7751 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#9  0x7f2d3be3a4e6 in ?? () from /usr/lib64/libQt5DBus.so.5
#10 0x7f2d3b9a88d2 in ?? () from /usr/lib64/libQt5Core.so.5
#11 0x7f2d3ad65faa in start_thread (arg=) at
pthread_create.c:486
#12 0x7f2d3b63571f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f2d37873700 (LWP 16565)):
#0  0x7f2d3b62ac9f in __GI___poll (fds=0x7f2d37872ba8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x7f2d3adeacc2 in ?? () from /usr/lib64/libxcb.so.1
#2  0x7f2d3adec8ba in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x7f2d37a8ee28 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x7f2d3b9a88d2 in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x7f2d3ad65faa in start_thread (arg=) at
pthread_create.c:486
#6  0x7f2d3b63571f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2d398de900 (LWP 16562)):
[KCrash Handler]
#6  HASH_End (context=0x0, result=0x56552b35ca10 "0/6+UV",
result_len=0x768339fc, max_result_len=0) at sechash.c:462
#7  0x7f2d2d6d0cdb in SignatureHandler::validateSignature
(this=this@entry=0x76833a80) at
/usr/src/debug/poppler-0.72.0-1.5.x86_64/poppler/SignatureHandler.cc:258
#8  0x7f2d2d5c5e71 in FormFieldSignature::validateSignature
(forceRevalidation=, validationTime=4294967295,
doVerifyCert=true, this=0x56552b29e7a0) at
/usr/src/debug/poppler-0.72.0-1.5.x86_64/poppler/Form.cc:1747
#9  FormFieldSignature::validateSignature (this=0x56552b29e7a0,
doVerifyCert=, forceRevalidation=,
validationTime=4294967295) at
/usr/src/debug/poppler-0.72.0-1.5.x86_64/poppler/Form.cc:1690
#10 0x7f2d2d7e73e4 in Poppler::FormFieldSignature::validate
(this=this@entry=0x56552b29e570, opt=opt@entry=1, validationTime=...) at
/usr/src/debug/poppler-qt5-0.72.0-1.5.x86_64/qt5/src/poppler-form.cc:681
#11 0x7f2d2d7e7940 in Poppler::FormFieldSignature::validate
(this=0x56552b29e570,
opt=opt@entry=Poppler::FormFieldSignature::ValidateVerifyCertificate) at
/usr/src/debug/poppler-qt5-0.72.0-1.5.x86_64/qt5/src/poppler-form.cc:674
#12 0x7f2d2d840e53 in PopplerFormFieldSignature::PopplerFormFieldSignature
(this=0x56552b29eb90, field=0x56552b29e570) at
/usr/src/debug/okular-19.04.2-1.1.x86_64/generators/poppler/formfields.cpp:387
#13 0x7f2d2d8399bd in PDFGenerator::addFormFields (this=,
popplerPage=, page=) at
/usr/src/debug/okular-19.0

[Okular-devel] [okular] [Bug 348515] Closing cross in the upper right corner of popup note is not visible in Okular.

2015-08-04 Thread Adam
https://bugs.kde.org/show_bug.cgi?id=348515

Adam  changed:

   What|Removed |Added

 Resolution|--- |WORKSFORME
 Status|UNCONFIRMED |RESOLVED

--- Comment #13 from Adam  ---
So it seems like there is some problem on my system. On a fresh virtualbox
installation it show up fine.

-- 
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 348515] Closing cross in the upper right corner of popup note is not visible in Okular.

2015-07-10 Thread Adam
https://bugs.kde.org/show_bug.cgi?id=348515

--- Comment #12 from Adam  ---
I understand that. I will try to reproduce it; maybe on a fresh install using a
virtual machine.

BTW on my Chromebook with Ubuntu installed using Crouton it looks fine.

-- 
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 348515] Closing cross in the upper right corner of popup note is not visible in Okular.

2015-07-09 Thread Adam
https://bugs.kde.org/show_bug.cgi?id=348515

--- Comment #9 from Adam  ---
Created attachment 93553
  --> https://bugs.kde.org/attachment.cgi?id=93553&action=edit
The version of the package is 5.3.2-1. Is that what you wanted?

-- 
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 348515] Closing cross in the upper right corner of popup note is not visible in Okular.

2015-07-08 Thread Adam
https://bugs.kde.org/show_bug.cgi?id=348515

--- Comment #6 from Adam  ---
I am afraid you will have to tell me how to find out which version am I using

-- 
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 348515] Closing cross in the upper right corner of popup note is not visible in Okular.

2015-07-07 Thread Adam
https://bugs.kde.org/show_bug.cgi?id=348515

--- Comment #4 from Adam  ---
Created attachment 93519
  --> https://bugs.kde.org/attachment.cgi?id=93519&action=edit
Style: Breeze

-- 
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 348515] Closing cross in the upper right corner of popup note is not visible in Okular.

2015-07-06 Thread Adam
https://bugs.kde.org/show_bug.cgi?id=348515

--- Comment #2 from Adam  ---
I am not sure what you mean by style and where I can find it. My motives are
Fedora Twenty Two and Breeze Dark

-- 
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 348515] New: Closing cross in the upper right corner of popup note is not visible in Okular.

2015-05-31 Thread Adam
https://bugs.kde.org/show_bug.cgi?id=348515

Bug ID: 348515
   Summary: Closing cross in the upper right corner of popup note
is not visible in Okular.
   Product: okular
   Version: 0.22.0
  Platform: Fedora RPMs
   URL: https://www.dropbox.com/s/9dyq0wigbppdsul/okular%20pop
up%20note.png?dl=0
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: adamwar.t...@seznam.cz

Closing cross in the upper right corner of popup note is not visible in Okular
so it is not clear how to close the note. On the screenshot I provided on the
link we can see the square like line around it but that is only visible when
one hovers mouse pointer above it.

The same happens for inline note

Reproducible: Always

Steps to Reproduce:
1. Open a document in Okular 
2. Enable review (F6 or Tools > Review)
3. From the menu that appears choose pop up (or inline) note
4. Place it anywhere on the document by clicking the mouse

Actual Results:  
The note appears without "closing cross" in the upper right corner

Expected Results:  
The "closing cross" should be there

-- 
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 151614] store annotations with documents

2012-10-22 Thread Adam Porter
https://bugs.kde.org/show_bug.cgi?id=151614

Adam Porter  changed:

   What|Removed |Added

 CC||a...@alphapapa.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] [Bug 301774] Wish: New option to save embedded annotation upon change/document close

2012-10-22 Thread Adam Porter
https://bugs.kde.org/show_bug.cgi?id=301774

Adam Porter  changed:

   What|Removed |Added

 CC||a...@alphapapa.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] [Bug 181290] Landscape pdf prints with wrong orientation when choosing landscape in print dialog

2011-03-16 Thread Adam Meily
https://bugs.kde.org/show_bug.cgi?id=181290


Adam Meily  changed:

   What|Removed |Added

 CC||meily.a...@gmail.com




--- Comment #72 from Adam Meily   2011-03-17 07:27:01 ---
I can confirm this bug with a networked Brother printer. I set the printer's
settings to automatically rotate documents (System Settings -> Printer
Configuration -> [My Printer] -> Job Options -> Orientation -> Automatic
Rotation). I can print portrait PDFs just fine. Landscape documents
automatically set themselves as landscape in the print dialog (which is
correct) but they print as portrait. It is only until I set the orientation to
portrait in the print dialog that the page prints correctly (as landscape). I
am using Kubuntu (if it matters).

Qt: 4.7.0
KDE Development Platform: 4.6.1 (4.6.1)
Okular: 0.12.1

OpEd:
I think this bug is annoying and needs to be fixed but I think it is
unfortunate the way some have reacted to this bug. I recently installed a new
USB printer (not the one listed in this comment) and all I did was turn the
printer on, plug it in, and it just worked with KDE. The time and effort that
has been put into the printing system of KDE is amazing and I am truly
appreciative for that. The fact that I could plug in my USB printer and have it
just work without any configuration is amazing and shows how much time the
developers of KDE have put into the various subsystems.

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


[Okular-devel] [Bug 263982] New: jumping while paning

2011-01-22 Thread Adam C
https://bugs.kde.org/show_bug.cgi?id=263982

   Summary: jumping while paning
   Product: okular
   Version: 0.10.4
  Platform: openSUSE RPMs
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: NOR
 Component: general
AssignedTo: okular-devel@kde.org
ReportedBy: bugs_kde_o...@xibo.at


Version:   0.10.4 (using KDE 4.4.4) 
OS:Linux

when i pan a document containing a few pages with the mouse and the mouse wraps
around the top or bottom edge, it sometimes "jumps" about half a page.

i've tested with an pdf and an odf file. 

Reproducible: Sometimes

Steps to Reproduce:
1. open a pdf with several pages
2. pan it by clicking and grabbing (browse tool)
3. try to pan up and down, while the mouse is on the top or bottom edge of the
screen



OS: Linux (x86_64) release 2.6.34.7-0.5-desktop
Compiler: gcc

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


[Okular-devel] [Bug 226578] New: Okular crash in opening epub

2010-02-12 Thread Adam
https://bugs.kde.org/show_bug.cgi?id=226578

   Summary: Okular crash in opening epub
   Product: okular
   Version: unspecified
  Platform: Unlisted Binaries
OS/Version: Linux
Status: UNCONFIRMED
  Severity: crash
  Priority: NOR
 Component: general
AssignedTo: okular-devel@kde.org
ReportedBy: a_...@post.cz


Application that crashed: okular
Version of the application: 0.9.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-19-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Okular always crashes trying to open epub document (for example this one:
http://palmknihy.cz/www/download.php?ID=10200).

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0x08b94213 in epub_get_metadata () from /usr/lib/libepub.so.0
#7  0x061373c8 in Epub::Converter::_emitData (this=0x92d2010,
key=Okular::DocumentInfo::Title, type=EPUB_TITLE) at
../../../../okular/generators/epub/converter.cpp:55
#8  0x06137dbc in Epub::Converter::convert (this=0x92d2010, fileName=...) at
../../../../okular/generators/epub/converter.cpp:129
#9  0x066cc935 in Okular::TextDocumentGenerator::loadDocument (this=0x9024090,
fileName=..., pagesVector=...) at
../../okular/core/textdocumentgenerator.cpp:255
#10 0x066a90c7 in Okular::DocumentPrivate::openDocumentInternal
(this=0x90aaa60, offer=..., isstdin=false, docFile=..., filedata=...) at
../../okular/core/document.cpp:644
#11 0x066b593f in Okular::Document::openDocument (this=0x90a53b8, docFile=...,
url=..., _mime=...) at ../../okular/core/document.cpp:1634
#12 0x05a734a3 in Part::openFile (this=0x9064978) at ../../okular/part.cpp:921
#13 0x00fd9819 in KParts::ReadOnlyPart::openUrl (this=0x9064978, url=...) at
../../kparts/part.cpp:557
#14 0x05a65937 in Part::openUrl (this=0x9064978, _url=...) at
../../okular/part.cpp:1040
#15 0x08050112 in Shell::openUrl (this=0x9030458, url=...) at
../../../okular/shell/shell.cpp:151
#16 0x08050228 in Shell::delayedOpen (this=0x9030458) at
../../../okular/shell/shell.cpp:134
#17 0x08050a55 in Shell::qt_metacall (this=0x9030458,
_c=QMetaObject::InvokeMetaMethod, _id=57, _a=0xbfa360ec) at ./shell.moc:88
#18 0x01152263 in QMetaObject::activate (sender=0x92ba1d0, from_signal_index=4,
to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#19 0x01152ec2 in QMetaObject::activate (sender=0x92ba1d0, m=0x122c908,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#20 0x01157387 in QSingleShotTimer::timeout (this=0x92ba1d0) at
.moc/release-shared/qtimer.moc:76
#21 0x0115749c in QSingleShotTimer::timerEvent (this=0x92ba1d0) at
kernel/qtimer.cpp:298
#22 0x0114c3bf in QObject::event (this=0x92ba1d0, e=0xbfa36580) at
kernel/qobject.cpp:1075
#23 0x074e5f54 in QApplicationPrivate::notify_helper (this=0x8fcd570,
receiver=0x92ba1d0, e=0xbfa36580) at kernel/qapplication.cpp:4056
#24 0x074ed67c in QApplication::notify (this=0xbfa36948, receiver=0x92ba1d0,
e=0xbfa36580) at kernel/qapplication.cpp:3603
#25 0x002e2bfa in KApplication::notify (this=0xbfa36948, receiver=0x92ba1d0,
event=0xbfa36580) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x0113c6cb in QCoreApplication::notifyInternal (this=0xbfa36948,
receiver=0x92ba1d0, event=0xbfa36580) at kernel/qcoreapplication.cpp:610
#27 0x011697ce in QCoreApplication::sendEvent (this=0x8fd0734) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#28 QTimerInfoList::activateTimers (this=0x8fd0734) at
kernel/qeventdispatcher_unix.cpp:572
#29 0x011670e0 in timerSourceDispatch (source=0x8fd0700) at
kernel/qeventdispatcher_glib.cpp:165
#30 0x06516e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x0651a730 in ?? () from /lib/libglib-2.0.so.0
#32 0x0651a863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x0116702c in QEventDispatcherGlib::processEvents (this=0x8fb7a30,
flags=...) at kernel/qeventdispatcher_glib.cpp:327
#34 0x07586be5 in QGuiEventDispatcherGlib::processEvents (this=0x8fb7a30,
flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x0113ac79 in QEventLoop::processEvents (this=0xbfa36844, flags=) at
kernel/qeventloop.cpp:149
#36 0x0113b0ca in QEventLoop::exec (this=0xbfa36844, flags=...) at
kernel/qeventloop.cpp:201
#37 0x0113d53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#38 0x074e5dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#39 0x0804eec9 in main (argc=6, argv=0xbfa36b34) at
../../../okular/shell/main.cpp:81

Reported using DrKonqi

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


[Okular-devel] Patch: (Re: Bug 148527)Wish Granted: More Zoom (initial)

2009-06-25 Thread Adam Lev
this patch is response to Bug (Wish)
148527<http://bugs.kde.org/show_bug.cgi?id=148527>:
"I want more zoom with okular "


This patch (by myself and XTra KrazzY), as "stage one" (low performance).
next step (halfway in) is implementing tiled rendering, this will  allow
better
performance (faster access) and more efficient memory usage.

the improvement patch (introducing tiled rendering to okular) is on it way
to
be written by us and will be submitted as soon it is finished.

-- 
Adam lev libfeld, one man cooperative | http://www.adamlev.com
Index: core/document.cpp
===
--- core/document.cpp	(revision 976771)
+++ core/document.cpp	(working copy)
@@ -838,9 +838,15 @@
 m_pixmapRequestsStack.pop_back();
 delete r;
 }
+
+//the next two ifs are a quick feature enhancement -
+//increasing the zoom capabilities of okular.
+//the next stage is inserting tiled rendering for better
+//performance.
 else if ( (long)r->width() * (long)r->height() > 2000L )
 {
-m_pixmapRequestsStack.pop_back();
+//TODO: restore when tiled rendering is done:
+	//m_pixmapRequestsStack.pop_back();
 if ( !m_warnedOutOfMemory )
 {
 kWarning(OkularDebug).nospace() << "Running out of memory on page " << r->pageNumber()
@@ -848,7 +854,19 @@
 kWarning(OkularDebug) << "this message will be reported only once.";
 m_warnedOutOfMemory = true;
 }
-delete r;
+//TODO: restore when tiled rendering is done:
+//delete r;
+
+
+// TODO: remove (this if) When tiled rendering is done
+if ( (long)r->width() * (long)r->height() > 12000L )
+{
+	m_pixmapRequestsStack.pop_back();
+	delete r;
+}
+else
+	request = r;
+// TODO: remove (up to the previous TODO) When tiled rendering is done
 }
 else
 request = r;
Index: ui/pageview.cpp
===
--- ui/pageview.cpp	(revision 976771)
+++ ui/pageview.cpp	(working copy)
@@ -1474,7 +1474,7 @@
 // wrap mouse from top to bottom
 QRect mouseContainer = KGlobalSettings::desktopGeometry( this );
 if ( mouseY <= mouseContainer.top() + 4 &&
- d->zoomFactor < 3.99 )
+ d->zoomFactor < MAX_ZOOM_FACTOR - 0.01 )
 {
 mouseY = mouseContainer.bottom() - 5;
 QCursor::setPos( e->globalPos().x(), mouseY );
@@ -1938,8 +1938,8 @@
 double nX = (double)(selRect.left() + selRect.right()) / (2.0 * (double)widget()->width());
 double nY = (double)(selRect.top() + selRect.bottom()) / (2.0 * (double)widget()->height());
 
-// zoom up to 400%
-if ( d->zoomFactor <= 4.0 || zoom <= 1.0 )
+// zoom up to MAX_ZOOM_FACTOR (1500%)
+if ( d->zoomFactor <= MAX_ZOOM_FACTOR || zoom <= 1.0 )
 {
 d->zoomFactor *= zoom;
 viewport()->setUpdatesEnabled( false );
@@ -2639,8 +2639,8 @@
 d->zoomFactor = -1;
 break;
 }
-if ( newFactor > 4.0 )
-newFactor = 4.0;
+if ( newFactor > MAX_ZOOM_FACTOR )
+newFactor = MAX_ZOOM_FACTOR;
 if ( newFactor < 0.1 )
 newFactor = 0.1;
 
@@ -2656,8 +2656,10 @@
 d->blockViewport = prevState;
 // request pixmaps
 slotRequestVisiblePixmaps();
+
 // update zoom text
 updateZoomText();
+
 // update actions checked state
 if ( d->aZoomFitWidth )
 {
@@ -2667,7 +2669,8 @@
 }
 }
 
-d->aZoomIn->setEnabled( d->zoomFactor < 3.9 );
+
+d->aZoomIn->setEnabled( d->zoomFactor < MAX_ZOOM_FACTOR - 0.1 );
 d->aZoomOut->setEnabled( d->zoomFactor > 0.2 );
 }
 
Index: ui/pageview.h
===
--- ui/pageview.h	(revision 976771)
+++ ui/pageview.h	(working copy)
@@ -27,6 +27,9 @@
 #include "core/observer.h"
 #include "core/view.h"
 
+#define MAX_ZOOM_FACTOR 15.0
+
+
 class KAction;
 class KActionCollection;
 class KUrl;
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


Re: [Okular-devel] Patch: cleaning TODO list and part.rc tiny update Withdrawal

2009-06-24 Thread Adam Lev
we withdraw this patch

On Wed, Jun 24, 2009 at 6:43 PM, Adam Lev  wrote:

> TODO list change: starting to update the list.. first stage - removal of
> existing features
> part.rc change: adding history buttons to the default main toolbar
>
> probably the world's smallest patch ever :)
>
>
> --
> Adam lev libfeld, one man cooperative | http://www.adamlev.com
>



-- 
Adam lev libfeld, one man cooperative | http://www.adamlev.com
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] Patch: cleaning TODO list and part.rc tiny update

2009-06-24 Thread Adam Lev
TODO list change: starting to update the list.. first stage - removal of
existing features
part.rc change: adding history buttons to the default main toolbar

probably the world's smallest patch ever :)


-- 
Adam lev libfeld, one man cooperative | http://www.adamlev.com
Index: TODO
===
--- TODO	(revision 985409)
+++ TODO	(working copy)
@@ -6,83 +6,40 @@
 MRG - MeRGed (code from a branch or a patch)
 
 Bugs and wishes to close when moving okular to kdegraphics:
--> WISH  91146: Add capability to extract plain text from a pdf file.
--> WISH  91251: "Magic marker" tool for higlighting text
 -> WISH  91809: kpdf cant fill in formulars
--> WISH  93416: support for pdf sticky notes
--> BUG   97869: kpdf fails to properly hide the context menu
--> WISH  99352: Cannot change orientation of pdf file
--> WISH  99787: kpdf needs to have a bookmark list
--> WISH 100341: first page at right, in two pages mode
--> WISH 102523: wish: if opening second file, file/open dir should be dirname($current_file)
--> WISH 102704: Handle gzipped and bzipped PDFs
--> WISH 102788: Current page number visible
--> WISH 103051: make notes on pdf files
--> BUG  106546: Search with "/" and ALT+TAB
--> WISH 107998: kpdf horizontal scroll bar
--> WISH 109346: ability to select everything on page(s) and use ctrl+a to select all (text)
--> BUG  110440: Almost all options in Find dialog are always disabled
--> WISH 111651: Usability: Make find-as-you-type widget more distinguishable
+-> WISH 109346: ability to select everything on page(s) and use ctrl+a to select all (text) [ Select All doesn't work, even from the menu ]
 -> WISH 114648: An option to deny documents' fullscreen requests is desirable.
--> WISH 115557: Automatically detect and remove white page borders
--> WISH 117045: text search: continue backwards
--> WISH 117449: kpdf should read files from stdin with the - option
 -> WISH 117805: Wish: Select pages like kghostview
 -> WISH 118872: An option to read all the document with Kttsd
--> WISH 118938: No way to find out the page size(s)
--> WISH 119084: pdf attachment support: saving/opening attachments in pdf...
--> WISH 119455: use poppler library for kpdf
 -> WISH 119919: make it possible to disable transition in presentation mode
--> WISH 122863: Show page numbers of chapters/bookmarks in contents tab
--> BUG  130123: kpdf text selection inconsistent with the rest of KDE
--> WISH 131045: Add context menu for URLs
--> WISH 132152: Usability: contents / pdfbookmarks panel is not accessible via keyboard only
--> WISH 134115: specifing to kpdf the first-opened page from command line
--> WISH 134646: remember (and restore) zoom per file not per app
--> WISH 136820: would like a reload button or menu item in KPDF
--> WISH 137905: command-line option for presentation mode
--> WISH 145345: goto page: update slider while editing page number
+-> WISH 132152: Usability: contents / bookmarks panel is not accessible via keyboard only
 
 In progress [working on]:
--> search: backward text search (BR117045)
 -> various backends: fill about data information
 -> gui: add config for gfx (yes/no) and text (yes/no/kde) antialias
 -> core: provide a binary compatible okularcore library to extend the format capabilities
--> KPDF -> okular conversion of configuration & datafiles {configuration(done), document data(in progress), kwallet passwords(missing)}
--> inverse search (BR113191)
-   find with an usability expert the "best" way to activate such a link
-   provide a configuration widget to choose the editor and configure a custom one
--> toc: highlight the row of the current page (BR127358)
-   (check if there's a better way to do the highlighting - in case just edit TOCModel)
 -> annotations: renderers in PagePainter (for the 6 annots)
 -> annotations: handlers in PageView for WindowAnnots and others..
 -> annotations: creators in PageViewAnnotator (40% done)
 -> annotations: framework (BR67300,BR62793) and tools (BR67300,BR91251)
 -> annotations: add the annot pane (cool plz!)
--> rotate the whole document / individual pages (on screen/print?) (BR99352)
+-> rotate individual pages (on screen/print?) (BR99352)
 -> link: add a Okular::Anchor link class
--> pageview: update layout when toggling the 'ebook atyle alignment'
 
 More items (first items will enter 'In progress list' first):
 -> annotations: "move" and "delete" tools
 -> rethink which buttons show in the toolbar (BR139825)
--> annotations: configurabile tools in the toolbar (BR137903)
 -> pageview: add vp damaging queue and flush function. add coolfx to smoothmove using damaging
 -> annotations: toolbar: display tooltip only the first time
 -> an

[Okular-devel] [Bug 197726] New: Show annotations pop-up text in the reviews sidebar

2009-06-24 Thread Adam Markiewicz
https://bugs.kde.org/show_bug.cgi?id=197726

   Summary: Show annotations pop-up text in the reviews sidebar
   Product: okular
   Version: unspecified
  Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
  Severity: wishlist
  Priority: NOR
 Component: general
AssignedTo: okular-devel@kde.org
ReportedBy: amgo...@gmail.com


Version:   0.8.80 (using KDE 4.2.90)
OS:Linux
Installed from:Ubuntu Packages

A thought it would be useful to show annotations' pop-up text in the reviews
sidebar. It would make it much more useful. Currently the list gives no hint
about what annotation is about. It could be implemented as an option since
there are already grouping options in the bottom.

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


[Okular-devel] [Bug 194805] Okular selection drop down button doesn't work

2009-05-31 Thread Adam
https://bugs.kde.org/show_bug.cgi?id=194805


Adam  changed:

   What|Removed |Added

 CC||adre...@gmail.com




--- Comment #1 from Adam   2009-06-01 00:40:35 ---
Ahh never mind. After a bit of searching I found out you have to hold the
button down for a while and the menu comes up eventually. I think it would be
nice if either the rectangle or text selection tool was already selected, then
the menu would come up immediately, but I guess that's a qt issue rather than
okular. This can be changed to invalid.

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


[Okular-devel] [Bug 194805] New: Okular selection drop down button doesn't work

2009-05-31 Thread Adam
https://bugs.kde.org/show_bug.cgi?id=194805

   Summary: Okular selection drop down button doesn't work
   Product: okular
   Version: unspecified
  Platform: Ubuntu Packages
OS/Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
AssignedTo: okular-devel@kde.org
ReportedBy: adre...@gmail.com


Version:(using KDE 4.2.85)
Installed from:Ubuntu Packages

When clicking on the selection tools button with the little down facing arrow
nothing happens. I assume there's supposed to be a drop down menu where I can
change between the text selection and the rectangular selection mode.

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


[Okular-devel] [Bug 165744] scroll automatically when selecting text

2009-05-31 Thread Adam
https://bugs.kde.org/show_bug.cgi?id=165744


Adam  changed:

   What|Removed |Added

 CC||adre...@gmail.com




--- Comment #2 from Adam   2009-05-31 12:11:28 ---
+1 for this wish. It's a pretty basic feature which I expected to be
implemented. Okular should automatically scroll when selecting text and moving
the cursor to the top/bottom of the page.

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


[Okular-devel] [Bug 155695] Multi-copy print jobs only print one copy

2009-01-20 Thread Adam Broschinski
http://bugs.kde.org/show_bug.cgi?id=155695


Adam Broschinski adam broschinski gmail com changed:

   What|Removed |Added

 CC||adam.broschin...@gmail.com




--- Comment #4 from Adam Broschinski   2009-01-20 
06:06:07 ---
I'm running KDE 4.1.3 Qt 4.4.2 on gentoo and am having the same problem.


-- 
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 155695] Multi-copy print jobs only print one copy

2009-01-20 Thread Adam Broschinski
http://bugs.kde.org/show_bug.cgi?id=155695





--- Comment #5 from Adam Broschinski   2009-01-20 
06:33:00 ---
I think it has been fixed in Qt 4.5.
The relevant bug: 230372 - QPrinter::setNumCopies() misbehavior
Found on the Qt Task Tracker.


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