| Summary: | Crash when transferring big size images from my computer to my phone using KDE Connect | ||
|---|---|---|---|
| Product: | [Applications] kdeconnect | Reporter: | Віталій <vitalijrabicev> |
| Component: | android-application | Assignee: | Erik Duisters <e.duisters1> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | e.duisters1 |
| Priority: | NOR | ||
| Version First Reported In: | 1.8 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kdeconnect-android/1fa8f3c99d33150d4ee8bdda427a373822231149 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Віталій
2018-08-16 06:16:29 UTC
Git commit 1fa8f3c99d33150d4ee8bdda427a373822231149 by Albert Vaca, on behalf of Erik Duisters. Committed on 07/11/2018 at 16:53. Pushed by albertvaka into branch 'master'. Load image with resampling to prevent OOM Summary: When loading large images you can run into an OOM situation crashing the app and leaving the progress notification displayed indefinitely Test Plan: Before applying the patch find a phone where the app crashes when you send a very large image to it (my 6.0.1 phone did not even crash when i send it a 85MB image but my 4.0.4 phone already crashes on a 7MB image) Apply patch install and send image again Reviewers: #kde_connect, albertvaka Reviewed By: #kde_connect, albertvaka Subscribers: albertvaka, kdeconnect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D16712 M +33 -3 src/org/kde/kdeconnect/Plugins/SharePlugin/ShareNotification.java https://commits.kde.org/kdeconnect-android/1fa8f3c99d33150d4ee8bdda427a373822231149 |