Discussion:
[okular] [Bug 400327] New: Trim Margins does not work properly when applied to files opened in different tabs
Evgenii
2018-10-26 11:24:00 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=400327

Bug ID: 400327
Summary: Trim Margins does not work properly when applied to
files opened in different tabs
Product: okular
Version: 1.5.2
Platform: Archlinux Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: okular-***@kde.org
Reporter: ***@gmail.com
Target Milestone: ---

SUMMARY
Trim Margins does not work properly when applied to pdf-files opened in
different tabs

STEPS TO REPRODUCE
1. Open multiple pdf-files in tabs (e.g. file1.pdf and file2.pdf)
2. Switch to file1.pdf
3. Select View - Trim View - Trim Margins (or just click on a button on a
toolbar)
4. Switch to file2.pdf
5. Select View - Trim View - Trim Margins (or just click on a button on a
toolbar)
6. Switch back to file1.pdf
7. Unselect View - Trim View - Trim Margins (or just click on a button on a
toolbar)

OBSERVED RESULT
After step #5 file2.pdf is not trimmed.
After step #7 file1.pdf remains trimmed.

EXPECTED RESULT
After steps #5 and #7 files to be trimmed and untrimmed respectively.

SOFTWARE VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 5.14.2
Qt Version: 5.11.2
KDE Frameworks Version: 5.51.0
Kernel Version: 4.14.78-1-lts
OS Type: 64-bit


Operating System: Microsoft Windows 10 Home Single Language
OS Type: 64-bit
Qt Version: 5.11.2 (built against 5.11.2)
KDE Frameworks Version: 5.50.0
--
You are receiving this mail because:
You are the assignee for the bug.
Magnus Aagaard Sørensen
2018-11-17 12:59:36 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=400327

Magnus Aagaard Sørensen <***@aagaardsorensen.dk> changed:

What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|REPORTED |CONFIRMED
CC| |***@aagaardsorensen.dk
Keywords| |investigated, triaged

--- Comment #1 from Magnus Aagaard Sørensen <***@aagaardsorensen.dk> ---
Steps taken to triage:

A: With taps
* Set Okular to open files in tabs
* Open file1.pdf and file2.pdf
* Ensure no file has trim enabled
* Trim margins on file1 with View -> Trim View -> Trim Margins
* Observe trim as expected, switch to second tab with file2
* Trim margins on file2 with View -> Trim View -> Trim Margins
* Observe no trim
* Switch to first tab with file1
* Unselect trim margins
* Observe file is still trimmed

B: With windows
* Set okular to not open files in tabs
* Open file1.pdf and file2.pdf
* Ensure no file has trim enabled
* Trim margins on file1 with View -> Trim View -> Trim Margins
* Observe trim as expected, switch to second window with file2
* Trim margins on file2 with View -> Trim View -> Trim Margins
* Observe no trim
* Switch to first window with file1
* Unselect trim margins
* Observe file is still trimmed

In both cases, to re-enable the trim feature, is must be deselected in all open
files, and the file which is still trimmed, where it ought to be in default
mode, can be returned to the default view by selecting trim margins, and then
deselecting it again.

I'm not the developer, updating as part of the Okular Bug Day for the Bugsquad.

Application Version: 1.5.3
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...