Review Request 127410: Fix crash in rename dialog (KF 5.20)
David Faure
faure at kde.org
Sat Mar 19 11:21:25 UTC 2016
> On March 17, 2016, 12:29 p.m., Aleix Pol Gonzalez wrote:
> > Change looks good.
> >
> > Would it be possible to get a test?
>
> Emmanuel Pescosta wrote:
> > Would it be possible to get a test?
>
> autotest (is it allowed to show a dialog in KF autotests?) or more like kpropertiesdialogtest?
>
> David Faure wrote:
> Yes ideally this would be an autotest. We have autotests showing up dialogs already, no problem there. What's a bit tricky is the introspection to find the buttons and "click" them. Or just calling reject() would have done the job for this particular crash (after some event processing).
>
> Emmanuel Pescosta wrote:
> > We have autotests showing up dialogs already
>
> Ok great :)
>
> Is it ok for everyone when I push this fix now, so that downstream can apply it to their KF 5.20 release, and provide the test next week? I need to dive into the introspection stuff first, so this will need some time ;)
Yes (hence the Ship It). Thanks!
- David
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127410/#review93651
-----------------------------------------------------------
On March 17, 2016, 9:37 a.m., Emmanuel Pescosta wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127410/
> -----------------------------------------------------------
>
> (Updated March 17, 2016, 9:37 a.m.)
>
>
> Review request for KDE Frameworks, Andreas Sturmlechner and David Faure.
>
>
> Bugs: 360488
> https://bugs.kde.org/show_bug.cgi?id=360488
>
>
> Repository: kio
>
>
> Description
> -------
>
> Fix crash in rename dialog
>
> ResizePanels must only be called in case of overwrite, all other cases violate the preconditions.
>
> @Andreas: Can you please try the patch?
>
>
> Diffs
> -----
>
> src/widgets/renamedialog.cpp 2d456c7
>
> Diff: https://git.reviewboard.kde.org/r/127410/diff/
>
>
> Testing
> -------
>
> Yes, I tried it by overwriting a file with the same file and with a different file -> no crash :)
>
>
> Thanks,
>
> Emmanuel Pescosta
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160319/b3b1515f/attachment.html>
More information about the Kde-frameworks-devel
mailing list