null2264 / yokai

Free and open source manga reader for Android
Apache License 2.0
370 stars 7 forks source link

Problem with reading #25

Closed MenkOrd closed 4 months ago

MenkOrd commented 4 months ago

Steps to reproduce

Nothing, I just updated the app

Expected behavior

Can read as usual

Actual behavior

When I open a chapter, the pages are black, there are no connection errors, and I can download the page as an image and see it in my phone gallery perfect. It happens with downloaded chapters and not downloaded ones

Crash logs

App version: 1.7.13 (standard, 471497001, 122, 2024-02-09T11:06Z) Android version: 13 (SDK 33) Android build ID: DN2103_11_F.50 Device brand: OnePlus Device manufacturer: OnePlus Device name: OP515BL1 Device model: DN2103 Device product name: DN2103EEA

Extensions that are outdated, obsolete, or unofficial Extension Name: Manhwa18.org Installed Version: 1.4.34 Available Version: 1.4.35 Obsolete: false

Extension Name: Pornwha Installed Version: 1.4.33 Available Version: 1.4.34 Obsolete: false

Extension Name: Pururin Installed Version: 1.4.6 Available Version: N/A Obsolete: true

Extension Name: Manhwahentai.me Installed Version: 1.4.35 Available Version: 1.4.36 Obsolete: false

Extension Name: MangaMiso Installed Version: 1.4.4 Available Version: N/A Obsolete: true

Extension Name: ManhuaDex Installed Version: 1.4.32 Available Version: 1.4.33 Obsolete: false

--------- beginning of main 02-09 16:04:08.423 15123 15123 E IPCThreadState: attemptIncStrongHandle(91): Not supported 02-09 16:04:08.423 15123 15123 E IPCThreadState: attemptIncStrongHandle(76): Not supported 02-09 16:04:13.793 15123 15123 E IPCThreadState: attemptIncStrongHandle(67): Not supported 02-09 16:04:15.083 15123 15123 E IPCThreadState: attemptIncStrongHandle(92): Not supported 02-09 16:04:26.624 15123 15123 E IPCThreadState: attemptIncStrongHandle(93): Not supported 02-09 16:04:26.624 15123 15123 E IPCThreadState: attemptIncStrongHandle(86): Not supported

Yōkai version

1.7.13

Android version

Android 13

Device

Onep

Other details

No response

Acknowledgements

Th3N3rdyGam3r commented 4 months ago

I'm facing the same issue. Android 11, OnePlus 7T Crash logs: https://pastebin.com/s0RQB4sF

vorteex commented 4 months ago

same problem. changing reading mode to LONG STRIP works.

null2264 commented 4 months ago

Well that's annoying, I couldn't replicate it, might be a OnePlus thing?

RahmanRagib commented 4 months ago

Well that's annoying, I couldn't replicate it, might be a OnePlus thing?

No it's happening in my realme too

vorteex commented 4 months ago

i have it on Samsung.

null2264 commented 4 months ago

Can you try this for me? Go to settings, reader, find section "Paged", find Cutout behavior, set it to Ignore.

MenkOrd commented 4 months ago

Can you try this for me? Go to settings, reader, find section "Paged", find Cutout behavior, set it to Ignore.

Didn't work. Still black pages

vorteex commented 4 months ago

I think I found the issue. when you uncheck the "Show content in cutout area" setting and check and uncheck "Crop borders" everything works fine.

On Sat, Feb 10, 2024, 11:13 MenkOrd @.***> wrote:

Can you try this for me? Go to settings, reader, find section "Paged", find Cutout behavior, set it to Ignore.

Didn't work. Still black pages

— Reply to this email directly, view it on GitHub https://github.com/null2264/yokai/issues/25#issuecomment-1936962201, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMOFEH2TJSLLU4THH34ZTLYS5B35AVCNFSM6AAAAABDBTT5TKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWHE3DEMRQGE . You are receiving this because you commented.Message ID: @.***>

MenkOrd commented 4 months ago

I tried again, and it works. Finally, thanks

KW1J commented 4 months ago

I think I found the issue. when you uncheck the "Show content in cutout area" setting and check and uncheck "Crop borders" everything works fine.

man you are the best 👍

MrDfour commented 4 months ago

I think I found the issue. when you uncheck the "Show content in cutout area" setting and check and uncheck "Crop borders" everything works fine. On Sat, Feb 10, 2024, 11:13 MenkOrd @.> wrote: Can you try this for me? Go to settings, reader, find section "Paged", find Cutout behavior, set it to Ignore. Didn't work. Still black pages — Reply to this email directly, view it on GitHub <#25 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMOFEH2TJSLLU4THH34ZTLYS5B35AVCNFSM6AAAAABDBTT5TKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWHE3DEMRQGE . You are receiving this because you commented.Message ID: @.>

Came to repot that this worked indeed, Poco X3 Pro. It seems to be a problem with how the image renders with the cutout option since I was able to open the cbz manually with other viewer and also able to see the Manga in another fork. Reactivating the show content in cutout area option makes the image black again and just deactivating it solves the issue

MrDfour commented 4 months ago

I did a bit more testing. Using landscape mode shows the Manga with no issues having the cutout option activated unless the "cutout area behavior" for landscape is set to "ignore cutout areas" . Then it just shows black image like portrait mode

null2264 commented 4 months ago

Thanks for effort everyone, it helps narrow things down, I'll look into it and try to fix it when I have free time.

null2264 commented 4 months ago

Can anyone test the latest nightly to check if the issue still there?

MrDfour commented 4 months ago

Can anyone test the latest nightly to check if the issue still there?

Can't even open the nightly in any build

time: 1707699382389 msg: android.util.AndroidRuntimeException: requestFeature() must be called before adding content stacktrace: java.lang.RuntimeException: Unable to start activity ComponentInfo{eu.kanade.tachiyomi.nightlyYokai/eu.kanade.tachiyomi.ui.main.MainActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3655) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:138) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2308) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7937) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:854) Caused by: android.util.AndroidRuntimeException: requestFeature() must be called before adding content at com.android.internal.policy.PhoneWindow.requestFeature(PhoneWindow.java:410) at eu.kanade.tachiyomi.ui.main.MainActivity.onCreate(Unknown Source:13) at android.app.Activity.performCreate(Activity.java:8360) at android.app.Activity.performCreate(Activity.java:8339) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1423) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3636) ... 12 more

null2264 commented 4 months ago

Can anyone test the latest nightly to check if the issue still there?

Can't even open the nightly in any build

That should be fixed now... actually nvm, reader broken again ._.

MrDfour commented 4 months ago

Can anyone test the latest nightly to check if the issue still there?

Can't even open the nightly in any build

That should be fixed now... actually nvm, reader broken again ._.

Broken is an understatement haha the app straight away crashes

AN1EiCB6.txt The log was too extense, I saved it in a txt just in case

null2264 commented 4 months ago

Lmao, I already fix that, try updating again

null2264 commented 4 months ago

Third time's the charm... hopefully

MrDfour commented 4 months ago

Third time's the charm... hopefully

It's working for me, both vertical and horizontal

null2264 commented 4 months ago

Lovely, from my painfully laggy test, it also seems to be working

null2264 commented 4 months ago

Alright, should be fixed on 1.7.14. Will release it soon.