[frameworks-kio] [Bug 442332] Dolphin crashes when undoing file copy

Méven Car bugzilla_noreply at kde.org
Sun Oct 3 07:27:06 BST 2021


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

Méven Car <meven29 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kwidgetsaddons/commi
                   |                            |t/99d8dca607327ebf0b6d2f3cf
                   |                            |f089207c61d7276
   Version Fixed In|                            |5.87

--- Comment #5 from Méven Car <meven29 at gmail.com> ---
Git commit 99d8dca607327ebf0b6d2f3cff089207c61d7276 by Méven Car, on behalf of
Ahmad Samir.
Committed on 03/10/2021 at 05:34.
Pushed by ahmadsamir into branch 'master'.

KMessageDialog: disconnect default buttonbox signals as we emit done() manually

QDialogButtonBox internally creates some default connections, e.g. connects
OK clicked() to accepted(); then we emit done(buttoncode), the resultant is
that one button press causes two clicked signals to get emitted; which leads
some interesting behavoiur, e.g. undo'ing a file copy in dolphin, invokes
the askuserdelete dialog, you click deleted and get a crash in KIO, since
the code tries to undo the copy twice...
FIXED-IN: 5.87

M  +6    -0    src/kmessagedialog.cpp

https://invent.kde.org/frameworks/kwidgetsaddons/commit/99d8dca607327ebf0b6d2f3cff089207c61d7276

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list