[kdevelop] [Bug 366834] Appimage crashes on opening a Python project

2016-08-21 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366834

--- Comment #8 from Jonathan Verner  ---
Thank you!!

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 366834] Appimage crashes on opening a Python project

2016-08-20 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366834

--- Comment #6 from Jonathan Verner  ---
No problem. Now the image starts and can open a python project without
crashing.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 366834] Appimage crashes on opening a Python project

2016-08-20 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366834

--- Comment #4 from Jonathan Verner  ---
Sorry for forgetting to mention it. I am running Kubuntu 14.04. The above
appimage does not even run. It immediately exists saying:

kdevelop: error while loading shared libraries: libKDevPlatformShell.so.10:
cannot open shared object file: No such file or directory

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 367071] no text

2016-08-17 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=367071

Jonathan Verner  changed:

   What|Removed |Added

 CC||jonathan.ver...@gmail.com

--- Comment #4 from Jonathan Verner  ---
Also works here Okular: 0.20.3, poppler: 0.24.5 (Kubuntu 14.04, Qt: 4.8.6, KDE
Development Platform: 4.14.13).

> I cannot test if i can copy-paste the text to be able to read it because i 
> get the silly  "copy protected by DRM" or something dialog.

Try unchecking the checkbox labeled "Obey drm restrictions"
(Settings->Configure okular...).
It is interesting that, even if I check the "Obey drm restrictions" I can still
copy the text.
(Adobe Acrobat Reader does not let me copy text.)

P.S. Poppler version, I think, can be determined by running pdftotext -v

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 366834] Appimage crashes on opening a Python project

2016-08-16 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366834

--- Comment #1 from Jonathan Verner  ---
I forgot to mention the exact version of the appimage:

Both 

  KDevelop-20160722-x86_64.AppImage

and

  KDevelop-20160815-x86_64.AppImage

happily crash on me :-)

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 366834] New: Appimage crashes on opening a Python project

2016-08-16 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366834

Bug ID: 366834
   Summary: Appimage crashes on opening a Python project
   Product: kdevelop
   Version: git master
  Platform: Appimage
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: kdevelop-bugs-n...@kde.org
  Reporter: jonathan.ver...@gmail.com

When opening a python project (running kdevelop-latest appimage), kdevelop
immediately crashes with the following output on the console:

Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70:
non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70:
non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78:
saw unknown, expected number
kdevplatform.serialization: version-hint not found, seems to be an old version
kdevplatform.serialization: "The data-repository at
/home/FF/vernjaff/.cache/kdevduchain/kdevelop-{a85793ea-501d-4c92-ba22-f3e74f5568a6}
has to be cleared."
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: 
Couldn't setup QtHelp Collection file
qrc:/qml/main.qml:21:1: module "QtQuick" is not installed
welcomepage errors: (qrc:/qml/main.qml:21:1: module "QtQuick" is not installed)
Ninja plugin installed but ninja is not installed.
Could not load plugin "KDevNinjaBuilder" , it reported the error: "" Disabling
the plugin now.
Ninja plugin installed but ninja is not installed.
Could not load plugin "KDevNinjaBuilder" , it reported the error: "" Disabling
the plugin now.
trying to load "/tmp/.mount_IGxm2h/usr/lib/qt5/plugins/kf5/kio/file.so" from
"/tmp/.mount_IGxm2h/usr/lib/qt5/plugins/kf5/kio/file.so"
trying to load "/tmp/.mount_IGxm2h/usr/lib/qt5/plugins/kf5/kio/file.so" from
"/tmp/.mount_IGxm2h/usr/lib/qt5/plugins/kf5/kio/file.so"
inotify_add_watch("/home/FF/vernjaff/zdroj/brython-misc/data/repos/git/repositories")
failed: "Permission denied"
 > PARSING > parsing file 
QUrl("file:///home/FF/vernjaff/zdroj/brython-misc/virtual_env/lib/python3.4/site-packages/setuptools/tests/test_test.py")
; has priority 1
 > AST > building abstract syntax tree for 
