[okular] [Bug 436738] docdata duplicated each time pdf is edited

2021-05-15 Thread David Hurka
https://bugs.kde.org/show_bug.cgi?id=436738

--- Comment #12 from David Hurka  ---
Every time I open a document, Okular checks whether the file
“,.xml” exists. Is that different to checking whether the file
“.xml” exists?

Or do I understand something wrong?

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

[okular] [Bug 437164] New: print2pdf not work properly

2021-05-15 Thread Hojjat
https://bugs.kde.org/show_bug.cgi?id=437164

Bug ID: 437164
   Summary: print2pdf not work properly
   Product: okular
   Version: unspecified
  Platform: Mint (Debian based)
OS: Linux
Status: REPORTED
  Severity: major
  Priority: NOR
 Component: PDF backend
  Assignee: okular-devel@kde.org
  Reporter: goodlinuxu...@chmail.ir
  Target Milestone: ---

Created attachment 138465
  --> https://bugs.kde.org/attachment.cgi?id=138465&action=edit
sample file fo checking

salam
print2pdf not work properly when select 2pages in one


STEPS TO REPRODUCE
1. crtrl+p
2. print to file -> option
3. pages select 2 - right 2 left

OBSERVED RESULT

print one page for per page

EXPECTED RESULT

print 2 pages in per page like evince 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 4.14.22
Qt Version: 

ADDITIONAL INFORMATION

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

[okular] [Bug 437164] print2pdf not work properly

2021-05-15 Thread Luigi Toscano
https://bugs.kde.org/show_bug.cgi?id=437164

Luigi Toscano  changed:

   What|Removed |Added

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

--- Comment #1 from Luigi Toscano  ---
I see that you only reported "KDE Frameworks Version: 4.14.22" as the version.
Is that an oversight? What is the full version of Okular and all the libraries
as shown inside its "About Okular" menu entry?

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

[okular] [Bug 436738] docdata duplicated each time pdf is edited

2021-05-15 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=436738

