Reconcile control geometry after native layout saves and record focused FPS baseline
This commit is contained in:
parent
92af5607e2
commit
d4aca6fd31
@ -406,11 +406,8 @@ local function queueCombinedBags()
|
|||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function refreshUILayout()
|
function P.ReconcileControlGeometry()
|
||||||
P.RefreshPetExtras()
|
|
||||||
if not ownsLayout() or InCombatLockdown() or EditModeManagerFrame:IsShown() then return end
|
if not ownsLayout() or InCombatLockdown() or EditModeManagerFrame:IsShown() then return end
|
||||||
P.MigrateExtraBars()
|
|
||||||
P.MigrateClassLayout()
|
|
||||||
placeRelative(MultiBarBottomLeft, "BOTTOMLEFT", MainActionBar, "TOPLEFT", 0, P.layoutPolicy.actionRowGap)
|
placeRelative(MultiBarBottomLeft, "BOTTOMLEFT", MainActionBar, "TOPLEFT", 0, P.layoutPolicy.actionRowGap)
|
||||||
placeRelative(MultiBarBottomRight, "BOTTOMLEFT", MultiBarBottomLeft, "TOPLEFT", 0, P.layoutPolicy.actionRowGap)
|
placeRelative(MultiBarBottomRight, "BOTTOMLEFT", MultiBarBottomLeft, "TOPLEFT", 0, P.layoutPolicy.actionRowGap)
|
||||||
alignCornerWidths()
|
alignCornerWidths()
|
||||||
@ -424,6 +421,14 @@ local function refreshUILayout()
|
|||||||
placeRelative(ObjectiveTrackerFrame, "TOPRIGHT", MinimapCluster, "BOTTOMRIGHT", 0, -24)
|
placeRelative(ObjectiveTrackerFrame, "TOPRIGHT", MinimapCluster, "BOTTOMRIGHT", 0, -24)
|
||||||
fitTracker()
|
fitTracker()
|
||||||
P.PositionGroupFrames(placeRelative, frameEdge)
|
P.PositionGroupFrames(placeRelative, frameEdge)
|
||||||
|
end
|
||||||
|
|
||||||
|
local function refreshUILayout()
|
||||||
|
P.RefreshPetExtras()
|
||||||
|
if not ownsLayout() or InCombatLockdown() or EditModeManagerFrame:IsShown() then return end
|
||||||
|
P.MigrateExtraBars()
|
||||||
|
P.MigrateClassLayout()
|
||||||
|
P.ReconcileControlGeometry()
|
||||||
P.RefreshClassAssist()
|
P.RefreshClassAssist()
|
||||||
P.RefreshDamageMeters()
|
P.RefreshDamageMeters()
|
||||||
queueCombinedBags()
|
queueCombinedBags()
|
||||||
|
|||||||
@ -18,6 +18,10 @@ function P.SaveEditModeLayouts(info)
|
|||||||
-- Saving persists the data; explicitly select it to refresh native systems
|
-- Saving persists the data; explicitly select it to refresh native systems
|
||||||
-- now, rather than showing their previous settings until the next reload.
|
-- now, rather than showing their previous settings until the next reload.
|
||||||
if info.activeLayout then C_EditMode.SetActiveLayout(info.activeLayout) end
|
if info.activeLayout then C_EditMode.SetActiveLayout(info.activeLayout) end
|
||||||
|
-- A native layout reload restores ALL saved anchors and tracker height,
|
||||||
|
-- even when the only change was an optional cooldown/meter setting.
|
||||||
|
-- Reconcile owned control geometry before placing those optional viewers.
|
||||||
|
if P.ReconcileControlGeometry then P.ReconcileControlGeometry() end
|
||||||
end
|
end
|
||||||
-- Values verified against Blizzard's Forever (Camelot) SettingsDefinitions.
|
-- Values verified against Blizzard's Forever (Camelot) SettingsDefinitions.
|
||||||
-- Quality sliders are zero-based; do not set the master preset afterward.
|
-- Quality sliders are zero-based; do not set the master preset afterward.
|
||||||
|
|||||||
@ -9,6 +9,7 @@ Reviewed 21 November 2026. **Suitable for an opt-in public beta, not a general-a
|
|||||||
- 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.
|
- 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.
|
- 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.
|
||||||
- Placement and diagnostics share the same ten-frame control reservations, common spacing and chat defaults. Chat tabs/input and native profession/spellbook/map/auction panels are additional obstacles. Fresh chat starts at font size 14; existing fonts are retained.
|
- Placement and diagnostics share the same ten-frame control reservations, common spacing and chat defaults. Chat tabs/input and native profession/spellbook/map/auction panels are additional obstacles. Fresh chat starts at font size 14; existing fonts are retained.
|
||||||
|
- Native layout saves now reconcile the owned control geometry immediately, including the tracker height. Changing optional cooldown/meter settings no longer leaves the saved tracker overlapping utility controls until another layout event.
|
||||||
- A fresh alt on an already-configured account no longer replays shared combat/menu defaults. Existing action assignments, settings and binding backups remain intact. The main preset revision stays unchanged to avoid a full reset; the targeted class-layout migration advances independently.
|
- A fresh alt on an already-configured account no longer replays shared combat/menu defaults. Existing action assignments, settings and binding backups remain intact. The main preset revision stays unchanged to avoid a full reset; the targeted class-layout migration advances independently.
|
||||||
|
|
||||||
## Class-by-class result and remaining live checks
|
## Class-by-class result and remaining live checks
|
||||||
@ -45,7 +46,7 @@ The common 96-button action layout is retained. It provides capacity, not automa
|
|||||||
| --- | --- |
|
| --- | --- |
|
||||||
| Installer transactions | 14 automated tests: Linux fresh/repeat install, saved-setting/profile preservation, account-binding restore, legacy migration, partial-write rollback, locking, missing backups, incompatible companions, download failure, symlink rejection, package corruption and archive-path validation. PowerShell fixtures include fresh/repeat install, preservation, restore, corruption, download failure, missing backup and unsafe paths. |
|
| Installer transactions | 14 automated tests: Linux fresh/repeat install, saved-setting/profile preservation, account-binding restore, legacy migration, partial-write rollback, locking, missing backups, incompatible companions, download failure, symlink rejection, package corruption and archive-path validation. PowerShell fixtures include fresh/repeat install, preservation, restore, corruption, download failure, missing backup and unsafe paths. |
|
||||||
| Windows scripts | PowerShell 7.7 on Linux executed filesystem fixtures. Syntax parsed successfully. The unchanged unsigned x64 executable and its included C source retain the preceding release review; this update does not change the launcher binary. **Native Windows PowerShell 5.1, SmartScreen and GUI execution remain untested.** |
|
| Windows scripts | PowerShell 7.7 on Linux executed filesystem fixtures. Syntax parsed successfully. The unchanged unsigned x64 executable and its included C source retain the preceding release review; this update does not change the launcher binary. **Native Windows PowerShell 5.1, SmartScreen and GUI execution remain untested.** |
|
||||||
| Dependencies | The previous distribution review downloaded, hashed and extracted all four base archives against the unchanged lock, and installed them through PowerShell in a disposable game path containing spaces and Cyrillic characters. English/Russian audio endpoints were checked during that previous review; current installations still verify the pinned bytes. Large audio hashes retain prior verification records; the full audio payload was not downloaded again during this review. Every fresh installation independently checks its full downloads. |
|
| Dependencies | The previous distribution review downloaded, hashed and extracted all four base archives against the unchanged lock, and installed them through PowerShell in a disposable game path containing spaces and Cyrillic characters. All seven pinned download endpoints were rechecked for this candidate: HTTPS 200 and matching byte counts. This HEAD check does not replace archive hashing; current installations verify the full pinned downloads. Large audio hashes retain prior verification records; the full audio payload was not downloaded again during this review. Every fresh installation independently checks its full downloads. |
|
||||||
| Character profiles | Nine classes × 24 effective number/Ctrl-number mappings; underlying account bindings unchanged, personal edits preserved, actual restricted snippet executed in a modeled engine, combat handoff/deferred changes, role events, capability reservations, restore, and full new-alt login with customized shared keys. **Live secure VM/priority behavior remains unverified.** |
|
| Character profiles | Nine classes × 24 effective number/Ctrl-number mappings; underlying account bindings unchanged, personal edits preserved, actual restricted snippet executed in a modeled engine, combat handoff/deferred changes, role events, capability reservations, restore, and full new-alt login with customized shared keys. **Live secure VM/priority behavior remains unverified.** |
|
||||||
| Layout policy | Shared control reservations and chat font preservation/conditional restore; chat input/tabs and native panels counted without relocating their secure managers. |
|
| Layout policy | Shared control reservations and chat font preservation/conditional restore; chat input/tabs and native panels counted without relocating their secure managers. |
|
||||||
| Layout matrix | 9 classes × 8 environments × 8 display/scale cases, repeated with native aura/cast/combo/BG-widget footprints: **1,152 scenarios, zero modeled unintended intersections, offscreen controls, undersized group frames or wrong meter visibility**. Prior restricted-aura stress fixtures are reset before the base matrix. This is geometry/API simulation, not screenshots of every live class. |
|
| Layout matrix | 9 classes × 8 environments × 8 display/scale cases, repeated with native aura/cast/combo/BG-widget footprints: **1,152 scenarios, zero modeled unintended intersections, offscreen controls, undersized group frames or wrong meter visibility**. Prior restricted-aura stress fixtures are reset before the base matrix. This is geometry/API simulation, not screenshots of every live class. |
|
||||||
@ -66,7 +67,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 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.
|
||||||
|
|
||||||
A preliminary local user sample reported 46.2 FPS average, a 15 FPS tenth percentile, and 53/180 readings below 30. Focus was uncertain and the configured background cap was 15, so this is **not accepted as a clean performance baseline**. A focused repeat and matched post-update comparison are pending. A hardware snapshot showed heavy GPU utilization without active GPU thermal slowdown; it cannot explain the whole sample or 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. A matched post-update sample is pending; no FPS improvement is claimed. A hardware snapshot showed heavy GPU utilization without active GPU thermal slowdown; one snapshot cannot rule out intermittent throttling.
|
||||||
|
|
||||||
## Intentional overlap and capacity limits
|
## Intentional overlap and capacity limits
|
||||||
|
|
||||||
|
|||||||
@ -1017,7 +1017,9 @@ for _,l in ipairs(manager.layoutInfo.layouts)do
|
|||||||
for i=1,4 do l.systems[#l.systems+1]={system=Enum.EditModeSystem.CooldownViewer,systemIndex=i,settings={}}end
|
for i=1,4 do l.systems[#l.systems+1]={system=Enum.EditModeSystem.CooldownViewer,systemIndex=i,settings={}}end
|
||||||
end
|
end
|
||||||
spellSet({6,5,3,2})
|
spellSet({6,5,3,2})
|
||||||
SlashCmdList.RUENUI('apply');C_EditMode.SetActiveLayout(2)
|
SlashCmdList.RUENUI('apply')
|
||||||
|
assert(gap(ObjectiveTrackerFrame,MultiBarRight)>=23.9,'native cooldown configuration restored tracker over utility controls')
|
||||||
|
C_EditMode.SetActiveLayout(2)
|
||||||
P.RefreshClassAssist();assert(not RuenUICharacter.classAssistError,RuenUICharacter.classAssistError)
|
P.RefreshClassAssist();assert(not RuenUICharacter.classAssistError,RuenUICharacter.classAssistError)
|
||||||
assert(cvars.cooldownViewerEnabled=='1')
|
assert(cvars.cooldownViewerEnabled=='1')
|
||||||
for _,name in ipairs(cdNames)do assert(not _G[name]:IsShown(),'auto viewer visible out of combat')end
|
for _,name in ipairs(cdNames)do assert(not _G[name]:IsShown(),'auto viewer visible out of combat')end
|
||||||
@ -1028,6 +1030,7 @@ P.ClassAssistCommand('cooldowns','off');assert(classSaves==saveCount and Essenti
|
|||||||
combat=false;P.classAssistListener.scripts.OnEvent(nil,'PLAYER_REGEN_ENABLED')
|
combat=false;P.classAssistListener.scripts.OnEvent(nil,'PLAYER_REGEN_ENABLED')
|
||||||
for _,name in ipairs(cdNames)do assert(not _G[name]:IsShown(),'off visibility')end
|
for _,name in ipairs(cdNames)do assert(not _G[name]:IsShown(),'off visibility')end
|
||||||
P.ClassAssistCommand('cooldowns','show');assert(EssentialCooldownViewer:IsShown())
|
P.ClassAssistCommand('cooldowns','show');assert(EssentialCooldownViewer:IsShown())
|
||||||
|
assert(gap(ObjectiveTrackerFrame,MultiBarRight)>=23.9,'cooldown mode change restored tracker over utility controls')
|
||||||
assert(#EssentialCooldownViewer:GetCooldownIDs()==6,'unknown spells leaked into native category')
|
assert(#EssentialCooldownViewer:GetCooldownIDs()==6,'unknown spells leaked into native category')
|
||||||
assert(#P.classAssistReserved==4 and #RuenUICharacter.classAssistUnplaced==0)
|
assert(#P.classAssistReserved==4 and #RuenUICharacter.classAssistUnplaced==0)
|
||||||
-- Geometry stress is deliberately synthetic; lists remain native, not Ruen spell lists.
|
-- Geometry stress is deliberately synthetic; lists remain native, not Ruen spell lists.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user