https://redmine.stoutner.com/https://redmine.stoutner.com/favicon.ico?16699090422019-03-04T17:00:35ZStoutner - RedminePrivacy Browser Android - Feature #395: A bookmark makes the app crashhttps://redmine.stoutner.com/issues/395?journal_id=10892019-03-04T17:00:35ZSoren Stoutnersoren@stoutner.com
<ul><li><strong>Assignee</strong> set to <i>Soren Stoutner</i></li><li><strong>Priority</strong> changed from <i>3.x</i> to <i>Critical Bug</i></li></ul> Privacy Browser Android - Feature #395: A bookmark makes the app crashhttps://redmine.stoutner.com/issues/395?journal_id=10902019-03-04T17:13:30ZSoren Stoutnersoren@stoutner.com
<ul></ul><p>The problem is caused because the favicon for this site is a 188 KB JPEG, which is converted into a 1.9 MB PNG when entering the database. It can go into the database, but it can't fit in the cursor coming out of the database (which has a 2 MB limit by default).</p>
<p><a class="external" href="http://img.over-blog-kiwi.com/1/02/97/00/20150325/ob_424e88_3043265.JPG">http://img.over-blog-kiwi.com/1/02/97/00/20150325/ob_424e88_3043265.JPG</a></p>
<p>The 2MB cursor window size can be increased beginning in API 28. <a class="external" href="https://developer.android.com/reference/android/database/CursorWindow.html#CursorWindow(java.lang.String,%20long)">https://developer.android.com/reference/android/database/CursorWindow.html#CursorWindow(java.lang.String,%20long)</a></p> Privacy Browser Android - Feature #395: A bookmark makes the app crashhttps://redmine.stoutner.com/issues/395?journal_id=10912019-03-04T19:25:39ZSoren Stoutnersoren@stoutner.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>Fixed in commit <a class="external" href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=55169899d6454cd57e40d32a792735df51caee85">https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=55169899d6454cd57e40d32a792735df51caee85</a>, which will be included in the upcoming 2.17.1 release.</p> Privacy Browser Android - Feature #395: A bookmark makes the app crashhttps://redmine.stoutner.com/issues/395?journal_id=10922019-03-04T19:29:29ZSoren Stoutnersoren@stoutner.com
<ul></ul><p>Note that this release will scale down favorite icons for new bookmarks, but it will not fix existing bookmarks with images that are too large. If you have a recent backup you can go back to that. Or you can delete the folder with the bad bookmark and recreate it. JB, if that would cause too many problems for you, please email me directly at <a class="email" href="mailto:soren@stoutner.com">soren@stoutner.com</a> and I can look at doing something custom for you to delete just this problematic bookmark without causing your other settings to be lost.</p>