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

            Bug ID: 484531
           Summary: plasmashell sometimes crashes when pasting image from
                    clipboard
    Classification: Plasma
           Product: plasmashell
           Version: 6.0.2
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: generic-crash
          Assignee: plasma-b...@kde.org
          Reporter: deresi...@protonmail.ch
  Target Milestone: 1.0

Application: plasmashell (6.0.2)

Qt Version: 6.7.0
Frameworks Version: 6.0.0
Operating System: Linux 6.8.0-273-tkg-bore x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.0.2 [CoredumpBackend]

-- Information about the crash:
This happens specifically when I use my custom keyboard shortcut for copying a
screen region to clipboard using spectacle.
I have a shortcut which runs the below script
#!/usr/bin/sh
exec /usr/bin/spectacle -e -b -r -n -c

Upon copying, it is fine. But when I paste it to another application (I've only
tried the chat application Discord), most of the time, plasmashell crashes and
the image does not paste.

Using the default keybind for "Capture Rectangular Region" works seems to work
fine, I haven't had any issues with it, but this option also saves the image to
disk which I don't want.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  QMimeData::hasText (this=this@entry=0x7a1e840b3f30) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-rc/src/corelib/tools/qarraydatapointer.h:439
#6  0x00007a1e4ae6c603 in Klipper::checkClipData (this=0x7a1d4401e230,
selectionMode=<optimized out>) at
/usr/src/debug/plasma-workspace/plasma-workspace-6.0.2/klipper/klipper.cpp:784
#7  0x00007a1e90597529 in QtPrivate::QSlotObjectBase::call (a=0x7fff9ebfb900,
r=0x7a1d4401e230, this=0x59b62a9ea420, this=<optimized out>, r=<optimized out>,
a=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-rc/src/corelib/kernel/qobjectdefs_impl.h:469
#8  doActivate<false> (sender=0x59b62a9e7a20, signal_index=3,
argv=0x7fff9ebfb900) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0-rc/src/corelib/kernel/qobject.cpp:4078
#9  0x00007a1e8fc80803 in KSystemClipboard::changed (this=<optimized out>,
_t1=<optimized out>) at
/usr/src/debug/kguiaddons/build/src/KF6GuiAddons_autogen/include/moc_ksystemclipboard.cpp:169


Reported using DrKonqi

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

Reply via email to