SUMMARY In 5.0.0 39f51c6, usage log and system information for bug reports cannot be saved. STEPS TO REPRODUCE 1. Open Help -> Show system information for bug reports, or Show Krita Log for bug reports 2. Click 'Save to file' 3. Select a directory to save to OBSERVED RESULT The operation fails silently. There is a file in the target directory with size of 0B. EXPECTED RESULT The log file is saved.
Git commit 2126ed008d2664d86ba55ee4fba866580c850312 by Sharaf Zaman. Committed on 28/09/2020 at 06:39. Pushed by dkazakov into branch 'krita/4.3'. Bugfix: usage logging could not be saved to a file on Android When we use native dialog and create a file, Android immediately creates the file albeit being zero bytes. So, when writing QFile::copy first checks if the file exists or not, which it does, therefore failing silently. M +13 -12 plugins/extensions/buginfo/dlg_buginfo.cpp https://invent.kde.org/graphics/krita/commit/2126ed008d2664d86ba55ee4fba866580c850312
Git commit a9b045c28c47b3207da604839a0ff6f091197561 by Dmitry Kazakov, on behalf of Sharaf Zaman. Committed on 28/09/2020 at 07:29. Pushed by dkazakov into branch 'master'. Bugfix: usage logging could not be saved to a file on Android When we use native dialog and create a file, Android immediately creates the file albeit being zero bytes. So, when writing QFile::copy first checks if the file exists or not, which it does, therefore failing silently. M +13 -12 plugins/extensions/buginfo/dlg_buginfo.cpp https://invent.kde.org/graphics/krita/commit/a9b045c28c47b3207da604839a0ff6f091197561
Git commit 34a04383b61dc9a218bc2ab050e2fefd492b336e by Dmitry Kazakov, on behalf of Sharaf Zaman. Committed on 28/09/2020 at 07:34. Pushed by dkazakov into branch 'krita/4.4.0'. Bugfix: usage logging could not be saved to a file on Android When we use native dialog and create a file, Android immediately creates the file albeit being zero bytes. So, when writing QFile::copy first checks if the file exists or not, which it does, therefore failing silently. M +13 -12 plugins/extensions/buginfo/dlg_buginfo.cpp https://invent.kde.org/graphics/krita/commit/34a04383b61dc9a218bc2ab050e2fefd492b336e