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

Bourumir Wyngs <bourumir.wy...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bourumir.wy...@gmail.com

--- Comment #4 from Bourumir Wyngs <bourumir.wy...@gmail.com> ---
This is a feature, not a bug. In KisDlgAnimationRenderer::defaultVideoFileName
we see:

videoFileName =
           
QString("%1%2%3.%4").arg(path).arg('/').arg(baseName).arg(KisMimeDatabase::suffixesForMimeType(
mimeType == "image/apng" ? "image/png":mimeType ).first());

Please confirm it is OK to remove the "feature", it is not a big work for us to
do this. If I just remove this override, KisMimeDatabase database suggests
.apng for image/apng and the file name is suggested as expected.

Also, calling first() on empty list may result the undefined behavior. We
should probably have a check there.

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

Reply via email to