- 01 Oct, 2017 1 commit
-
-
Nathaniel Graham authored
Summary: BUG: 182994 Adds an option to the config dialog that enables background color (the color around the displayed page) to be changed (while by default preserving the Qt toolkit selection as not to affect existing users). Reasons for this change: Accessibility, eye strain, aesthetic reasons, color displayed on monitor can affect power consumption (how: depends on display technology). Many people want this change occording to Bugzilla and other sources. Maintenance: Nearly no additional maintenance: This is no new subsystem but a trivial feature with no complex code dependencies, and we are already showing a colour selection dialog and setting colours in other places in Okular. {F4257766} Other less important information: https://git.reviewboard.kde.org/r/130219/ https://mail.kde.org/pipermail/okular-devel/2017-September/025520.html Test Plan: Tested everything, it all works: Toggled the custom background color, changed custom background color, removed okular settings file (with: "rm ~/.config/okular*") to verify it uses the usual qt theme colour by default (where the settings file remembered the custom color). Reviewers: #okular, aacid, elvisangelaccio, rkflx, ngraham Reviewed By: ngraham Subscribers: aacid, ltoscano, ngraham Tags: #okular Differential Revision: https://phabricator.kde.org/D8051
-
- 05 Sep, 2017 1 commit
-
-
Kevin Funk authored
Semi-ACK'd by Albert :)
-
- 28 Jul, 2017 1 commit
-
-
Albert Astals Cid authored
-
- 21 May, 2017 1 commit
-
-
Tobias Deiminger authored
BUG: 334798 REVIEW: 130131
-
- 13 Apr, 2017 1 commit
-
-
Tobias Deiminger authored
Prevent MouseAnnotation from accessing PageViewItem widgets any longer after PageView deletes them in PageView::notifySetup(). BUGS: 378696 REVIEW: 130087
-
- 19 Mar, 2017 1 commit
-
-
Tobias Deiminger authored
Usage: If you left-click an annotation, it gets selected. Resize handles appear on the selection rectangle. When cursor is moved over one of the 8 resize handles on the corners/edges, the cursor shape changes to indicate resize mode. Everywhere else on the annotation means "move", just as it was before resize feature was added. Pressing ESC or clicking an area outside the annotation cancels a selection. Pressing Del deletes a selected annotation. Feature is only applicable for annotation types AText, AStamp and AGeom. Implementation: It works by eventually changing AnnotationPrivate::m_boundary and notifying generator (i.e. poppler) about that change. Annotation state handling is shifted out of PageView into a new class MouseAnnotation (ui/pageviewmouseannotation.cpp). Some functionality not related to resizing but to annotation interaction in general is also shifted to class MouseAnnotation, to build a single place of responsiblity. Other changes: Add method Document::adjustPageAnnotation, backed by a QUndoCommand. class Okular::AdjustAnnotationCommand. Add Annotation::adjust and Annotation::canBeResized methods. Draw resize handles in PagePainter::paintCroppedPageOnPainter. Resize and move work -for types AText, AStamp and AGeom -on all pages of document -when viewport position changes -when zoom level changes -for all page rotations (0°, 90°, 180°, 270°) Selection is canceled -when currently selected annotation is deleted -on mouse click outside of currently selected annotation -ESC is pressed Viewport is shifted when mouse cursor during move/resize comes close to viewport border. Resize to negative is prevented. Tiny annotations are still selectable. If mouse is moved over an annotation type that we can focus, and the annotation is not yet focused, mouse cursor shape changes to arrow. If mouse cursor rests over an annotation A, while annotation B is focused, a tooltip for annotation A is shown. Selected Annotation is deleted when Del is pressed. Test for regressions: -Annotation interaction (focus, move, resize, start playback, ...) are only done in mode EnumMouseMode::Browse. -If mouse is moved over an annotation type where we can start an action, mouse cursor shape changes to pointing hand. -If mouse is moved over an annotation type that we can't interact with, mouse cursor shape stays a open hand. -If mouse cursor rests over an annotation of any type, a tooltip for that annotation is shown. -Grab/move scroll area (on left click + mouse move) is prevented, if mouse is over focused annotation, or over AMovie/AScreen/AFileAttachment annotation. -A double click on a annotation starts the "annotator". REVIEW: 127366 BUG: 177778 BUG: 314843 BUG: 358060
-
- 11 Mar, 2017 1 commit
-
-
Oliver Sander authored
REVIEW: 126809
-
- 08 Mar, 2017 1 commit
-
-
Albert Astals Cid authored
BUGS: 363776
-
- 03 Mar, 2017 1 commit
-
-
Albert Astals Cid authored
This way zooming in/out with a touchpad is easier to control BUGS: 377128
-
- 02 Mar, 2017 1 commit
-
-
Albert Astals Cid authored
It's hard the user edits forms in more than one page in less than a second (though possible) but once we introduce JS parsing that will be defenitely possible so need to store more than one page
-
- 08 Feb, 2017 1 commit
-
-
Walter Mollica authored
Extending the viewport update area of the selection rectangle when dragging the mouse while in selection mode or when canceling the selection ensures that no artifacts remain on-screen in either case. BUG: 266537 Differential Revision: https://phabricator.kde.org/D4487
-
- 14 Jan, 2017 1 commit
-
-
Martin Tobias Holmedahl Sandsmark authored
-
- 11 Jan, 2017 1 commit
-
-
Heiko Becker authored
The webshortcuts KCM has been renamed from 'ebrowsing' to 'webshortcuts' when it was moved from konqueror to kio. REVIEW: 129805
-
- 28 Dec, 2016 1 commit
-
-
Albert Astals Cid authored
QMenu title/section are optional to draw from the style side but we have crucial information in them so reuse old KMenu code to create a fake action that behaves as title I'll see if KF5 wants to accept this as contribution later BUGS: 374079
-
- 04 Nov, 2016 1 commit
-
-
Yuri Chornoivan authored
-
- 15 Oct, 2016 1 commit
-
-
Martin Tobias Holmedahl Sandsmark authored
Patch by Oliver Sander <oliver.sander@tu-dresden.de> REVIEW: 128821 BUG: 366781
-
- 01 Oct, 2016 1 commit
-
-
Martin Tobias Holmedahl Sandsmark authored
The old method name contained a typo. Patch by Oliver Sander <oliver.sander@tu-dresden.de>. REVIEW: 128938
-
- 25 Jul, 2016 1 commit
-
-
Olivier Churlaud authored
Commited on behalf of Fahad Al-Saidi REVIEW: 125397 BUG: 325650
-
- 24 Jul, 2016 4 commits
-
-
Martin Tobias Holmedahl Sandsmark authored
-
Martin Tobias Holmedahl Sandsmark authored
-
Martin Tobias Holmedahl Sandsmark authored
-
Martin Tobias Holmedahl Sandsmark authored
-
- 17 Jul, 2016 1 commit
-
-
Olivier Churlaud authored
-
- 11 Jul, 2016 1 commit
-
-
Martin Tobias Holmedahl Sandsmark authored
See previous commits for details.
-
- 11 Mar, 2016 1 commit
-
-
David Rosca authored
REVIEW: 126852
-
- 28 Dec, 2015 1 commit
-
-
Patrick Spendrin authored
This patch changes multiline QStringLiterals to QString::fromLatin1 as QStringLiterals doesn't understand multiline strings on windows. Also, strncasecmp is replaced by the portable qstrnicmp function provided by QByteArray header. REVIEW: 126379
-
- 29 Oct, 2015 1 commit
-
-
Laurent Montel authored
-
- 27 Oct, 2015 1 commit
-
-
Albert Astals Cid authored
Instead of having to right click on it and choosing save from the menu BUGS: 354268
-
- 14 Sep, 2015 1 commit
-
-
Albert Astals Cid authored
Tab replacing, function naming, include removal, @since addition, etc
-
- 27 Aug, 2015 1 commit
-
-
Jake Linder authored
Changes C1. Added submenu, moved "Trim margins" (TM mode) to it and added "Trim To Selection" (TS mode). C2. Activating "Trim To selection" enters a new mousemode, similar to RectSelect for defining a viewport. C3. Once a viewport has been defined, it serves as a viewport for all pages in the document. C4. Left/Right pages are not treated differently. Manual Testing T1. Switching between modes enforces at most one active. T2. Can deactivate a mode by selecting it again from the menu. T3. When draggin bbox selection, clicking outside page does not crash. T4. When in "Facing Pages" mode, mouse release must be over any page (or is ignored). T5. Normalized bbox coords are computed relative to page indicated by point of mouse release. T6. Behave as expected when switching between any pair of No Trim/Trim Margins/Trim To Selection. T7. TM mode persisted across app restarts (existing behavior). T8. TS mode forgotten across app restarts (as desired). T9. Exiting and reselectin "Trim To Selection" prompts for new bbox. T10. Choosing a small Trim bbox enforces minimium dimensions size (As percentag of total), as it does in TM mode, because of the "scale big and crop down" implementation, to avoid huge pixmaps. TS mode minimum set at 20% (vs. TM mode's 50%). REVIEW: 124716 BUGS: 351156
-
- 25 Aug, 2015 1 commit
-
-
Jan Kundrát authored
This was broken since commit 077689c4 when this got ported away from KAction. The code attempted to add a parent QMenu to the QAction instances nested below that parent. I'm quite surprised that it didn't crash, but checkable actions do not go well with actions that have nested menus, apparently. I haven't checked the rest of the code for similar mistakes, but I don't see any other case of this bug in Okular's menus when reading PDFs. REVIEW: 124842
-
- 20 Aug, 2015 1 commit
-
-
Tobias Koenig authored
That patch extracts the video file, which is defined in a rich media annotation as parameter for the flash player, and uses the normal multimedia player, to playback the video file. This feature requires poppler-qt5 in version 0.36. FEATURE: 326230 REVIEW: 124612
-
- 18 Aug, 2015 1 commit
-
-
Laurent Montel authored
-
- 20 Jul, 2015 1 commit
-
-
Saheb Preet Singh authored
-
- 21 May, 2015 1 commit
-
-
René J.V. Bertin authored
check against NULL consistently before calling aFitWindowToPage->setEnabled(). BUG: 348000 REVIEW: 123876
-
- 15 Apr, 2015 1 commit
-
-
Albert Astals Cid authored
Tell the document we're no longer an observer in the destructor BUGS: 346149 FIXED-IN: KDE Applications 15.04.1
-
- 17 Mar, 2015 1 commit
-
-
Laurent Montel authored
-
- 16 Mar, 2015 1 commit
-
-
Saheb Preet Singh authored
FIXED-IN: KDE Applications 15.08 BUGS: 326844 REVIEW: 115283
-
- 13 Mar, 2015 2 commits
-
-
Albert Astals Cid authored
-
Albert Astals Cid authored
-