YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
21 stars 8 forks source link

Preferences: Lag with highly-populated pages, such as "Text Editors" and "Feather Settings" #1935

Open iampremo opened 11 months ago

iampremo commented 11 months ago

Description

When navigating through menus and sub-menus of Preferences there appears to be a good bit of lag at times. This was noticed when accessing the "Text Editors" menu and then its sub-menus, causing GM to state (Not Responding) in the title bar when the lag occurred.

image or image

There's noticeable lag in IDE (1-5 seconds).

What's more, when pressing Cancel after opening any of above, there's 5+ seconds lag.

Additionally, it's possible to get the "failed mouse click" mentioned in step 7 below when changing to (m)any other Preferences screens thereafter - the issue is not limited to just the two sections shown above.

Expected Change

There should be no lag when navigating through menus

Steps to Reproduce

  1. Start GameMaker
  2. Open Preferences
  3. Open "Text Editors" and observe this likely loads immediately
  4. Now click the child "Code Editor" and observe this will have a short pause before it loads
  5. Click "Visual Editor" and observe this likely loads immediately
  6. Click "Code Editor" again and observe this likely loads immediately
  7. Now begin slowly clicking any random one of "Text Editors", "Code Editor", and "Visual Editor" each time and observe that periodically your mouse click on the Preference tree will be ignored and the chosen section will not be opened
  8. At any time, click either the Cancel button or the close X in the top-right corner and observe a longer delay before Preferences actually closes (this does not depend on which page of Preferences is open at the time) Repro: 100% (although you might need to click through any number of times before you see step 7, as this seems to vary for me but it usually fairly quick to occur)

Alt

  1. Repeat steps 1 and 2 above
  2. Open "Feather Settings" and observe this likely loads immediately
  3. Now click the child "Message Severity" and observe this will have a short pause before it loads
  4. Now repeat ultimately the same things as steps 5-8 above, but using the various child pages of "Feather Settings" instead of "Text Editors" and observe you can recreate the same results Repro: 100% (again, you might need to click through any number of times before you see step 7 above)

How reliably can you recreate this issue using your steps above?

Always

Which version of GameMaker are you reporting this issue for?

Aug 23 Nov 23 2024.200 Betas

Compiler Log File

Sample .yyz File

caitlinrmcintyre commented 11 months ago

Still an issue in IDE v2023.8.2.106 Runtime v2023.8.2.152

WangleLine commented 5 months ago

Can confirm this also happens on my machine. GameMaker hangs for a solid 1-2 minutes when I go to the Text Editors -> Code Editor page, and then again when I close preferences from there.

I'm not sure if this is related, but I have several thousand fonts installed on my computer. A friend of mine tells me she has the same, long hang, though, and she doesn't have a lot of fonts installed.

Emc1923 commented 2 months ago

Still happening as of IDE v2024.600.0.578 Runtime v2024.600.0.604