"/home/FF/vernjaff/zdroj/brython-misc/virtual_env/lib/python3.4/site-packages/setuptools/tests/test_test.py"
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'

Current thread 0x7fd9228d6700 (most recent call first):
/tmp/.mount_IGxm2h/AppRun: line 28: 28919 Aborted (core dumped)
kdevelop $@


Reproducible: Always




The reporter of bug #361896 run into a similar problem but Sven Brauch could
not figure out what is wrong. Since that bug was originally about something
else I am opening a new bug to note that I am also affected. I am more than
happy to try to help pinpoint what the problem is though I am as clueless as
Sven Brauch :-)

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 366785] Crash while oprning PDF from Google slides.

2016-08-15 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366785

Jonathan Verner  changed:

   What|Removed |Added

 CC||jonathan.ver...@gmail.com

--- Comment #3 from Jonathan Verner  ---
Works for me, Kubuntu 14.04:

Qt 4.8.6
KDE: 4.14.13
Okular: 0.20.3
Poppler: 0.24.5

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 365993] Featurerequest Print or Export Review-Marks

2016-07-23 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=365993

Jonathan Verner  changed:

   What|Removed |Added

 CC||jonathan.ver...@gmail.com

--- Comment #1 from Jonathan Verner  ---
I needed something similar recently, when I was working on an article with two
colleagues and needed to summarize the changes I wanted them to make. I wrote a
short python program (needs python-poppler-qt4) to extract all annotations from
a pdf file.  It can either output them in JSON format or you can provide a
template (django style) for outputting them in a different format... For my
purposes I've created a template for (Xe)LaTeX output which prints a summary of
the annotations on each page optionally including the original pdf page with
numbered lines. You can find the code in the following repo:

https://gitlab.com/Verner/pdfutils
(or https://github.com/jonathanverner/pdfutils)

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 365843] Have a "Save" action beside "Save As"

2016-07-19 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=365843

Jonathan Verner  changed:

   What|Removed |Added

 CC||jonathan.ver...@gmail.com

--- Comment #1 from Jonathan Verner  ---
This is a duplicate of Bug 315552.

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 365806] okular cannot open files with umlauts in name from parameter

2016-07-18 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=365806

--- Comment #3 from Jonathan Verner  ---
P.S. It works for me (Kubuntu 14.04, Qt: 4.8.6, KDE Development Platform:
4.14.13, Okular: 0.20.3)

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 365806] okular cannot open files with umlauts in name from parameter

2016-07-18 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=365806

Jonathan Verner  changed:

   What|Removed |Added

 CC||jonathan.ver...@gmail.com

--- Comment #2 from Jonathan Verner  ---
Possibly related to Bug 356359? (Does not seem to be an exact duplicate as in
that bug opening from the commandline works)

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdelibs] [Bug 340885] KDE Daemon crashes

2016-06-01 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340885

--- Comment #3 from Jonathan Verner  ---
No problem, I can live with this. Unfortunately, I don't want to give up the
global menubar which seems unsupported by plasma 5...

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 363180] The qmljs parser crashes in QmlJS::getDeclaration

2016-05-28 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363180

--- Comment #11 from Jonathan Verner  ---
@Denis: No problem, the workaround suggested by Kevin works o.k. for me. Great
to hear the bug is fixed in Kdevelop 5. I guess I will eventually be upgrading
to KDE 5 anyway.

Btw, kdevelop is the *BEST* IDE I ever used! Thanks for your hard and amazing
work.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 363180] The qmljs parser crashes in QmlJS::getDeclaration

2016-05-28 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363180

--- Comment #9 from Jonathan Verner  ---
Note that the problematic file assign.js is in the rxjs/util/ directory.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 363180] The qmljs parser crashes in QmlJS::getDeclaration

2016-05-28 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363180

--- Comment #8 from Jonathan Verner  ---
Created attachment 99227
  --> https://bugs.kde.org/attachment.cgi?id=99227=edit
The full node module showing the problem

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 363180] The qmljs parser crashes in QmlJS::getDeclaration

