[okular] [Bug 445803] New: Doesn't honor the umask while saving xml FILE in .local/share/okular/docdata/

2021-11-20 Thread Enzo
https://bugs.kde.org/show_bug.cgi?id=445803

Bug ID: 445803
   Summary: Doesn't honor the umask while saving xml FILE in
.local/share/okular/docdata/
   Product: okular
   Version: 21.08.3
  Platform: Archlinux Packages
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: vincenzo.rom...@notorand.it
  Target Milestone: ---

SUMMARY
***
No matter what umask is set, XML files are saved with 0644 permissions.
***


STEPS TO REPRODUCE
1.  Setup umask at, say, 0077 (no permissions for G and O).
2.  Open a document with ocular and browse it.
3.  Check file permissions in  .local/share/okular/docdata/ for the file named
after the browsed document

OBSERVED RESULT
XML file has permissions 0644

EXPECTED RESULT
XML file permissions should obey umask (0600 in the example case)

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

ADDITIONAL INFORMATION

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

[okular] [Bug 445068] Some errors were found in the document

2021-11-20 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=445068

--- Comment #3 from Albert Astals Cid  ---
To debug this you probably need to compile poppler [
https://poppler.freedesktop.org/ ] and debug it with gdb to figure out what is
causing this, unless you're a C++ developer this is mostly outside things you
can actually do.

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

[okular] [Bug 445842] New: Okular cannot open the same file twice in different tabs

2021-11-20 Thread David
https://bugs.kde.org/show_bug.cgi?id=445842

Bug ID: 445842
   Summary: Okular cannot open the same file twice in different
tabs
   Product: okular
   Version: 21.08.3
  Platform: Debian unstable
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: david.cortes.riv...@gmail.com
  Target Milestone: ---

SUMMARY
In the latest versions of Okular, if I configure it to open new files in tabs,
I cannot open the same file twice to show it in two tabs, which used to be
possible in earlier versions.

STEPS TO REPRODUCE
1. Launch Okular, go to Settings -> Configure Okular -> General -> Program
features -> check "Open new files in tabs".
2. Open some PDF file in Okular.
3. Try opening the same PDF file again in Okular.

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
Should open the same file in a new tab.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.14.0-4-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD VEGA10

ADDITIONAL INFORMATION

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

[okular] [Bug 445851] New: Don't copy newlines within paragraph

2021-11-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=445851

Bug ID: 445851
   Summary: Don't copy newlines within paragraph
   Product: okular
   Version: 21.08.3
  Platform: Archlinux Packages
OS: Linux
Status: REPORTED
  Severity: wishlist
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: codingko...@gmail.com
  Target Milestone: ---

SUMMARY
When a selection of text spanning multiple lines is copied, the newlines are
included. This has the effect of including newlines in the middle of sentences,
which is undesirable when copying text from the PDF to a new document.

STEPS TO REPRODUCE
1. Obtain a PDF containing a paragraph of text, such as this one:
https://unec.edu.az/application/uploads/2014/12/pdf-sample.pdf.
2. Copy an entire paragraph of text, or a selection within the paragraph
spanning multiple times.
3. Paste the selection into a new document or text editor.

OBSERVED RESULT
Newlines used to break the content are preserved:

Adobe® Portable Document Format (PDF) is a universal file format that preserves
all
of the fonts, formatting, colours and graphics of any source document,
regardless of
the application and platform used to create it.

EXPECTED RESULT
Newlines used to break the content are not preserved:

Adobe® Portable Document Format (PDF) is a universal file format that preserves
all of the fonts, formatting, colours and graphics of any source document,
regardless of the application and platform used to create it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
The pdf.js PDF viewer elides the newlines as I want, but butchers the spacing
in seemingly unrelated ways:

Adobe® Portable Document Format (PDF) is a universal file format that preserves
allof  the  fonts,  formatting,  colours  and  graphics  of  any  source 
document,  regardless  ofthe application and platform used to create it.

Bug #359242 also discusses unwanted newlines in the clipboard, but this bug
discusses the exclusion of newlines that *are* within the text selection.

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