[Tokodon] [Bug 496010] Saved images on Android are zero bytes

Joshua Goins bugzilla_noreply at kde.org
Sun Nov 10 20:24:59 GMT 2024


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

Joshua Goins <josh at redstrate.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/netw |https://invent.kde.org/netw
                   |ork/tokodon/-/commit/81ff09 |ork/tokodon/-/commit/2f278e
                   |be60b2e81f4c01db93364fe4f09 |970dcc107cfa8b61fdc13377651
                   |b03ed25                     |146314b

--- Comment #2 from Joshua Goins <josh at redstrate.com> ---
Git commit 2f278e970dcc107cfa8b61fdc13377651146314b by Joshua Goins.
Committed on 10/11/2024 at 20:24.
Pushed by redstrate into branch 'release/24.12'.

Fix files not saving on Android

It turns out to be two little nagging bugs. First, we are checking if
the temporary file is readable on Android (it never is) and fails.
Secondly, we need to not convert the content:// URI to a local file URI
since that fails. Finally, we need to enable direct write fallback for
QSaveFile because yet again, we cannot write anywhere else in the
directory on Android.
(cherry picked from commit 81ff09be60b2e81f4c01db93364fe4f09b03ed25)

M  +7    -2    src/utils/filehelper.cpp
M  +1    -1    src/utils/filehelper.h
M  +6    -2    src/utils/filetransferjob.cpp

https://invent.kde.org/network/tokodon/-/commit/2f278e970dcc107cfa8b61fdc13377651146314b

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list