2016-05-18 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363180

--- Comment #6 from Jonathan Verner  ---
@Kevin Funk: Thanks very much! I should have googled for this, sorry for
wasting your time.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 363180] The qmljs parser crashes in QmlJS::getDeclaration

2016-05-18 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363180

--- Comment #4 from Jonathan Verner  ---
P.S. As a shortterm workaround Is it possible to tell kdevelop to skip parsing
a given file?

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 363044] Crash when parsing javascript/python files [DeclarationBuilder::inferArgumentsFromCall]

2016-05-17 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363044

--- Comment #3 from Jonathan Verner  ---
I've filed a new bug with the "new" crash here: bug #363180

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 363180] The qmljs parser crashes in QmlJS::getDeclaration

2016-05-17 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363180

--- Comment #2 from Jonathan Verner  ---
Created attachment 99033
  --> https://bugs.kde.org/attachment.cgi?id=99033=edit
File which crashes kdevelop

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 363180] The qmljs parser crashes in QmlJS::getDeclaration

2016-05-17 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363180

--- Comment #1 from Jonathan Verner  ---
Created attachment 99032
  --> https://bugs.kde.org/attachment.cgi?id=99032=edit
first 100 and last 100 frames from backtrace

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 363180] New: The qmljs parser crashes in QmlJS::getDeclaration

2016-05-17 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363180

Bug ID: 363180
   Summary: The qmljs parser crashes in QmlJS::getDeclaration
   Product: kdevelop
   Version: 4.7.3
  Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
  Severity: crash
  Priority: NOR
 Component: Language Support: QML/JavaScript
  Assignee: kdevelop-bugs-n...@kde.org
  Reporter: jonathan.ver...@gmail.com

When parsing the attached file, kdevelop immediately crashes with the attached
backtrace (the backtrace has 65000 frames so I am attaching only the first and
last 100 and pasting only the first few here):

#0  0x71979a91 in ?? () from /usr/lib/libkdevplatformlanguage.so.8
No symbol table info available.
#1  0x71978af6 in
KDevelop::IndexedQualifiedIdentifier::IndexedQualifiedIdentifier() ()
   from /usr/lib/libkdevplatformlanguage.so.8
No symbol table info available.
#2  0x719c50f8 in
KDevelop::PersistentSymbolTable::getDeclarations(KDevelop::IndexedQualifiedIdentifier
const&) const () from /usr/lib/libkdevplatformlanguage.so.8
No symbol table info available.
#3  0x719c5f09 in
KDevelop::PersistentSymbolTable::getFilteredDeclarations(KDevelop::IndexedQualifiedIdentifier
const&, Utils::StorableSet const&) const ()
   from /usr/lib/libkdevplatformlanguage.so.8
No symbol table info available.
#4  0x7195704d in ?? () from /usr/lib/libkdevplatformlanguage.so.8
No symbol table info available.
#5  0x719575a8 in bool
KDevelop::TopDUContext::applyAliases(KDevelop::QualifiedIdentifier
const&, KSharedPtr const&,
KDevelop::TopDUContext::FindDeclarationsAcceptor&, KDevelop::CursorInRevision
const&, bool, KDevelop::TopDUContext::ApplyAliasesBuddyInfo*, unsigned int)
const () from /usr/lib/libkdevplatformlanguage.so.8
No symbol table info available.
#6  0x719509f4 in
KDevelop::TopDUContext::findDeclarationsInternal(KDevVarLengthArray const&, KDevelop::CursorInRevision const&, TypePtr
const&, KDevVarLengthArray&, KDevelop::TopDUContext
const*, QFlags, unsigned int) const () from
/usr/lib/libkdevplatformlanguage.so.8
No symbol table info available.
#7  0x719433e1 in
KDevelop::DUContext::findDeclarations(KDevelop::Identifier const&,
KDevelop::CursorInRevision const&, KDevelop::TopDUContext const*,
QFlags) const
() from /usr/lib/libkdevplatformlanguage.so.8
No symbol table info available.
#8  0x7fff2ec43eab in QmlJS::getDeclaration (id=...,
context=context@entry=0x7fff08106830,
searchInParent=searchInParent@entry=true)
at /home/jonathan/zdroj/kde/src/kdev-qmljs/duchain/helper.cpp:57
declarations = {{p = {static shared_null = {ref = {_q_value = 1}, alloc
= 0, begin = 0,
end = 0, sharable = 1, array = {0x0}}, d = 0x7fff08dbfcc0}, d =
0x7fff08dbfcc0}}
lock = {m_lock = 0x1517d20, m_locked = true, m_timeout = 0}
#9  0x7fff2ec44831 in QmlJS::getInternalContext (declaration=...)
at /home/jonathan/zdroj/kde/src/kdev-qmljs/duchain/helper.cpp:230
baseClass = {static null = {}, static shared_null =
{ref = {_q_value = 1},
alloc = 0, size = 0, data = 0x62109a ,
clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array
= {0}},
  static shared_empty = {ref = {_q_value = 2446}, alloc = 0, size = 0,
data = 0x7521191a , clean = 0,
simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array
= {0}},
  d = 0x7fff08dbfce0, static codecForCStrings = 0x0}
