Better-than-Adventure / bta-issues

You can report bugs for Better than Adventure here.
25 stars 0 forks source link

Unable to maximize using default MacOS window manager #310

Open sorrynoobsitsme opened 6 months ago

sorrynoobsitsme commented 6 months ago

Describe the bug In MacOS, when an application is fullscreened, the app goes into a separate "desktop" where the app is held until the user unmaximizes it. This is currently disabled in Better Than Adventure.

Currently, the only way to have fullscreen is into the settings. If you try to use CMD-Tab to switch to another app, the app still draws over other windows. When you press CMD-OPTION-ESC to try to open "Force Quit Applications" (apples version of taskmgr) The game crashes. In fact this happens when ANY app tries to draw over the Game.

To Reproduce Steps to reproduce the behavior:

  1. Start Game in MacOS 13.

Expected behavior A clear and concise description of what you expected to happen. When pressing CMD-OPT-ESC to open the Force Quit Menu, I expected the Game to remain open.

Screenshots If applicable, add screenshots to help explain your problem. Screenshot 2024-03-02 at 4 10 07 PM The macOS desktop Switcher.

Screenshot 2024-03-02 at 4 12 41 PM Maximization under macOS window manager is disabled. Enabling would fix this issue.

Version info (please complete the following information):

Additional context Game running under MultiMC Instance MultiMC 5 - Version 0.7.0-3831 on osx64-5.15.2

Crash Logs

MultiMC version: 0.7.0-3831

Launched instance in online mode

authserver.mojang.com resolves to:
    [N/A]

session.minecraft.net resolves to:
    [2620:1ec:bdf::69, 2620:1ec:46::69, 13.107.246.69, 13.107.213.69]

textures.minecraft.net resolves to:
    [2620:1ec:46::69, 2620:1ec:bdf::69, 13.107.213.69, 13.107.246.69]

api.mojang.com resolves to:
    [2620:1ec:46::69, 2620:1ec:bdf::69, 13.107.246.69, 13.107.213.69]

Minecraft folder is:
/Applications/MultiMC.app/Data/instances/Beta 1.7.7/.minecraft

Java path is:
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java

Checking Java version...
Java is version 1.8.0_381, using 64-bit architecture, from Oracle Corporation.

Main Class:

Native path:
  /Applications/MultiMC.app/Data/instances/Beta 1.7.7/natives

Traits:
traits texturepacks
traits noapplet
traits legacyLaunch

Libraries:
  /Applications/MultiMC.app/Data/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar
  /Applications/MultiMC.app/Data/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar
  /Applications/MultiMC.app/Data/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar
  /Applications/MultiMC.app/Data/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar
  /Applications/MultiMC.app/Data/instances/Beta 1.7.7/.minecraft/bin/minecraft.jar

Native libraries:
  /Applications/MultiMC.app/Data/libraries/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar
  /Applications/MultiMC.app/Data/libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar

Jar Mods:
  bta (7d59ca7e-ef5c-4151-aee1-7b43174b2eb0.jar)

Params:
  Retromemer token:<ACCESS TOKEN>:<PROFILE ID> --gameDir /Applications/MultiMC.app/Data/instances/Beta 1.7.7/.minecraft

Window size: 854 x 480

Java Arguments:
[-Dfml.ignoreInvalidMinecraftCertificates=true, -Dfml.ignorePatchDiscrepancies=true, -Xdock:icon=icon.png, -Xdock:name="MultiMC: Beta 1.7.7", -Xms512m, -Xmx1024m, -Duser.language=en]

Minecraft process ID: 10292

Using onesix launcher.