--- Comment #13 from Albert Astals Cid  ---
(In reply to David Hurka from comment #12)
> Every time I open a document, Okular checks whether the file
> “,.xml” exists. Is that different to checking whether the
> file “.xml” exists?
> 
> Or do I understand something wrong?

My answer was to pbs3141 that was suggesting something different as far as I
understand.

I don't like the idea of identifying the docdata exclusively by hash.

Hashes by definition will have collisions, so will have filenames+filesize, but
it's much easier to explain that two documents "share" their docdata because of
that (and if the user actually has two files with the same filename and size
and are not the same, she can rename one of the files) than the fact that if
they share the hash of the first N bytes, which is something that no one
"normal" can really understand and if even they understand they can't fix it.

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

KDE CI: Applications » okular » kf5-qt5 WindowsMSVCQt5.15 - Build # 175 - Failure!

2021-05-15 Thread CI System
BUILD FAILURE
 Build URL
https://build.kde.org/job/Applications/job/okular/job/kf5-qt5%20WindowsMSVCQt5.15/175/
 Project:
kf5-qt5 WindowsMSVCQt5.15
 Date of build:
Sat, 15 May 2021 21:34:22 +
 Build duration:
51 sec and counting
   CONSOLE OUTPUT
  [...truncated 32 lines...][2021-05-15T21:34:30.148Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10[2021-05-15T21:34:30.290Z]  > git rev-parse "origin/master^{commit}" # timeout=10[2021-05-15T21:34:30.516Z]  > git config core.sparsecheckout # timeout=10[2021-05-15T21:34:30.588Z]  > git checkout -f 75eb2095f5455c855b7f90ce837c1176b3845385 # timeout=10[2021-05-15T21:34:38.481Z] Commit message: "Merge remote-tracking branch 'origin/release/21.04'"[2021-05-15T21:34:38.469Z]  > git rev-list --no-walk b15accd0ae51c68fbd1b1b09a3d12ffcd24a5f55 # timeout=10[Pipeline] checkout[2021-05-15T21:34:39.081Z] The recommended git tool is: NONE[2021-05-15T21:34:39.103Z] No credentials specified[2021-05-15T21:34:39.136Z] Cloning the remote Git repository[2021-05-15T21:34:39.025Z] Cloning repository https://invent.kde.org/sysadmin/ci-tooling.git[2021-05-15T21:34:39.025Z]  > git init C:\CI\Job Build\ci-tooling # timeout=10[2021-05-15T21:34:39.490Z] Fetching upstream changes from https://invent.kde.org/sysadmin/ci-tooling.git[2021-05-15T21:34:39.490Z]  > git --version # timeout=10[2021-05-15T21:34:39.707Z]  > git --version # 'git version 2.25.0.windows.1'[2021-05-15T21:34:39.708Z]  > git fetch --tags --force --progress -- https://invent.kde.org/sysadmin/ci-tooling.git +refs/heads/*:refs/remotes/origin/* # timeout=10[2021-05-15T21:34:42.237Z] Avoid second fetch[2021-05-15T21:34:41.857Z]  > git config remote.origin.url https://invent.kde.org/sysadmin/ci-tooling.git # timeout=10[2021-05-15T21:34:41.972Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10[2021-05-15T21:34:42.099Z]  > git rev-parse "origin/master^{commit}" # timeout=10[2021-05-15T21:34:42.419Z] Checking out Revision 5768cc33b3dd9175a44d3d70f9d178ea594cf661 (origin/master)[2021-05-15T21:34:42.306Z]  > git config core.sparsecheckout # timeout=10[2021-05-15T21:34:42.433Z]  > git checkout -f 5768cc33b3dd9175a44d3d70f9d178ea594cf661 # timeout=10[2021-05-15T21:34:44.370Z] Commit message: "Ensure that we pre-create /tmp/.X11-unix/ to keep things happy."[Pipeline] checkout[2021-05-15T21:34:44.435Z] The recommended git tool is: NONE[2021-05-15T21:34:44.450Z] No credentials specified[2021-05-15T21:34:44.456Z] Cloning the remote Git repository[2021-05-15T21:34:44.323Z] Cloning repository https://invent.kde.org/sysadmin/repo-metadata.git[2021-05-15T21:34:44.323Z]  > git init C:\CI\Job Build\ci-tooling\repo-metadata # timeout=10[2021-05-15T21:34:44.491Z] Fetching upstream changes from https://invent.kde.org/sysadmin/repo-metadata.git[2021-05-15T21:34:44.491Z]  > git --version # timeout=10[2021-05-15T21:34:44.672Z]  > git --version # 'git version 2.25.0.windows.1'[2021-05-15T21:34:44.672Z]  > git fetch --tags --force --progress -- https://invent.kde.org/sysadmin/repo-metadata.git +refs/heads/*:refs/remotes/origin/* # timeout=10[2021-05-15T21:34:46.355Z]  > git config remote.origin.url https://invent.kde.org/sysadmin/repo-metadata.git # timeout=10[2021-05-15T21:34:46.761Z] Avoid second fetch[2021-05-15T21:34:46.932Z] Checking out Revision 58a7ad9c76e12db80806742675a2a9ec55d3f381 (origin/master)[2021-05-15T21:34:46.508Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10[2021-05-15T21:34:46.651Z]  > git rev-parse "origin/master^{commit}" # timeout=10[2021-05-15T21:34:46.816Z]  > git config core.sparsecheckout # timeout=10[2021-05-15T21:34:46.945Z]  > git checkout -f 58a7ad9c76e12db80806742675a2a9ec55d3f381 # timeout=10[2021-05-15T21:34:54.310Z] Commit message: "Mark the i18n branches for Plasma/5.22"[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Setup Dependencies)[Pipeline] bat[2021-05-15T21:34:54.706Z] [2021-05-15T21:34:54.706Z] C:\CI\Job Build>python -u ci-tooling/helpers/prepare-dependencies.py --product Applications --project okular --branchGroup kf5-qt5 --environment production --platform WindowsMSVCQt5.15 --installTo "C:/CI/Software Installs/okular/" [2021-05-15T21:35:13.603Z] Traceback (most recent call last):[2021-05-15T21:35:13.603Z]   File "C:\Program Files\Python38\lib\urllib\request.py", line 1319, in do_open[2021-05-15T21:35:13.603Z] h.request(req.get_method(), req.selector, req.data, headers,[2021-05-15T21:35:13.603Z]   File "C:\Program Files\Python38\lib\http\client.py", line 1230, in request[2021-05-15T21:35:13.603Z] self._send_request(method, url, body, headers, encode_chunked)[2021-05-15T21:35:13.603Z]   File "C:\Program Files\Python38\lib\http\client.py", line 1276, in _send_request[2021-05-15T21:35:13.603Z] self.endheaders(body, encode_chunked=encode_chunked)[2021-05-15T21:35:13.603Z]   File "C:\Program Files\Python38\lib\http\client

[okular] [Bug 436738] docdata duplicated each time pdf is edited

2021-05-15 Thread David Hurka
https://bugs.kde.org/show_bug.cgi?id=436738

--- Comment #14 from David Hurka  ---
> My answer was to pbs3141 that was suggesting something 
> different as far as I understand.
Ok, now I understand. pbs3141 and me suggested mostly the same, just that my
suggestion does not use any filepaths, and so does not need to process docdata
files to decide whether to delete them.

The fear for collisions is probably real for .txt files and similar, where two
different documents can easily have the same first 4kB. (The text on the first
two pages are the same.) The SHA algorithms don’t make collisions that we
should care about. :)

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

[okular] [Bug 437185] New: Tabs appear to be misbehaving.

2021-05-15 Thread Ben Guy-Williams
https://bugs.kde.org/show_bug.cgi?id=437185

Bug ID: 437185
   Summary: Tabs appear to be misbehaving.
   Product: okular
   Version: 21.04.0
  Platform: Manjaro
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: ben2t...@yahoo.com
  Target Milestone: ---

SUMMARY


STEPS TO REPRODUCE
1. Open a document with Okular
2. Open other documents in new tabs.
3. Try to view two documents side by side.

OBSERVED RESULT

Unable to find the option to 1. tear off a tab to create a new window or 2.
Move a tab to a new window or 3. Split window to view two or more tabs side by
side or as a 4x4 grid.

These options would appear to be a 'standard' for desktop apps - though some do
not behave.

EXPECTED RESULT


Operating System: Manjaro Linux
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.12.1-2-MANJARO
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i3-4130 CPU @ 3.40GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4400

ADDITIONAL INFORMATION

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