structureType = 
integralType = 
lock = {m_lock = 0x1517d20, m_locked = true, m_timeout = 0}
functionType = 
#10 0x7fff2ec44839 in QmlJS::getInternalContext (declaration=...)
at /home/jonathan/zdroj/kde/src/kdev-qmljs/duchain/helper.cpp:230
baseClass = {static null = {}, static shared_null =
{ref = {_q_value = 1},
alloc = 0, size = 0, data = 0x62109a ,
clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array
= {0}},
  static shared_empty = {ref = {_q_value = 2446}, alloc = 0, size = 0,
data = 0x7521191a , clean = 0,
simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array
= {0}},
  d = 0x7fff08dbfc20, static codecForCStrings = 0x0}
structureType = 
integralType = 
lock = {m_lock = 0x1517d20, m_locked = true, m_timeout = 0}
functionType = 




Reproducible: Always

Steps to Reproduce:
1. Open the attached file assign.js

-- 
You are receiving this mail because:
You are watching all 

[kdevelop] [Bug 363044] Crash when parsing javascript/python files [DeclarationBuilder::inferArgumentsFromCall]

2016-05-17 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363044

--- Comment #2 from Jonathan Verner  ---
O.K., I updated kdevelop to 4.7.3 and built kdev-qmljs from git commit
3f9a3d8453ae29cf7fa8a753010806398f08fa0c and now I cannot reproduce this
(however, kdevelop crashes with a different backtrace so I can't confirm that
the bug is no longer present)

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 363044] New: Crash when parsing javascript/python files

2016-05-13 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363044

Bug ID: 363044
   Summary: Crash when parsing javascript/python files
   Product: kdevelop
   Version: 4.7.0
  Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: kdevelop-bugs-n...@kde.org
  Reporter: jonathan.ver...@gmail.com

Application: kdevelop (4.7.0)
KDE Platform Version: 4.14.13
Qt Version: 4.8.6
Operating System: Linux 3.16.0-70-generic x86_64
Distribution: Ubuntu 14.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Editing a project including Brython and several other javascript libraries
(Angular 2, Prime NG, ...)

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f232d0037c0 (LWP 30216))]

