[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2021-06-04 Thread Jalsti
Similar problems here with 1.3.2 (on Debian) – having had accessibility features turned on and off again, the 'trim margins' features stopped working. Removing the out of that resulting new configuration file line `BWThreshold=75` (under `[Dlg Accessibility]`) in okularpartrc, and restarting Okul

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2020-10-22 Thread Bug Watch Updater
** Changed in: kdegraphics Status: Fix Released => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/635026 Title: Okular Trim margins doesn't work if paper colour is changed To manage

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2019-06-11 Thread Bug Watch Updater
** Changed in: kdegraphics Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/635026 Title: Okular Trim margins doesn't work if paper colour is changed To manage

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2015-10-20 Thread hannes s
For reference, I updated, tested, and submitted the patch by lauri-lyly to the KDE reviewboard: https://git.reviewboard.kde.org/r/125721/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/635026 Title

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2013-03-12 Thread Bug Watch Updater
** Changed in: kdegraphics Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/635026 Title: Okular Trim margins doesn't work if paper colour is changed To manage n

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2012-09-10 Thread Bug Watch Updater
Launchpad has imported 7 comments from the remote bug at https://bugs.kde.org/show_bug.cgi?id=186531. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launch

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2012-09-09 Thread Lauri Lyly
Still, if you use page up and page down aggressively, it'll randomly not trim the pages. But I suspect this has nothing to do with this specific bug, unless it's applying settings in a delayed way. You can cause trimming then by zooming in and out randomly. I don't know what triggers it, but it doe

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2012-09-09 Thread Lauri Lyly
I confirmed this is the case, so ... there's this function "isWhite" in utils.cpp which isn't used anywhere else than in Utils::imageBoundingBox. I modified it from inline static bool isWhite( QRgb argb ) { return ( argb & 0xFF ) == 0xFF; // ignore alpha } to inline static bool isP

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2012-09-09 Thread Marius Kotsbak
Please add the comments to the upstream bug report: https://bugs.kde.org/show_bug.cgi?id=186531 Great if you can provide a patch to fix it. -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to okular in Ubuntu. https://bugs.launchpad.net/bugs/635

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2012-09-09 Thread Lauri Lyly
I looked at the code and the reason for this is probably obvious (can't be totally sure since I don't know in which order things are done here). The imageBoundingBox function is checking whether the pixels to become cropped from the margins are white. So, if you set your paper color to something e

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2012-09-09 Thread Lauri Lyly
And my Okular version is like 0.14.3, so it's apparently been there for a while. -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to okular in Ubuntu. https://bugs.launchpad.net/bugs/635026 Title: Okular Trim margins doesn't work if paper colo

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2012-09-09 Thread Lauri Lyly
Oh yeah... and if the trimming was set before I enable this setting, it stays on for a while until I switch to a new page or so. -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to okular in Ubuntu. https://bugs.launchpad.net/bugs/635026 Title:

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2012-09-09 Thread Lauri Lyly
Also affects me. As a side-note, for me the trimming only starts working again for the same document if I restart Okular after I disable the paper colour setting. -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to okular in Ubuntu. https://bugs.

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2012-04-25 Thread Sam Gweon
I discovered this bug today, too. Okular seems like a blast. This is a small but significant bug for me. Would appreciate a quick fix! -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to okular in Ubuntu. https://bugs.launchpad.net/bugs/635026

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2012-04-25 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: okular (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/635026 Title: Okul

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2011-12-27 Thread Bug Watch Updater
** Changed in: kdegraphics Status: New => Incomplete -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to okular in Ubuntu. https://bugs.launchpad.net/bugs/635026 Title: Okular Trim margins doesn't work if paper colour is changed To man

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2011-05-25 Thread Bug Watch Updater
** Changed in: kdegraphics Status: Unknown => New ** Changed in: kdegraphics Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/635026 Title: Okular Trim margins

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2011-05-25 Thread Marius Kotsbak
** Also affects: kdegraphics via http://bugs.kde.org/show_bug.cgi?id=186531 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/635026 Title: Okular Trim m

[Bug 635026] Re: Okular Trim margins doesn't work if paper colour is changed

2010-09-10 Thread ssameer
Upstream bug report: https://bugs.kde.org/show_bug.cgi?id=186531 ** Bug watch added: KDE Bug Tracking System #186531 http://bugs.kde.org/show_bug.cgi?id=186531 -- Okular Trim margins doesn't work if paper colour is changed https://bugs.launchpad.net/bugs/635026 You received this bug notificat