Empty AFK Screen
billriess opened this issue · 11 comments
Description
The AFK screen is not showing much data. This has always looked like this for me. Everything is installed on a clean profile and all AFK-related settings are default.
ToxiUI Status Report
Screenshots
To reproduce
If this issue is describing a bug, include some steps to reproduce the behavior
- Type
/afk
Can you reproduce this with /tx debug on
? Also, can you /fstack
around and see if any AFK elements get created at all?
What's interesting is that you do get some elements of the AFK mode working, like the background frame and the text at the bottom.. I'll investigate further, but last I checked, it works flawlessly for me 🤔
0.6
UI Scale could also be related to this. If it's not too much of a bother, can you create a new environment where you're using default ToxiUI installation settings (UI scale being one of them)
Yeah its strange, the camera does rotate and the model will animate but that's basically it.
-- Debug frame position and size
print("Bottom Frame Coordinates:")
print("Top: ", self.frame.bottom:GetTop())
print("Right: ", self.frame.bottom:GetRight())
print("Bottom: ", self.frame.bottom:GetBottom())
print("Left: ", self.frame.bottom:GetLeft())
-- Debug frame size
print("Width: ", self.frame.bottom:GetWidth())
print("Height: ", self.frame.bottom:GetHeight())
-- Ensure frame visibility by adjusting anchors and offsets
self.frame.bottom:ClearAllPoints()
self.frame.bottom:SetPoint("TOPLEFT", UIParent, "TOPLEFT", 0, 0)
Adding the above code results in most of the UI now being shown but the 3D model is now gone. It seems something is off with the anchor.
The debug print:
[06:43] Bottom Frame Coordinates:
[06:43] Top: 2159.4074707031
[06:43] Right: 2276.4443359375
[06:43] Bottom: -0.5925926566124
[06:43] Left: -0.88889557123184
[06:43] Width: 2277.3332519531
[06:43] Height: 2160.0002441406