Re: Review Request 127410: Fix crash in rename dialog (KF 5.20)
> On March 17, 2016, 1:29 p.m., Aleix Pol Gonzalez wrote: > > Change looks good. > > > > Would it be possible to get a test? > Would it be possible to get a test? autotest (is it allowed to show a dialog in KF autotests?) or more like kpropertiesdialogtest? - Emmanuel --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/127410/#review93651 --- On March 17, 2016, 10: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, 10: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 > > ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: Review Request 127410: Fix crash in rename dialog (KF 5.20)
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/127410/#review93640 --- works for me, thanks! - Andreas Sturmlechner 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 > > ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: Review Request 127410: Fix crash in rename dialog (KF 5.20)
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/127410/#review93651 --- Change looks good. Would it be possible to get a test? - Aleix Pol Gonzalez On March 17, 2016, 10: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, 10: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 > > ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: Review Request 127410: Fix crash in rename dialog (KF 5.20)
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/127410/ --- (Updated March 19, 2016, 11:23 a.m.) Status -- This change has been marked as submitted. Review request for KDE Frameworks, Andreas Sturmlechner and David Faure. Changes --- Submitted with commit bf37e9aa27a2321f4a6ce7188a0901fabd47c962 by Emmanuel Pescosta to branch master. 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 ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: Review Request 127410: Fix crash in rename dialog (KF 5.20)
> 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 > > ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: Review Request 127410: Fix crash in rename dialog (KF 5.20)
> On March 17, 2016, 1: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). > 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 ;) - Emmanuel --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/127410/#review93651 --- On March 17, 2016, 10: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, 10: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 > > ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: Review Request 127410: Fix crash in rename dialog (KF 5.20)
> 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? 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). - 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 > > ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: Review Request 127410: Fix crash in rename dialog (KF 5.20)
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/127410/#review93710 --- Ship it! Oops, thanks for the fix. - David Faure 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 > > ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Review Request 127410: Fix crash in rename dialog (KF 5.20)
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/127410/ --- 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 ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel