1. 20 Mar, 2021 1 commit
  2. 19 Mar, 2021 1 commit
    • Oliver Sander's avatar
      Use device pixel ratio for the correct screen · 7ffd08aa
      Oliver Sander authored
      The method qApp->devicePixelRatio() should only be used under
      special circumstances.  The documentation of QGuiApplication says:
      
        "Returns the highest screen device pixel ratio found on the system.
         [...] Use this function only when you don't know which window
         you are targeting. If you do know the target window,
         use QWindow::devicePixelRatio() instead."
      
      The Okular code used qApp->devicePixelRatio() a few times without
      reason.  Few people noticed this, because apparently only Windows
      and Wayland can set per-screen dprs.  This patch replaces those
      calls with the correct QWindow call.
      7ffd08aa
  3. 17 Mar, 2021 4 commits
    • Nate Graham's avatar
      Merge branch 'release/21.04' · c07944e6
      Nate Graham authored
      c07944e6
    • Nate Graham's avatar
      Fix multi-document open test failure · 157377b0
      Nate Graham authored
      Fixes the test failure introduced with
      d0b9b138.
      157377b0
    • Nate Graham's avatar
      Merge branch 'release/21.04' · 6552d8c9
      Nate Graham authored
      6552d8c9
    • Nate Graham's avatar
      Switch to existing document in new tab by default · d0b9b138
      Nate Graham authored
      Right now Okular defaults to opening an already-open document in a new
      tab when opened a second time, which is a bit odd. Most other
      document-based apps will switch to the existing document's instance
      instead of opening a new instance of it.
      
      Interestingly enough, Okular has an option to do this, but it's off by
      default. I think on by default makes more sense here, to be consistent
      with other document-based apps. Since the option exists, people who have
      a specialized use case that commonly involves opening multiple instances
      of the same document can toggle the option to have that. Everyone wins!
      
      BUG: 432942
      FIXED-IN: 21.04
      d0b9b138
  4. 13 Mar, 2021 2 commits
  5. 11 Mar, 2021 1 commit
  6. 10 Mar, 2021 1 commit
  7. 09 Mar, 2021 3 commits
  8. 07 Mar, 2021 1 commit
    • Oliver Sander's avatar
      Remove device pixel ratio scaling from PixmapRequest · ccda6d2a
      Oliver Sander authored and Albert Astals Cid's avatar Albert Astals Cid committed
      The PixmapRequest constructor expected width and height in logical
      pixels, and scaled them to device pixels.  However, not knowing what
      screen the request is for, it had to use qApp->devicePixelRatio()
      for the scaling.  That value may not be correct if not all screens
      use the same scaling.
      
      Fix this by introducing a new constructor that takes the device
      pixel ratio as an additional argument, and deprecating the old
      constructor.
      ccda6d2a
  9. 28 Feb, 2021 2 commits
  10. 25 Feb, 2021 1 commit
  11. 24 Feb, 2021 4 commits
  12. 17 Feb, 2021 1 commit
    • Albert Astals Cid's avatar
      Remove obsolete AUTHORS file · 22d244ab
      Albert Astals Cid authored
      It's already bad enough that the copyright claims and the about dialog
      has obsolete info, we don't need yet another place where there's
      obsolete info.
      
      People interested in AUTHORS can read the git log
      22d244ab
  13. 09 Feb, 2021 1 commit
  14. 04 Feb, 2021 1 commit
  15. 03 Feb, 2021 1 commit
  16. 01 Feb, 2021 1 commit
  17. 31 Jan, 2021 1 commit
  18. 30 Jan, 2021 2 commits
  19. 29 Jan, 2021 4 commits
  20. 24 Jan, 2021 5 commits
  21. 17 Jan, 2021 1 commit
  22. 16 Jan, 2021 1 commit