Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client Freezes as Soon as it Starts up on MacOS #11292

Closed
sechecopar opened this issue Oct 10, 2023 · 11 comments
Closed

Client Freezes as Soon as it Starts up on MacOS #11292

sechecopar opened this issue Oct 10, 2023 · 11 comments
Labels
linux / macos support Questions from users, help and support

Comments

@sechecopar
Copy link

sechecopar commented Oct 10, 2023

So, I figured out that some other people were having the same issue I was on Mac which was basically some other program is interfering with Java so the client can't run properly.

What sucks though is that the replies are always "it must be Contexts or Magnet or something" I have neither of those apps, so I have no idea what it is that's conflicting with Xmage.

I could go and delete absolutely everything from my Activity Monitor but that would mean I'd have to do that every single time I wanna run Xmage, and since it's not a fast process it would render it virtually unusable anyways.

Anyone know how I can find out exactly what is clashing with the client so I can just shut that down? Thank you!

Related:
#4920

#5928

#6398

@JayDi85 JayDi85 added support Questions from users, help and support linux / macos labels Oct 11, 2023
@JayDi85
Copy link
Member

JayDi85 commented Oct 11, 2023

If it freeze before you see a connection dialog then it's auto-connect problem. See here for the fix.

@SteffenJahr
Copy link

@JayDi85 Not working for me:
Screenshot 2023-10-11 at 13 46 04

@JayDi85
Copy link
Member

JayDi85 commented Oct 11, 2023

@SteffenJahr are you a topic starter? You must restart mac to apply new settings. If not helps then describe your problem with details:

  1. Hows you run it?
  2. What you see at the end (on freeze moment)?
  3. Is it open something on startup?
  4. Is it allows to open connect dialog?
  5. Is it allows to open country/flag search button in connect dialog?

@SteffenJahr
Copy link

@JayDi85 No i am not but I have the same issue. I launch the client, the ui shows up and immediately the color wheel appears and the app frezes. And I restarted my Mac several times.

  1. MacOS on a Macbook Pro M1 Max
  2. See Screenshot
  3. Yes the UI is showing up
    4 & 5. I can't click anything
Screenshot 2023-10-11 at 15 28 03

@sechecopar
Copy link
Author

sechecopar commented Oct 11, 2023

If it freeze before you see a connection dialog then it's auto-connect problem. See here for the fix.

Hi, OP here, that com.apple.java.util.prefs API isn't showing up on my end:
Screenshot 2023-10-11 at 3 30 28 PM

This is where I get to before it freezes:
Screenshot 2023-10-11 at 3 32 14 PM

For reference this is my Activity Monitor:
Screenshot 2023-10-11 at 3 33 22 PM
Notice the size of the scrolling bar to the right to see how just blindly closing everything isn't a viable option.

Thank you for any help you can provide!

@DeliriumXDHS
Copy link

If it freeze before you see a connection dialog then it's auto-connect problem. See here for the fix.

Hi, OP here, that com.apple.java.util.prefs API isn't showing up on my end: Screenshot 2023-10-11 at 3 30 28 PM

This is where I get to before it freezes: Screenshot 2023-10-11 at 3 32 14 PM

For reference this is my Activity Monitor: Screenshot 2023-10-11 at 3 33 22 PM Notice the size of the scrolling bar to the right to see how just blindly closing everything isn't a viable option.

Thank you for any help you can provide!

Hey, did you solve this issue in any way? It looks like I have the same thing and I can't seem to fix it.

@JayDi85
Copy link
Member

JayDi85 commented Dec 15, 2023

Follow that instructions to replace xmage’s java with updated version - it must fix most problems: #8406 (comment)

@DeliriumXDHS
Copy link

DeliriumXDHS commented Dec 29, 2023 via email

@kholbekj
Copy link

Same issue. no autoconnect, updated the java version.

Tiny detail is, it doesn't hang on startup directly, it hangs right after any interaction with the window (ie. clicking anywhere).

@JayDi85
Copy link
Member

JayDi85 commented Aug 31, 2024

Solutuion for users who raplaced java, but can't play on public servers -- now it can be compatible: #12768

JayDi85 added a commit that referenced this issue Sep 7, 2024
- GUI: added non-blocking UI to almost all app and game dialogs;
- GUI: it allows to switch between UI dialogs and use any UI elements at any moment;
- GUI: it allows to use chat, card popup, battlefield, concede and other features while choosing (related to #12670);
- GUI: it allows to download images while playing (related to #4160, not fully tested);
- GUI: enabled by default, can be disabled by java option: -Dxmage.guiModalMode=true
- connection: auto-connect will be visible in main menu on startup;
- connection: removed some unused features (auto-connect by command line);
- connection: added <ESC> button to close connection dialog;
- download: added background images download (see non-blocking UI);
- download: improved cancel stability and fixes that it can't stop preparing/downloading process in some use cases;
- app: fixed freezes on macOS systems in some use cases (related to #12431, #11292, #9300, #4920);
@JayDi85
Copy link
Member

JayDi85 commented Sep 9, 2024

Original problem was in wrong implementation of modal windows (xmage code for system events processing). Not actual anymore with non-blocking UI in last release #12825

@JayDi85 JayDi85 closed this as completed Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linux / macos support Questions from users, help and support
Projects
None yet
Development

No branches or pull requests

5 participants