Thread 24 (Thread 0x7f231041c700 (LWP 30217)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x7f2325f47ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x7f2325f48039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x7f2328b2a182 in start_thread (arg=0x7f231041c700) at
pthread_create.c:312
#4  0x7f23297cd47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 23 (Thread 0x7f228f018700 (LWP 30218)):
#0  __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:63
#1  0x7f232395d981 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f232391b1f8 in g_main_context_release () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7f232391bf91 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x7f232391c0ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x7f2329f467be in QEventDispatcherGlib::processEvents
(this=0x7f22880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x7f2329f180af in QEventLoop::processEvents
(this=this@entry=0x7f228f017de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x7f2329f183a5 in QEventLoop::exec (this=this@entry=0x7f228f017de0,
flags=...) at kernel/qeventloop.cpp:204
#8  0x7f2329e14c5f in QThread::exec (this=this@entry=0x16c6a00) at
thread/qthread.cpp:537
#9  0x7f2329ef9823 in QInotifyFileSystemWatcherEngine::run (this=0x16c6a00)
at io/qfilesystemwatcher_inotify.cpp:265
#10 0x7f2329e1732f in QThreadPrivate::start (arg=0x16c6a00) at
thread/qthread_unix.cpp:349
#11 0x7f2328b2a182 in start_thread (arg=0x7f228f018700) at
pthread_create.c:312
#12 0x7f23297cd47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 22 (Thread 0x7f227fe64700 (LWP 30219)):
#0  0x7f2329793f3d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x7f23297c54a4 in usleep (useconds=) at
../sysdeps/unix/sysv/linux/usleep.c:32
#2  0x7f23269e281a in KDevelop::DUChainLock::lockForWrite(unsigned int) ()
from /usr/lib/libkdevplatformlanguage.so.8
#3  0x7f23269e29ec in KDevelop::DUChainWriteLocker::lock() () from
/usr/lib/libkdevplatformlanguage.so.8
#4  0x7f23269a814e in ?? () from /usr/lib/libkdevplatformlanguage.so.8
#5  0x7f23269a9228 in ?? () from /usr/lib/libkdevplatformlanguage.so.8
#6  0x7f2329e1732f in QThreadPrivate::start (arg=0x3234850) at
thread/qthread_unix.cpp:349
#7  0x7f2328b2a182 in start_thread (arg=0x7f227fe64700) at
pthread_create.c:312
#8  0x7f23297cd47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 21 (Thread 0x7f2277866700 (LWP 30220)):
#0  0x7f2323941390 in g_thread_self () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x7f232391c0dd in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f2329f467be in QEventDispatcherGlib::processEvents
(this=0x7f2278c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#3  0x7f2329f180af in QEventLoop::processEvents
(this=this@entry=0x7f2277865e20, flags=...) at kernel/qeventloop.cpp:149
#4  0x7f2329f183a5 in QEventLoop::exec (this=this@entry=0x7f2277865e20,
flags=...) at kernel/qeventloop.cpp:204
#5  0x7f2329e14c5f in QThread::exec (this=) at
thread/qthread.cpp:537
#6  0x7f2329e1732f in QThreadPrivate::start (arg=0x3b90bd8) at
thread/qthread_unix.cpp:349
#7  0x7f2328b2a182 in start_thread (arg=0x7f2277866700) at
pthread_create.c:312
#8  0x7f23297cd47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 20 (Thread 0x7f22650d5700 (LWP 30224)):
#0  0x7f232395d61a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x7f232395d979 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f232391b699 in g_main_context_prepare () from

[okular] [Bug 361644] New: Improve review workflow

2016-04-11 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361644

Bug ID: 361644
   Summary: Improve review workflow
   Product: okular
   Version: 0.24.0
  Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
  Severity: wishlist
  Priority: NOR
 Component: PDF backend
  Assignee: okular-de...@kde.org
  Reporter: jonathan.ver...@gmail.com

One use of annotations is for reviewing draft versions of a document. In this
scenario
a reviewer goes over the document and marks suggested changes. Then he sends
the document with the marked changes back to the author who incorporates them
into the document. Sometimes, there might be several people reviewing a
document; 
in this case it is useful if they are able to 

  1) merge comments from the other reviewers (see bug #361292)
  2) comment on the other reviewer's suggestions
  3) mark changes to indicate whether they agree with them or not

The pdf format allows for this workflow via so called "revisions". Each
annotation can
have several revisions (annotations with the IRT key set pointing to the
original annotation).
These serve two purposes:

  -- lightweight comment threads (see point 2 above)
  -- indicating status of the annotation (accepted/rejected/...) (see point 3
above)

It would be nice if okular allowed for this workflow. Currently if a document
has annotations
with revisions, the revisions are not even displayed (fine if they are only
used for point 3, but
not even annotation status is displayed). Moreover okular does not allow for
their creation.

I started working on implementing the workflow. Currently, the reviewboard
request
here:

https://git.reviewboard.kde.org/r/127636/

implements at least displaying the revisions. The next step will be to allow
creating revisions.
This will, however, need changes to poppler.



Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 361292] Import annotations from a different file

