diff --git a/KEYBINDINGS.txt b/KEYBINDINGS.txt index de28012..f7a94ad 100644 --- a/KEYBINDINGS.txt +++ b/KEYBINDINGS.txt @@ -1,4 +1,4 @@ -Ruen UI - ESDF key map (2026.11.21.7-beta.1) +Ruen UI - ESDF key map (2026.11.21.8-beta.1) MOVEMENT Q W [E] R T diff --git a/README.md b/README.md index c4820f1..76247d2 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A compact, class-aware **WoW: Forever** interface with ESDF controls, English/Ru **[Download the beta](https://scm.bstein.dev/bstein/ruen-ui/releases)** · **[Windows installation](docs/INSTALL.md)** · **[Инструкция на русском](docs/INSTALL-RU.md)** · **[Release review](docs/RELEASE-REVIEW.md)** · **[Report a problem](https://scm.bstein.dev/bstein/ruen-ui/issues)** -Choose **Ruen-UI-2026.11.21.7-beta.1.zip** under release assets, not Gitea's automatic source ZIP. No account is needed to download. The download is small; setup then retrieves the selected companion addons directly from their authors. +Choose **Ruen-UI-2026.11.21.8-beta.1.zip** under release assets, not Gitea's automatic source ZIP. No account is needed to download. The download is small; setup then retrieves the selected companion addons directly from their authors. ## Windows quick start @@ -33,7 +33,7 @@ See the [staged update checklist](docs/UPDATE-PLAN.md) for implementation and re ## Beta status -Installer transaction tests, Lua regressions, source review and prior local gameplay checks inform this release. **A clean native Windows installation and every class/spec in live raids have not been verified.** Automated layout simulations are not a guarantee against every possible addon or window combination. See the [release review](docs/RELEASE-REVIEW.md) for the tested scope and remaining limitations. +Installer transaction tests, Lua regressions, source review and local gameplay checks inform this release. The user verified the beta8 pet selected-state fix in game across native and extra stance buttons. **A clean native Windows installation and every class/spec in live raids have not been verified.** Automated layout simulations are not a guarantee against every possible addon or window combination. See the [release review](docs/RELEASE-REVIEW.md) for the tested scope and remaining limitations. A focused local follow-up showed worse low-FPS readings than the baseline; performance verification remains open. `/ruen bench` now includes native addon CPU diagnostics to help identify the cause. diff --git a/RuenUI/ButtonStyle.lua b/RuenUI/ButtonStyle.lua index e668a13..12d8e7c 100644 --- a/RuenUI/ButtonStyle.lua +++ b/RuenUI/ButtonStyle.lua @@ -12,10 +12,10 @@ local defaults = { local function region(frame, kind) if not frame then return end - local named = frame[kind .. "Texture"] - if named then return named end local getter = frame["Get" .. kind .. "Texture"] - return type(getter) == "function" and getter(frame) or nil + -- The getter is the region the widget actually draws; a named XML region + -- may survive a later replacement. Older templates expose only the name. + return (type(getter) == "function" and getter(frame)) or frame[kind .. "Texture"] end function P.StyleActionButton(button, prototype) @@ -23,15 +23,14 @@ function P.StyleActionButton(button, prototype) local source = region(prototype, kind) local atlas = source and source:GetAtlas() local texture = source and source:GetTexture() - local setter = button["Set" .. kind .. "Atlas"] - if atlas and type(setter) == "function" then setter(button, atlas) - elseif texture then button["Set" .. kind .. "Texture"](button, texture) - -- A native file texture is just as authoritative as an atlas. Falling - -- back before checking it replaces the Classic-style selection border. - elseif type(setter) == "function" then setter(button, defaults[kind]) - end + if not atlas and not texture then atlas = defaults[kind] end + -- CheckButton has SetCheckedTexture, but not SetCheckedAtlas on this + -- client. Register a texture with the widget, then apply the atlas to + -- that texture. The atlas file ID alone renders the whole sprite sheet. + button["Set" .. kind .. "Texture"](button, texture or "Interface\\Buttons\\UI-Quickslot2") local target = region(button, kind) if target then + if atlas then target:SetAtlas(atlas) end target:ClearAllPoints() -- Native small buttons anchor the art at TOPLEFT, not CENTER. -- Match its size relative to the icon at any pet/UI scale. @@ -45,7 +44,9 @@ function P.StyleActionButton(button, prototype) if source and prototype:GetWidth() > 0 and prototype:GetHeight() > 0 then target:SetSize(source:GetWidth() / prototype:GetWidth() * w, source:GetHeight() / prototype:GetHeight() * h) - target:SetTexCoord(source:GetTexCoord()) + -- SetAtlas owns the subregion coordinates. File-backed native + -- artwork still needs its explicit cropping copied. + if not atlas then target:SetTexCoord(source:GetTexCoord()) end if source.GetBlendMode and target.SetBlendMode then target:SetBlendMode(source:GetBlendMode()) end if source.GetDrawLayer and target.SetDrawLayer then target:SetDrawLayer(source:GetDrawLayer()) end else target:SetSize(w * 46 / 45, h) end diff --git a/RuenUI/Profile.lua b/RuenUI/Profile.lua index 6ba5184..429c141 100644 --- a/RuenUI/Profile.lua +++ b/RuenUI/Profile.lua @@ -1,6 +1,6 @@ local _, P = ... P.version = 5 -P.release = "2026.11.21.7-beta.1" +P.release = "2026.11.21.8-beta.1" P.graphicsVersion = 2 P.layoutName = "Ruen UI - Clear ESDF" function P.IsOurLayout(layout) diff --git a/RuenUI/RuenUI.toc b/RuenUI/RuenUI.toc index e3230e7..b249d3c 100644 --- a/RuenUI/RuenUI.toc +++ b/RuenUI/RuenUI.toc @@ -1,7 +1,7 @@ ## Interface: 16001 ## Title: Ruen UI ## Notes: ESDF, mouse and menu controls, inventory layout and Spoken language controls. /ruen help -## Version: 2026.11.21.7-beta.1 +## Version: 2026.11.21.8-beta.1 ## Author: Ruen UI contributors ## SavedVariables: RuenUIDB ## SavedVariablesPerCharacter: RuenUICharacter diff --git a/docs/INSTALL-RU.md b/docs/INSTALL-RU.md index 71e2d78..711be62 100644 --- a/docs/INSTALL-RU.md +++ b/docs/INSTALL-RU.md @@ -1,7 +1,7 @@ # Установка Ruen UI — бета 1. Установите **WoW: Forever** через Battle.net и дождитесь окончания загрузки. -2. Откройте [Releases](https://scm.bstein.dev/bstein/ruen-ui/releases) и скачайте **Ruen-UI-2026.11.21.7-beta.1.zip**. Для скачивания регистрация не нужна. +2. Откройте [Releases](https://scm.bstein.dev/bstein/ruen-ui/releases) и скачайте **Ruen-UI-2026.11.21.8-beta.1.zip**. Для скачивания регистрация не нужна. 3. Полностью распакуйте ZIP. Закройте WoW. 4. Для русского варианта запустите **Install-Russian.cmd**. Обычная установка: **Ruen-Setup.exe**. Установщик сам ищет игру; если нужно, укажите папку `_forever_`, в которой находится `Wow.exe`. 5. В Battle.net выберите WoW: Forever → шестерёнка → изменение установки. Установите английские и русские файлы игры. Выберите русский язык текста и речи в настройках **игры**, а не приложения Battle.net. Дождитесь 100% загрузки. diff --git a/docs/RELEASE-REVIEW.md b/docs/RELEASE-REVIEW.md index 434e01b..c371f8e 100644 --- a/docs/RELEASE-REVIEW.md +++ b/docs/RELEASE-REVIEW.md @@ -1,10 +1,10 @@ -# Release review — 2026.11.21.7-beta.1 +# Release review — 2026.11.21.8-beta.1 -Reviewed 21 November 2026. **Suitable for an opt-in public beta, not a general-availability certification.** This follow-up corrects a native-texture selection regression and adds bounded CPU diagnostics to the manual FPS benchmark. The coordinated character/layout update is retained. Earlier gameplay confirmations apply to the earlier builds, not automatically to these changes. The current checks below were rerun against this candidate. +Reviewed 21 November 2026. **Suitable for an opt-in public beta, not a general-availability certification.** This follow-up preserves the native selection atlas on the actual checked texture and retains bounded CPU diagnostics in the manual FPS benchmark. The coordinated character/layout update is retained. Earlier gameplay confirmations apply to the earlier builds, not automatically to these changes. The current checks below were rerun against this candidate. ## Coordinated update -- Custom pet extensions copy native named texture regions, including selected-state geometry, opacity and blend mode. The preceding beta still chose a generic atlas when both atlas setters and native file textures existed; the corrected regression fixture now reproduces this live-client shape. They display the engine's active command, rather than remembering the last click; Passive/Defensive/Aggressive selections remain mutually exclusive. Attack gets its separate flash treatment. +- Custom pet extensions copy native named texture regions, including selected-state geometry, opacity and blend mode. Live beta7 diagnostics confirmed correct action/checked state but an absent atlas on the extension texture. This client lacks the widget-level checked-atlas setter; copying only the atlas file ID draws the wrong region. The fix applies the native atlas directly to the checked texture and leaves atlas coordinates under the engine’s control. Regression fixtures now cover the missing widget setter as well as plain native file textures. They display the engine's active command, rather than remembering the last click; Passive/Defensive/Aggressive selections remain mutually exclusive. Attack gets its separate flash treatment. - Number-key profiles are per character. Hunters/Warlocks default to pets on plain numbers; the other seven classes default to utility actions. Secure, non-priority overrides leave account bindings intact and hand off during possession/vehicles. Custom assignments win. Pet dismissal, rogue stealth and druid forms do not flip the profile. - Role-aware mouseover defaults use a reported specialization/assigned role or an explicit choice. Unknown roles do not imply healing. Existing effective choices survive migration. Group-role changes are observed without polling. - Cooldown/meter choices migrate from account defaults to character settings. New characters start with duplicate cooldown viewers off. Existing characters keep their selections; auto meters remain dungeon/raid only. @@ -68,7 +68,7 @@ These are code and simulation findings. They do **not** guarantee an FPS budget, The added character profile and style helpers have no idle polling loop. Native button changes and role/binding events drive their work; repeated bindings use a cached signature. Selected-state updates do not write action slots. A pure Lua geometry microbenchmark is retained in `tests/benchmark-layout.lua`; it is not a game FPS benchmark and does not establish GPU/thermal behavior. -The focused local pre-update sample reported **56.1 FPS average, 47.5 minimum, 52.9 at the tenth percentile, and 0/180 readings below 30**. A preceding sample with uncertain window focus reached the configured 15 FPS background cap and was excluded as a reliable baseline. These are user-reported, one-second FPS readings, not per-frame lows. The user then reported a focused, comparable post-update run: **53.1 average, 21.4 minimum, 35.9 tenth percentile, 13/180 below 30**. This is an unresolved performance regression signal, not a passing gate. Its cause has not yet been attributed to Ruen, another addon or rendering/system load. No FPS improvement or performance parity is claimed. The follow-up benchmark samples the existing native profiler once per second and records per-run slow-tick counter deltas plus start/end graphics settings. It neither enables the expensive legacy script profiler nor changes graphics. The additional data still needs a live run. A hardware snapshot showed heavy GPU utilization without active GPU thermal slowdown; one snapshot cannot rule out intermittent throttling. +The focused local pre-update sample reported **56.1 FPS average, 47.5 minimum, 52.9 at the tenth percentile, and 0/180 readings below 30**. A preceding sample with uncertain window focus reached the configured 15 FPS background cap and was excluded as a reliable baseline. These are user-reported, one-second FPS readings, not per-frame lows. The user then reported a focused, comparable post-update run: **53.1 average, 21.4 minimum, 35.9 tenth percentile, 13/180 below 30**. This is an unresolved performance regression signal, not a passing gate. Its cause has not yet been attributed to Ruen, another addon or rendering/system load. No FPS improvement or performance parity is claimed. The follow-up benchmark samples the existing native profiler once per second and records per-run slow-tick counter deltas plus start/end graphics settings. It neither enables the expensive legacy script profiler nor changes graphics. A subsequent saved beta7 run reported **54.1 average, 15.0 minimum, 39.2 tenth percentile, 14/180 below 30**, with unchanged graphics endpoints. Native Ruen CPU timing averaged **0.0038 ms/tick** across sampled rolling averages; the largest sampled recent average was **0.291 ms**, and one tick exceeded 5 ms. Ruen registered zero recent CPU time at all 14 low-FPS readings; total addon timing there was approximately 0.011–0.059 ms/tick. These observations do not support sustained addon CPU work as the cause of those sampled dips. They do not exclude isolated stalls, rendering costs or background/system effects; the run reached the configured 15 FPS background cap and its focus history is unconfirmed. The original focused regression signal therefore remains unresolved. A hardware snapshot showed heavy GPU utilization without active GPU thermal slowdown; one snapshot cannot rule out intermittent throttling. ## Intentional overlap and capacity limits @@ -81,7 +81,7 @@ The focused local pre-update sample reported **56.1 FPS average, 47.5 minimum, 5 ## Remaining beta checks - Clean Windows 10/11 installation, launcher double-click, custom game path, narration downloads and real rollback on the destination machine. -- The user confirmed that both extra pet actions work in beta 6, but selected-stance artwork remained incorrect. The native texture/atlas fix in this follow-up still needs live visual confirmation. Other pet types, autocast, pet swaps and live secure binding handoff remain incompletely tested. +- The user confirmed that the actions work and beta7 reports the correct active/checked stance, but the selected border is absent. The missing-atlas cause was observed live. After installing beta8 and reloading, the user confirmed that Passive (`0`), Defensive (`-`) and Aggressive (`=`) all display the selected border correctly. Other pet types, autocast, pet swaps and live secure binding handoff remain incompletely tested. - Live level-60 class/spec coverage and crowded raids/BGs, particularly healer mouseover workflows and low-resolution displays. - Investigate the worse focused local FPS result with native addon CPU data; performance verification remains open. Sustained performance and available thermal telemetry on the destination laptop also remain untested. - Other addon combinations, arbitrary aspect ratios, accessibility font sizes and all simultaneous window combinations. diff --git a/scripts/build_release.py b/scripts/build_release.py index e6fd09a..a4e0ee4 100644 --- a/scripts/build_release.py +++ b/scripts/build_release.py @@ -7,7 +7,7 @@ from pathlib import Path import zipfile ROOT = Path(__file__).resolve().parents[1] -VERSION = '2026.11.21.7-beta.1' +VERSION = '2026.11.21.8-beta.1' FILES = ['Ruen-Setup', 'Ruen-Setup.exe', 'Install-Ruen-UI.ps1', 'Install-Ruen-UI.cmd', 'Install-Ruen-UI-Russian.cmd', 'Install-Windows.cmd', 'Install-Russian.cmd', 'Optimize-Ruen-UI.ps1', 'dependencies.lock.json', 'README.md', 'LICENSE', diff --git a/tests/check-pet-actions.lua b/tests/check-pet-actions.lua index 75cc3cf..6dd99a7 100644 --- a/tests/check-pet-actions.lua +++ b/tests/check-pet-actions.lua @@ -207,6 +207,12 @@ local prototype,probe=frame(),frame() prototype:SetCheckedAtlas('native-selected-atlas') P.StyleActionButton(probe,prototype) assert(probe.Checked:GetAtlas()=='native-selected-atlas','native atlas replaced by fallback') +-- Live beta7 evidence: Checked=true, texture file matches the native button, +-- but GetAtlas() is nil on the extension. CheckButton lacks SetCheckedAtlas; +-- its checked TEXTURE still supports SetAtlas. Copying the file ID is not enough. +probe.SetCheckedAtlas=nil +P.StyleActionButton(probe,prototype) +assert(probe.Checked:GetAtlas()=='native-selected-atlas','checked texture lost atlas without widget atlas setter') P.StyleActionButton(probe,nil) assert(probe.Checked:GetAtlas()=='UI-HUD-ActionBar-IconFrame-Mouseover','missing-art fallback unavailable') assert(a.clicks[1]=='AnyDown' and a.clicks[2]=='AnyUp')