https://bugs.kde.org/show_bug.cgi?id=474673

            Bug ID: 474673
           Summary: Pasting Transform Mask with shortcut crashes
    Classification: Applications
           Product: krita
           Version: 5.2.0-rc1
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Layer Stack
          Assignee: krita-bugs-n...@kde.org
          Reporter: penguinflyer2...@gmail.com
  Target Milestone: ---

SUMMARY
As reported on KA, using the keyboard shortcut to paste a Transform Mask
crashes Krita.
(Using the menu command works fine.)

This is a regression of caaa5bc5
(https://invent.kde.org/graphics/krita/-/commit/caaa5bc5645fc547dfa2e457808c3ab94918d55e).

STEPS TO REPRODUCE
1. Create a Transform Mask.
2. Copy it via shortcut or menu.
3. Use the keyboard shortcut to paste it (Ctrl+V).

OBSERVED RESULT
Instant crash.

EXPECTED RESULT
Pasted mask.

SOFTWARE/OS VERSIONS
Krita 5.2.0-rc1

ADDITIONAL INFORMATION
Backtrace snippet:
> 5   libkritaglobal.20.0.0.dylib              0x1014e9ee4 
> kis_assert_common(char const*, char const*, int, bool, bool) + 1376 
> (kis_assert.cpp:90)
> 6   libkritaui.20.0.0.dylib                  0x101b26e84 
> KisPasteActionFactory::run(bool, KisViewManager*)::$_0::operator()() const + 
> 68 (KisPasteActionFactories.cpp:226) [inlined]
> 7   libkritaui.20.0.0.dylib                  0x101b26e84 
> KisPasteActionFactory::run(bool, KisViewManager*) + 1144 
> (KisPasteActionFactories.cpp:221)
> 8   libkritaui.20.0.0.dylib                  0x101945044 
> KisSelectionManager::paste() + 44 (kis_selection_manager.cc:359)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to