2016-04-01 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361292

--- Comment #1 from Jonathan Verner  ---
I tried implementing the feature; see:

https://git.reviewboard.kde.org/r/127541/

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 361292] New: Import annotations from a different file

2016-04-01 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361292

Bug ID: 361292
   Summary: Import annotations from a different file
   Product: okular
   Version: 0.24.0
  Platform: Other
OS: Linux
Status: UNCONFIRMED
  Severity: wishlist
  Priority: NOR
 Component: general
  Assignee: okular-de...@kde.org
  Reporter: jonathan.ver...@gmail.com

It would be nice if okular allowed me to import annotations from a different
file. For example if there are several people commenting on a draft document
this would allow the author to merge all the comments from the different people
into a single file.

Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 360201] all PDF text dissapeared after highlighting the text.

2016-03-08 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360201

Jonathan Verner  changed:

   What|Removed |Added

 CC||jonathan.ver...@gmail.com

--- Comment #2 from Jonathan Verner  ---
I can confirm the behaviour described. The same thing happens in the evince
viewer suggesting that it is, in fact, a poppler bug. Also, I tried the
following things:

 1. Add the annotation and save the file (both okular and evince)
 When I open the file, the annotation is lost but adding more annotations
doesn't exhibit the 
 problem anymore. I.e. it seems that after poppler rewrites the file, the
problems disappear.


 2. Add the annotation and delete it again: 

evince doesn't allow me to delete the annotation (right-clicking on it
shows the regular
 right-click menu without the option to delete the annotation)

okular crashes on me with the following backtrace:

#6  0x7f4004e70cc9 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x7f4004e740d8 in __GI_abort () at abort.c:89
#8  0x7f4004e69b86 in __assert_fail_base (fmt=0x7f4007f2d029 "%s%s%s:%u:
%s%sP\305\231edpoklad \342\200\236%s\342\200\234 nespln\304\233n.\n%n",
assertion=assertion@entry=0x7f3ff1759791 "pageobj != __null",
file=file@entry=0x7f3ff1759738 "Annot.cc", line=line@entry=1808,
function=function@entry=0x7f3ff175d640  "int Annot::getRotation() const") at assert.c:92
#9  0x7f4004e69c32 in __GI___assert_fail (assertion=0x7f3ff1759791 "pageobj
!= __null", file=0x7f3ff1759738 "Annot.cc", line=1808, function=0x7f3ff175d640
 "int Annot::getRotation()
