1. 15 Jan, 2020 1 commit
    • Kai Uwe Broulik's avatar
      Port SearchLineWidget to use KBusyIndicatorWidget · 643a0804
      Kai Uwe Broulik authored
      It's a lot nicer than manually painting a KPixmapSequence and supports high dpi out of the box.
      
      The new code requires Frameworks >= 5.61, it is therefore only enabled
      if at least that Frameworks version is available.
      643a0804
  2. 11 Jan, 2020 1 commit
  3. 07 Jan, 2020 1 commit
    • Albert Astals Cid's avatar
      "Fix" PartTest::testAdditionalActionTriggers · 45303be6
      Albert Astals Cid authored
      By waiting for the delayResizeEventTimer to trigger before starting the
      test.
      
      The test "randomly" failed before, which shows there's an actual bug in
      the code, but the actual bug is "if you are moving the mouse over a
      field that has a on focus action and at that very same time the
      delayResizeEventTimer triggers, the action won't be executed".
      
      That's almost impossible to reproduce in real life so i'm going to
      pretend the bug is not there for all purposes
      45303be6
  4. 28 Dec, 2019 1 commit
  5. 24 Dec, 2019 1 commit
  6. 23 Dec, 2019 2 commits
  7. 20 Dec, 2019 2 commits
  8. 18 Dec, 2019 1 commit
    • Albert Astals Cid's avatar
      CI: enable more modernize checks · 78cf6bd9
      Albert Astals Cid authored
      Since unfortunately some of the autogenerated includes don't pass the
      checks we do a trick of building out of source and then specifying the
      .*/okular/.* path as the only includes we care about
      78cf6bd9
  9. 14 Dec, 2019 1 commit
    • Aleix Pol Gonzalez's avatar
      mobile: Improve TOC · 066f50ad
      Aleix Pol Gonzalez authored
      Leverage Kirigami.ScrollablePage.
      Use Kirigami.BasicListItem instead of custom components.
      Clean up the animation when filtering
      066f50ad
  10. 09 Dec, 2019 1 commit
  11. 01 Dec, 2019 1 commit
    • Tobias Deiminger's avatar
      Fix spurious dialogs in PickPointEngine · 00640370
      Tobias Deiminger authored
      In the case of multiple input events, the local event loop of
      QInputDialog was processing pending events before m_creationCompleted
      could be cleared. This allowed recursive calls to PickPointEngine::end,
      even on wrong events (e.g. MouseMove shouldn't cause end(), but it did).
      
      BUG: 409638
      BUG: 413990
      00640370
  12. 30 Nov, 2019 1 commit
  13. 26 Nov, 2019 1 commit
  14. 15 Nov, 2019 1 commit
    • kezi olio's avatar
      Add kinetic scrolling & smooth navigation with cursor keys · 51b90ecd
      kezi olio authored
      This patch adds kinetic / inertial scrolling to ease the use of Okular on touchscreen devices, using Qt's QScroller. I think it's much nicer even for mouse usage.
      
      I left the "mouse cursor wraps when going at the edge of the screen" mechanism intact.
      
      Also, I made it so that there is a nice animation when using the up / down keys to navigate the document, instead of having discrete steps.
      
      FEATURE: 413989
      
      FIXED-IN: 1.10.0
      51b90ecd
  15. 02 Nov, 2019 1 commit
  16. 09 Oct, 2019 4 commits
  17. 08 Oct, 2019 1 commit
  18. 05 Oct, 2019 1 commit
  19. 02 Oct, 2019 3 commits
    • Oliver Sander's avatar
      Fix return value of PageView::capabilityFlags · 8839ea10
      Oliver Sander authored
      The return type of that method is Okular::View::CapabilityFlags.
      Hence, returning 'nullptr' as was done previously cannot be correct,
      and 'NoFlag' should be used instead.  As both evaluate to '0'
      internally there should not be any functional difference.
      8839ea10
    • Oliver Sander's avatar
      Simplify a loop · 425a6aa4
      Oliver Sander authored
      425a6aa4
    • Felix Mauch's avatar
      Save view information per file · bd25d17e
      Felix Mauch authored
      Adds the functionality to save the view mode (single page, facing...),
      continuous scrolling, and margin trimming  to the document information,
      as it is already done with the zoom information.
      bd25d17e
  20. 22 Sep, 2019 1 commit
  21. 21 Sep, 2019 1 commit
  22. 18 Sep, 2019 3 commits
  23. 22 Aug, 2019 2 commits
  24. 11 Aug, 2019 4 commits
  25. 10 Aug, 2019 1 commit
  26. 07 Aug, 2019 1 commit
    • Andrey Yashkin's avatar
      Fix an incorrect text bounding rectangle calculation inside the sidebar · 5099b615
      Andrey Yashkin authored
      Summary:
      Now //fontBoundaries// always has smaller width than //boundingRect// from
      ```
      void QPainter::drawText(const QRect &rectangle, int flags, const QString &text, QRect *boundingRect = nullptr)
      ```
      which is required to enclose the whole text. The difference is only several pixels, but sometimes it can cause visual problems. You can see the sidebar without and with this patch in Russian language with Noto Sans 10pt font on a picture below.
      {F7177644}
      Now the first and the last symbols are fully visible.
      
      Reviewers: #okular
      
      Subscribers: okular-devel
      
      Tags: #okular
      
      Differential Revision: https://phabricator.kde.org/D23012
      5099b615
  27. 01 Aug, 2019 1 commit