Toxicom / toxiui

ToxiUI is a plugin for ElvUI in World of Warcraft
Other
24 stars 15 forks source link

Empty AFK Screen #145

Open billriess opened 5 days ago

billriess commented 5 days ago

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

image

Screenshots

image image

To reproduce

If this issue is describing a bug, include some steps to reproduce the behavior

  1. Type /afk
Toxicom commented 5 days ago

Can you reproduce this with /tx debug on? Also, can you /fstack around and see if any AFK elements get created at all?

billriess commented 5 days ago

image

Still happens with /tx debug on.

Toxicom commented 5 days ago

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 🤔

Toxicom commented 5 days ago

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)

billriess commented 5 days ago

Yeah its strange, the camera does rotate and the model will animate but that's basically it.

billriess commented 5 days ago

image

Fresh profile, still happens

billriess commented 5 days ago

Lowering the resolution to 1440p I see this: image

So it seems to be resolution related.

billriess commented 5 days ago

image

    -- 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