const") at assert.c:101
#10 0x7f3ff166fb31 in Annot::getRotation (this=0x29d63e0) at Annot.cc:1808
#11 0x7f3ff1670292 in AnnotTextMarkup::draw (this=0x29d63e0,
gfx=0x7f3fe80037a0, printing=) at Annot.cc:3823
#12 0x7f3ff16eb6ac in Page::displaySlice (this=0x23e7bc0,
out=0x7f3fe828a9c0, out@entry=0x1e828a9c0,
hDPI=hDPI@entry=6.9125935956414803e-310,
vDPI=vDPI@entry=1.8601247458859261e-316, rotate=rotate@entry=32575,
useMediaBox=useMediaBox@entry=false, crop=crop@entry=63, sliceX=sliceX@entry=0,
sliceY=-1, sliceW=-1, sliceH=-1, printing=false, abortCheckCbk=0x0,
abortCheckCbkData=0x0, annotDisplayDecideCbk=0x0,
annotDisplayDecideCbkData=0x0, copyXRef=true) at Page.cc:605
#13 0x7f3ff16f1b19 in PDFDoc::displayPageSlice (this=,
out=0x1e828a9c0, out@entry=0x7f3fe828a9c0, page=32575, page@entry=3,
hDPI=6.9125935956414803e-310, hDPI@entry=91.788312920865906,
vDPI=1.8601247458859261e-316, vDPI@entry=91.722676797194609, rotate=32575,
rotate@entry=0, useMediaBox=useMediaBox@entry=false, crop=crop@entry=true,
printing=255, printing@entry=false, sliceX=sliceX@entry=-1,
sliceY=sliceY@entry=-1, sliceW=0, sliceW@entry=-1, sliceH=0, sliceH@entry=-1,
abortCheckCbk=abortCheckCbk@entry=0x0,
abortCheckCbkData=abortCheckCbkData@entry=0x0,
annotDisplayDecideCbk=annotDisplayDecideCbk@entry=0x0,
annotDisplayDecideCbkData=0x1, annotDisplayDecideCbkData@entry=0x0,
copyXRef=copyXRef@entry=true) at PDFDoc.cc:498
#14 0x7f3ff1a32f6d in Poppler::Page::renderToImage
(this=this@entry=0x7f3fe8285800, xres=xres@entry=91.788312920865906,
yres=yres@entry=91.722676797194609, x=-1, y=-1, w=-1, h=-1,
rotate=Poppler::Page::Rotate0) at poppler-page.cc:317
#15 0x7f3ff1c83f05 in PDFGenerator::image (this=0x22f1050,
request=0x29b2960) at ../../../generators/poppler/generator_pdf.cpp:877
#16 0x7f3ff612a843 in Okular::PixmapGenerationThread::run (this=0x36c23f0)
at ../core/generator_p.cpp:64
#17 0x7f40057f932f in QThreadPrivate::start (arg=0x36c23f0) at
thread/qthread_unix.cpp:349
#18 0x7f40024f5182 in start_thread (arg=0x7f3feed11700) at
pthread_create.c:312
#19 0x7f4004f3447d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111


Output of okular --version:

Qt: 4.8.6
KDE Development Platform: 4.14.13
Okular: 0.20.3

Output of pdftotext -v:

pdftotext version 0.24.5
Copyright 2005-2013 The Poppler Developers - http://poppler.freedesktop.org
Copyright 1996-2011 Glyph & Cog, LLC

Also, it seems that the pdf-file is in fact corrupt. This is (a part of) the
output from
http://www.pdf-tools.com/pdf/validate-pdfa-online.aspx:

The file trailer dictionary is missing or invalid.
The separator after an 'obj' must be an EOL. (730)
The separator before an 'endobj' must be an EOL.
The file trailer dictionary must have an id key.

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 359242] Newline is added to a copied header

2016-02-11 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359242

Jonathan Verner  changed:

   What|Removed |Added

 CC||jonathan.ver...@gmail.com

--- Comment #1 from Jonathan Verner  ---
Vaguely reminds me of Bug #208857, but that one was fixed...; 
Note that for me a newline is added whenever I select a word at the end of a
line.
I thought I saw a similar bug (different from #208857) reported earlier, but
now 
I can't seem to find it.

Podofo version 0.24.5
Okular version 0.20.3

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 358764] EPS not rendered (white image results)

2016-01-30 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358764

Jonathan Verner  changed:

   What|Removed |Added

 CC||jonathan.ver...@gmail.com

--- Comment #2 from Jonathan Verner  ---
Here (Okular 0.20.3, LibSpectre 0.2.7; Ubuntu 14.04, Kde 4.14.13), the example
EPS file is displayed just fine.

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 358634] Hang waiting for print server to get page shape

2016-01-27 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358634

Jonathan Verner  changed:

   What|Removed |Added

 CC||jonathan.ver...@gmail.com

--- Comment #1 from Jonathan Verner  ---
Perhaps a duplicate of #334708?

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 319839] --unique-per-file option

2016-01-26 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=319839