[16:12:16] [main] 24 Achievements
[16:12:17] [main] 394 recipes
[16:12:17] [Client-Main] Skipping bad option: shaderOverride:
[16:12:17] [Client-Main] Skipping bad option: selectedController:
[16:12:17] [Client-Main] Resolution: 854 x 480
[16:12:17] [Client-Main] Java Version: 1.8.0_381
[16:12:18] [Client-Main] 1665 Translation Keys
[16:12:18] [Client-Main] 2.1 Metal - 88
[16:12:18] [Client-Main] Apple
[16:12:18] [Client-Main] Apple M1
[16:12:18] [Client-Main] GL_ARB_framebuffer_object: true
[16:12:18] [Client-Main] GL_ARB_occlusion_query: true
[16:12:18] [Client-Main] GL_NV_fog_distance: true
[16:12:18] [Client-Main] Enable Shaders: true
[16:12:18] [Client-Main] Reloading Shaders...
[16:12:21] [Client-Main] Drawing Loading Screen...
[16:12:21] [Client-Main] Initizalizing input
[16:12:21] [Client-Main] Creating Keyboard & Mouse
Mar 02, 2024 4:12:21 PM net.java.games.input.DefaultControllerEnvironment getControllers
INFO: Loading: net.java.games.input.OSXEnvironmentPlugin
Mar 02, 2024 4:12:21 PM net.java.games.input.ControllerEnvironment log
INFO: Failed to enumerate device: Device open failed: -536870174

Mar 02, 2024 4:12:21 PM net.java.games.input.ControllerEnvironment log
INFO: Failed to enumerate device: Device open failed: -536870174

Mar 02, 2024 4:12:21 PM net.java.games.input.ControllerEnvironment log
INFO: Failed to enumerate device: Device open failed: -536870174

[16:12:21] [Client-Main] 0 Devices found!
[16:12:21] [Client-Main] Input done!
[16:12:21] [Client-Main] Setting up OpenGL values...
[16:12:21] [Client-Main] 
[16:12:21] [Client-Main] Starting up SoundSystem...
[16:12:21] [Thread-4] Initializing LWJGL OpenAL
[16:12:21] [Thread-4]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[16:12:22] [Thread-4] OpenAL initialized.
[16:12:22] [Client-Main] 
[16:12:22] [Client-Main] Initializing Dynamic Textures...
[16:12:22] [Client-Main] Generating Mipmaps...
[16:12:22] [Client-Main] Generating Mipmaps...
[16:12:22] [Client-Main] Resolution: Terrain: 16 Items: 16
[16:12:22] [Client-Main] Using Generated Still Water Animation
[16:12:22] [Client-Main] Using Generated Flowing Water Animation
[16:12:22] [Client-Main] Using Generated Still Lava Animation
[16:12:22] [Client-Main] Using Generated Flowing Lava Animation
[16:12:22] [Client-Main] Using Generated Portal Animation
[16:12:22] [Client-Main] Initializing Renderer...
[16:12:22] [Client-Main] Starting Resource Download Thread...
[16:12:22] [Resource Download] Downloading sounds...
[16:12:23] [Client-Main] Pixel Scale Factor: 1.0
[16:12:23] [Client-Main] Set Fullscreen: 1920 x 1080
[16:12:23] [Client-Main] Display: 1920 x 1080, Render: 1920 x 1080
[16:12:23] [Client-Main] Expanding buffer to 14018560
[16:12:25] [Resource Download] Loading Sounds...
[16:12:25] [Resource Download] Installed 224 Sound Files!
[16:12:28] [Client-Main] Pixel Scale Factor: 1.0
[16:12:29] [Client-Main] Display: 854 x 480, Render: 854 x 480
2024-03-02 16:16:01.760 java[10292:4662576] Unknown modifier with keycode: 0
2024-03-02 16:23:02.760 java[10292:4662576] Unknown modifier with keycode: 0
2024-03-02 16:24:12.744 java[10292:4662576] Unknown modifier with keycode: 0
[16:24:15] [Client-Main] Pixel Scale Factor: 1.0
[16:24:15] [Client-Main] Set Fullscreen: 1920 x 1080
[16:24:15] [Client-Main] Display: 1920 x 1080, Render: 1920 x 1080
AL lib: (EE) alc_cleanup: 1 device not closed
Process exited with exit code 143 (0x8f).
Please note that usually neither the exit code, nor its description are enough to diagnose issues!
Always upload the entire log and not just the exit code.