PojavLauncher icon indicating copy to clipboard operation
PojavLauncher copied to clipboard

(forge 1.20+) game closes when minimized

Open YeahhColix opened this issue 2 years ago • 19 comments

Describe the bug

Forge 1.20.1 closes when minimized (the back button) it only happens in forge 1.20+

The log file and images/videos

https://github.com/PojavLauncherTeam/PojavLauncher/assets/148950843/583be0c3-d2f1-42a4-8ac9-d6582c17c8db

latestlog.txt

Steps To Reproduce

1. Start PojavLauncher
2. Start Minecraft Forge 1.20+
3. Press the back button on your device

Expected Behavior

I expect the game to just be minimized

Platform

- Device model: Vivo Y33S
- CPU architecture: i dont know
- Android version: 11
- PojavLauncher version: Latest Release (on the google play store)

Anything else?

No response

YeahhColix avatar Oct 29 '23 01:10 YeahhColix

you havent sent the logs (send latestlog.txt)

GaucovyAero avatar Oct 29 '23 06:10 GaucovyAero

you havent sent the logs (send latestlog.txt)

done

YeahhColix avatar Oct 29 '23 06:10 YeahhColix

well thats a funny issue, is that just forge with just optifine?

GaucovyAero avatar Oct 29 '23 06:10 GaucovyAero

well thats a funny issue, is that just forge with just optifine?

mhm

YeahhColix avatar Oct 29 '23 07:10 YeahhColix

yeah it seems like forge is calling some sort of special snowflake opengl function that gl4es doesnt have when alt tabbing

GaucovyAero avatar Oct 29 '23 07:10 GaucovyAero

yeah it seems like forge is calling some sort of special snowflake opengl function that gl4es doesnt have when alt tabbing

got it, so do i just use a different renderer?

YeahhColix avatar Oct 29 '23 07:10 YeahhColix

yeah it seems like forge is calling some sort of special snowflake opengl function that gl4es doesnt have when alt tabbing

got it, so do i just use a different renderer?

pretty sure the other ones straight up dont support going out of the window but you can try

GaucovyAero avatar Oct 29 '23 07:10 GaucovyAero

latestlog-1.txt

https://github.com/PojavLauncherTeam/PojavLauncher/assets/85581164/65d3398d-642a-4ebc-b3b7-5b5aab533d6c

tombstone_34.txt

successfully reproduced, here are my logs and video

GaucovyAero avatar Nov 05 '23 13:11 GaucovyAero

Field Value
Build type DEBUG
Pojav version edelweiss - 20231104 - feat/activity_destruction_handling
Minecraft version 1.20.1-forge-47.2.0 - FORGE
Renderer GL4ES_115
Architecture ARM_64
Java runtime INTERNAL - JRE - 17
Java arguments
Errors Found:
branch.not.mainline

Mathias-Boulay avatar Nov 05 '23 13:11 Mathias-Boulay

nevermind, sorry, you can workaround this,

just change earlyWindowControl to false in .minecraft/config/fml.toml

GaucovyAero avatar Nov 05 '23 13:11 GaucovyAero

I'll take a look to see if I can fix this without needing a workaround

Mathias-Boulay avatar Nov 05 '23 15:11 Mathias-Boulay

nevermind, sorry, you can workaround this,

just change earlyWindowControl to false in .minecraft/config/fml.toml

how do i edit the toml file?

YeahhColix avatar Nov 06 '23 04:11 YeahhColix

How to fix this crash on minimize?

kedrick021 avatar Nov 06 '23 21:11 kedrick021

nevermind, sorry, you can workaround this, just change earlyWindowControl to false in .minecraft/config/fml.toml

how do i edit the toml file?

dunno if Acode editor works but i use mixplorer's text editor and it works fine (free download from mixplorer.com)

GaucovyAero avatar Nov 06 '23 21:11 GaucovyAero

nevermind, sorry, you can workaround this,

just change earlyWindowControl to false in .minecraft/config/fml.toml

@kedrick021

GaucovyAero avatar Nov 06 '23 21:11 GaucovyAero

nevermind, sorry, you can workaround this, just change earlyWindowControl to false in .minecraft/config/fml.toml

@kedrick021

It's working thank you

By the way do you know how to make costume control?

kedrick021 avatar Nov 07 '23 00:11 kedrick021

nevermind, sorry, you can workaround this, just change earlyWindowControl to false in .minecraft/config/fml.toml

@kedrick021

It's working thank you

By the way do you know how to make costume control?

yes

GaucovyAero avatar Nov 07 '23 05:11 GaucovyAero

nevermind, sorry, you can workaround this, just change earlyWindowControl to false in .minecraft/config/fml.toml

@kedrick021

It's working thank you By the way do you know how to make costume control?

yes

Like mcpe icon?

kedrick021 avatar Nov 07 '23 05:11 kedrick021

nevermind, sorry, you can workaround this, just change earlyWindowControl to false in .minecraft/config/fml.toml

@kedrick021

It's working thank you By the way do you know how to make costume control?

yes

Like mcpe icon?

no

GaucovyAero avatar Nov 07 '23 06:11 GaucovyAero