1. 12 Aug, 2019 1 commit
  2. 29 Jul, 2019 1 commit
    • Anna Medonosová's avatar
      Disallow closing Krita while it initiates saving · b9671ace
      Anna Medonosová authored
      Do not close Krita while KisMainWindow has the savingEntryMutex locked
      (while the background saving process is being initiated). After the
      background saving job is initiated, KisDocument blocks closing while it
      saves itself.
      CCBUG: 409395
  3. 13 Jul, 2019 1 commit
    • Boudewijn Rempt's avatar
      Use QFileInfo::completeBaseName instead of baseName · 14adaa3b
      Boudewijn Rempt authored
      This makes it possible for users to use dots in their filenames.
      Not that that is a good idea, everything after the first dot is
      technically an extensions, as in bla.tar.gz, but Krita doesn't
      handle any file formats where that actually happens, so we can
      be a bit less technically correct when handling filenames and
      only check the extension after the last dot.
  4. 10 Jul, 2019 1 commit
  5. 14 Jun, 2019 1 commit
  6. 17 May, 2019 3 commits
    • Agata Cacko's avatar
      Fix saving to readonly location · aab493c1
      Agata Cacko authored
      This commit contains fixes that ensures that whatever the format
      the user is saving into, if the location they want to save to
      is readonly, the user will see an appropriate error message.
    • Agata Cacko's avatar
      Unify error codes engaged in import/export · e518e102
      Agata Cacko authored
      Before this patch, there were two layers of error codes:
      KisImageBuilder_Result in KisImageBuilderResult.h
      later converted into ConversionStatus in KisImportExportFilter.h
      In case of usage of libraw, there were also libraw error codes.
      After this patch, only one error code system and error messages system
      is implemented. Error codes should match the previous ones,
      but are not necessarily correct now.
    • Ivan Yossi's avatar
      Update Menu after changing krita settings. · 6f2f0e77
      Ivan Yossi authored
  7. 13 May, 2019 1 commit
    • Dmitry Kazakov's avatar
      Fix updating memory report when closing "other" tab · 847c1b2a
      Dmitry Kazakov authored
      When a view is closed, we should ensure status bar doesn't have
      a link to it. That is okay, but we shouldn't do it manually.
      Keeping status bar's links is done by KisViewManager, so let just
      him do his work.
  8. 10 May, 2019 2 commits
  9. 07 May, 2019 1 commit
  10. 03 May, 2019 3 commits
    • Boudewijn Rempt's avatar
      debug-- · 8b8218cf
      Boudewijn Rempt authored
    • Boudewijn Rempt's avatar
      Fix the drifting of the MDI area background color · 0174960d
      Boudewijn Rempt authored
      All the conversions between QColor and KoColor were giving us all
      kinds of rounding errors. Now we use KoColor throughout. A bit
      overkill for a gui element, but that's what the color selector
      gives us.
    • Boudewijn Rempt's avatar
      Fix handling of modified markers in subwindow mode · ff8fc2c2
      Boudewijn Rempt authored
      The * marker for modified documents disappeared because subwindows
      weren't set using kmainwindow's setCaption method that added the [*]
      Now those methods are gone, and we set the placeholder in
      KisMainWindow's updateCaption method.
  11. 19 Apr, 2019 1 commit
  12. 18 Apr, 2019 1 commit
    • Alvin Wong's avatar
      Fix fullscreen mode on Windows with OpenGL · e83e8779
      Alvin Wong authored
      A previous attempt was made in D1977 [1] but it didn't work properly.
      The patch `0003-Hack-for-fullscreen-workaround.patch` only partly hid
      the issue and the issue has resurfaced since this patch was removed.
      This commit actually enables Qt's workaround with an additional patch
      from Qt 5.13 [2]. The workaround adds a 1px border around the window. An
      additional hack is added to hide three of the borders, though we can't
      hide all four borders since the bug will return. This currently leaves
      the bottom border visible as a compromise.
      This workaround is not active when ANGLE is being used. If anyone is
      annoyed by the 1px border, they may consider switching to ANGLE.
      [1]: https://phabricator.kde.org/D1977
      [2]: https://codereview.qt-project.org/246155
      Differential Revision: https://phabricator.kde.org/D20657
  13. 09 Apr, 2019 2 commits
  14. 03 Apr, 2019 1 commit
  15. 02 Apr, 2019 1 commit
    • Alvin Wong's avatar
      Fix wrong DPI when moving window across screens · eff0c701
      Alvin Wong authored
      This fixes a bug causing the wrong DPI being used when moving the window
      from a screen to another screen to the left. Using the top-left position
      of the window to determine screen changes doesn't work well since the
      device pixel ratio of a window does not change until the window is
      roughly halfway across.
      Maniphest Tasks: T2299
      Differential Revision: https://phabricator.kde.org/D20171
  16. 01 Mar, 2019 1 commit
  17. 06 Jan, 2019 1 commit
  18. 01 Dec, 2018 1 commit
  19. 29 Nov, 2018 1 commit
    • Boudewijn Rempt's avatar
      add a createActions method to KoToolFactoryBase · 5f91230f
      Boudewijn Rempt authored
      Actions created by a tool instance only exist if there's an open
      document, which means they cannot be configured or placed in
      toolbars. We should only have per-window actions, not per-action
      Creating the actions in the toolfactory instead of the tool when
      the window is created fixes that: now the tools will retrieve
      the actions from the global action collection on activations
      and de-activation, like the freehand tool already did for increase
      and decrease brush size.
      Note: this commit breaks the following tools because it's not
      worth porting hidden tools in any case:
      * artistic text tool
      * odf text tool
      * connection tool
  20. 01 Nov, 2018 1 commit
  21. 31 Oct, 2018 1 commit
  22. 30 Oct, 2018 1 commit
    • Boudewijn Rempt's avatar
      Bring back the ALPHA, BETA, RC warnings · 4d2482cb
      Boudewijn Rempt authored
      And show the actual version for non-stable builds in the caption.
      And remove the Modified string: if the document is modified, that
      is already shown with the standard * marker, which we cannot
  23. 21 Oct, 2018 2 commits
  24. 15 Oct, 2018 1 commit
  25. 14 Oct, 2018 1 commit
  26. 12 Oct, 2018 2 commits
  27. 10 Oct, 2018 4 commits
  28. 07 Oct, 2018 2 commits
    • Dmitry Kazakov's avatar
      Fix canvas scale in HiDPI mode · 9d95d8d5
      Dmitry Kazakov authored
      Qt has a bit complicated way to deal with openGL widget
      in scaled HiDPI mode. The openGL widget's framebuffer is
      stored in hardware pixels (physical coordinates), but before
      calling paintGL, Qt sets manual scaling with glOrtho that
      makes this FBO look as if it is stored in logical pixels.
      This patch basically takes it into account by setting
      a correct physical resolution in
      KisZoomManager::updateScreenResolution(). It has one non-
      trivial consequence. Now, when setting zoom to 100% and
      having pixel aspect mode activated, Flake coordinate system
      does **not** have 100% zoom, because it is measured in
      logical coordinates, but not in physical ones, which are
      Fixes T2299
    • Yuri Chornoivan's avatar
      Fix minor EBN issues · 81a9b0b3
      Yuri Chornoivan authored