uazo / cromite

Cromite a Bromite fork with ad blocking and privacy enhancements; take back your browser!
https://www.cromite.org/
GNU General Public License v3.0
3.57k stars 86 forks source link

Android: Failed to import 600 KB bookmark export #1605

Closed iyesin closed 1 week ago

iyesin commented 4 weeks ago

Preliminary checklist

Can the bug be reproduced with corresponding Chromium version?

Yes

Are you sure?

Yes

Cromite version

130.0.6723.67 (Official Build) (64-bit)

Device architecture

arm64-v8a

Platform version

Android 12.1

Android Device model

Motorola edge 20 pro (Lineage 12)

Is the device rooted?

Yes

Changed flags

no flags changed

Is this bug happening ONLY in an incognito tab?

No

Is this bug caused by the adblocker?

No

Is this bug a crash?

No

Describe the bug

I have a (kinda) big bookmarks.html export - 620 KiB. It is from the past Bromite installation. When I'm attempting to import this file to bookmarks in Cromite, it fails to do that with a toast message, saying

Unable to complete previous operation due to low memory

I believe, my 12GB RAM device have enough RAM to parse 620 KiB of simple HTML file.

Steps to reproduce the bug

  1. Download attached bookmarks.zip file, unzip it and upload it on your phone.
  2. Open bookmarks tab (chrome-native://bookmarks/folder/0).
  3. On the right from the title Bookmarks tap '⋮' and select Import.
  4. Select uploaded bookmarks.html.

bookmarks.zip

Expected behavior

All bookmarks successfully imported.

Screenshots

Details

![Screenshot_20241022-210359_Cromite_1](https://github.com/user-attachments/assets/a7981856-4237-417b-984f-86474e2e61ad)

uazo commented 4 weeks ago

Could you create a test file?

iyesin commented 4 weeks ago

Hey, @uazo !

Sorry. Initial submission was kinda broken. Here it is.

bookmarks.zip

uazo commented 4 weeks ago

not reproducible:

image

iyesin commented 3 weeks ago

I don't get it. It is reproducible on my phone with 100% of cases. Actually this prevents me from importing my bookmarks back. I tried deleting the app and installing it back from F-Droid. No luck there, same result.

GitAlasGo commented 3 weeks ago

I was not able to reproduce it.

GitAlasGo commented 3 weeks ago

I was able to reproduce these.

https://imgur.com/a/YxFoITE

https://imgur.com/a/BACr2YL


Maybe i will try to reproduce yours later.

uazo commented 3 weeks ago

tried with the device most similar to yours on browserstack:

Details

![image](https://github.com/user-attachments/assets/6a0d3dd6-c29d-4326-9fc6-0561bf55d5e6)

github-actions[bot] commented 2 weeks ago

This issue has been automatically marked as stale as there has been no recent activity in response to our request for more information. Please respond so that we can proceed with this issue.

github-actions[bot] commented 1 week ago

This issue has been automatically closed as sufficient information hasn't been provided on the issue for further actions to be taken. Feel free to add more information.