1. 30 Jul, 2019 8 commits
    • Sharaf Zaman's avatar
      5f2bbef2
    • Dmitry Kazakov's avatar
      Make sure that the tool action is deactivated/finished exactly for the canvas it was started · 2c074676
      Dmitry Kazakov authored
      When switching canvases (creating new ones), it might happen that the
      tool proxy will be switched right in the middle of the stroke. In
      such a case we should deactivate/finish the action of the *old* canvas,
      not the new one.
      
      BUG:398968
      2c074676
    • Dmitry Kazakov's avatar
      Remove KisTool::notifyMdified · d23d38ec
      Dmitry Kazakov authored
      It is not used anymore
      d23d38ec
    • Dmitry Kazakov's avatar
      Remove artifacts of blind find-replace of qDebug · 54e66ea4
      Dmitry Kazakov authored
      The info that is activated with a special compile-time switch must
      never be moved into categorized debug log. It just wastes developer's
      time.
      54e66ea4
    • Dmitry Kazakov's avatar
      Make shape painting tools unblocking (use strokes) · 008503fb
      Dmitry Kazakov authored
      Opening a waiting dialog may make the shortcuts matcher unhappy,
      so we should avoid that.
      
      CCBUG:409968,408826,409275
      008503fb
    • Dmitry Kazakov's avatar
      Make KisShortcutMatcher be more tolerant to recursive entering · b8870d02
      Dmitry Kazakov authored
      Some tools, e.g. text tool, may open a dialog right inside
      beginPrimaryAction() callback. It may make KisShortcutMatcher crazy,
      because all the modal dialogs have hey own event loop, therefore
      the state machine of the shortcuts matcher will be broken.
      
      This patch makes the matcher a bit more tolerant to such faults. It
      just manually checks if it is entered more that once, and resets the
      action in case a recursion is detected.
      
      BUG:409968
      CCBUG:408826,409275
      b8870d02
    • Dmitry Kazakov's avatar
      Make KisToolTransform fully asynchronous · eb17ce74
      Dmitry Kazakov authored
      Now all initialization of the transform tool has been moved into the
      stroke's context. It means that the tool doesn't need to block event
      loop until it image is finished anymore.
      
      The fix uses he new features of the strokes framework, specifically
      mutated stroke jobs.
      
      CCBUG:409275
      eb17ce74
    • Dmitry Kazakov's avatar
      Make Move Tool asynchronous · 21889437
      Dmitry Kazakov authored
      Calling blockUntilOperationsFinished() from tool event handler makes
      KisShortcutMatcher to be entered recursively. It basically breaks events
      flow and makes KisShortcutMatcher crazy.
      
      I tried to move blocking into the shortcuts matcher itself (so that
      it could treat recursive entrance correctly), but it doesn't handle
      special cases like KisToolTransform::activate(), which should also
      block (if we keep them blocking).
      
      CCBUG:409275
      21889437
  2. 29 Jul, 2019 18 commits
  3. 28 Jul, 2019 3 commits
  4. 25 Jul, 2019 1 commit
    • Emmet O'Neill's avatar
      [BUGFIX] Ctrl-Picker Opacity Quick-Fix · cfeaa316
      Emmet O'Neill authored
      Fixes a small bug with the ctrl-picker (kis_tool_paint) that allows for the active foreground color to be non-opaque.
      
      Not associated with an existing bug report.
      cfeaa316
  5. 23 Jul, 2019 1 commit
  6. 22 Jul, 2019 2 commits
  7. 21 Jul, 2019 1 commit
    • Agata Cacko's avatar
      Fix update brush size using shortcuts or drag · 711e962d
      Agata Cacko authored
      Before this commit, brush size slider wasn't updated.
      This patch fixes this behaviour.
      
      Looks like at the same time m_resources *doesn't* contain
      a specific key while m_updateMediators does and needs
      this connectResource thing.
      The key in question is 6007 with KisPaintOpPresetSP value,
      which means it's "CurrentPaintOpPreset".
      
      This probably needs some more investigation. This fix will hide
      the issue for users though. It is based on revert of the commit
      7c2fce1d.
      
      BUG:408331
      711e962d
  8. 20 Jul, 2019 1 commit
  9. 19 Jul, 2019 5 commits