Files
coa-weakauras/WeakAuras
NoM0Re aca47d69fd (fix/WeakAuras) BandAid: Limit frame levels to prevent exceeding UI restrictions
#85
Implemented a hard cap for frame level assignments (max 126) across multiple modules, including WeakAuras core logic and AceGUI widget prototypes.

The WotLK engine utilizes a signed 8-bit integer for frame levels. Values exceeding 127 cause an overflow. Previously, many frames were inadvertently stacked at or beyond 128, which remained largely unnoticed but caused significant rendering overhead. This got introduced on WeakAuras 4.0 with nested groups, years ago. On newer Clients the FrameLevels are capped at 10000 which makes this system operate smoothly on those clients. A larger fix will be needed in the future.

This change prevents the renderer from becoming overwhelmed at maximum depth, particularly when Blizzard UI frames with SetTopLevel(true) are toggled. Capping the values at 126 ensures that there is always a 1-bit buffer before the overflow point, allowing high-priority frames to render smoothly without depth conflicts.

(cherry picked from commit 629a45095b10b801573b2cc84d64b6b5a6c1a890)
2026-02-16 11:37:02 -07:00
..
2020-09-16 23:03:25 +03:00
2025-04-03 21:03:11 +02:00
2026-02-16 08:28:24 -07:00
2020-06-02 23:40:06 +03:00
2026-02-16 08:28:24 -07:00
2025-04-03 21:03:11 +02:00
2025-05-31 22:54:39 +02:00
2025-09-13 18:02:26 +02:00
2025-01-27 03:28:33 +01:00
2025-10-09 21:17:44 +02:00
2025-04-03 21:03:11 +02:00
2020-07-01 17:42:02 +03:00
2026-02-16 08:28:24 -07:00
2025-10-17 08:35:11 -07:00
2025-07-22 16:49:18 +02:00
2025-04-03 21:03:11 +02:00
2026-02-16 08:28:24 -07:00
2025-04-03 21:03:11 +02:00
2020-06-02 23:40:06 +03:00
2025-04-13 16:03:55 +02:00
2026-02-16 08:20:31 -07:00
2025-04-03 21:03:11 +02:00
2025-07-22 16:49:18 +02:00
2025-09-10 00:09:48 +02:00
2026-02-16 08:28:24 -07:00
2026-02-16 08:28:24 -07:00