--- Comment #4 from Jonathan Verner  ---
(In reply to Walter Rudametkin from comment #3)
> Hi,
> 
> Is there anything missing for your patch to be applied? I'd really like to
> see this in Okular.
> 
> Regards,

It is not fully tested yet (missing unit tests)... If you are brave, you might
try downloading Okular's source, applying the patch and building it yourself.

I planned to work on it at the end of last year but unfortunately life again
got into the way. As it stands, I currently don't have much time, so the
chances of me finishing it soon are rather slim :-( Sorry for that.

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 358371] Forms in the document (see URL) are displayed with black background, instead of white.

2016-01-24 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358371

Jonathan Verner  changed:

   What|Removed |Added

 CC||jonathan.ver...@gmail.com

--- Comment #2 from Jonathan Verner  ---
Works for me, here (Ubuntu 14.04, Okular 0.20.3). When I open the document, the
forms have black background, but when I click the button to "show forms", they
become input fields with white background which can be filled (see attached
image); this is similar to the way Adobe Reader works here (although for adobe
reader the display seems even more messed up).

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 358371] Forms in the document (see URL) are displayed with black background, instead of white.

2016-01-24 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358371

--- Comment #3 from Jonathan Verner  ---
Created attachment 96814
  --> https://bugs.kde.org/attachment.cgi?id=96814=edit
Okular 0.20.3 showing the form fields

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 358371] Forms in the document (see URL) are displayed with black background, instead of white.

2016-01-24 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358371

--- Comment #6 from Jonathan Verner  ---
(In reply to wgzimmer-zueri from comment #4)
> (In reply to Jonathan Verner from comment #2)
> > Works for me, here (Ubuntu 14.04, Okular 0.20.3). When I open the document,
> > the forms have black background, but when I click the button to "show
> > forms", they become input fields with white background which can be filled
> > (see attached image); this is similar to the way Adobe Reader works here
> > (although for adobe reader the display seems even more messed up).
> 
> Unfortunately, for me this only works for some of the fields, not all - see
> attached screenshot. I appear to be using a different version, though (the
> latest in the Fedora22 repos).

In my version of Okular, which is a bit older, i.e.  0.20.3,  __ALL__ of the
fields have white background and can be filled without problem (unlike in your
version). For the record, I am using the plasma desktop environment (this
shouldn't be relevant, though, right?)...

Btw., my version of the poppler library is 0.24.5. What version do you have?
(pdftops -v)

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 358371] Forms in the document (see URL) are displayed with black background, instead of white.

2016-01-24 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358371

--- Comment #8 from Jonathan Verner  ---
> Now that you mention it, I just checked with evince and have the same
> troubles there. Should I maybe file this as an XFCE bug?
> 
> I appear to have poppler library version 0.30.0
> 
> $ pdftops -v
> pdftops version 0.30.0
> Copyright 2005-2015 The Poppler Developers - http://poppler.freedesktop.org
> Copyright 1996-2011 Glyph & Cog, LLC

I don't think it has anything to do with the desktop environment. The fact that
evince has
the same behaviour indicates it might be a bug in poppler (the library both
evince and okular, afaik, use to render pdfs). However, since Adobe Reader here
also has some trouble with the forms, it might also just be that the pdf is
corrupted.

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 356816] When I open certain pdf documents, each entry in table of contents contains weird chracters at the end.

2015-12-21 Thread Jonathan Verner via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356816

Jonathan Verner  changed:

   What|Removed |Added

 CC||jonathan.ver...@gmail.com

--- Comment #6 from Jonathan Verner  ---
Looking at the file, it seems that the outline titles have a string of zeroes
appended to them, e.g. the 'Index' element of the outline looks like this:

<< /A 2333 0 R /Parent 2330 0 R /Prev 2334 0 R /Title
<496e646578> >>

(496e646578 == 'Index')

Acrobat renders the toc just fine as does chrome's internal viewer and xpdf.
Perhaps okular should strip non-printable characters from the title before
displaying it?

-- 
You are receiving this mail because:
You are watching all bug changes.