ToxiUI - ElvUI edit

ToxiUI - ElvUI edit

349k Downloads

Empty AFK Screen

billriess opened this issue ยท 12 comments

commented

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
commented

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

commented

image

Still happens with /tx debug on.

commented

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 ๐Ÿค”

commented

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)

commented

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

commented

image

Fresh profile, still happens

commented

Lowering the resolution to 1440p I see this:
image

So it seems to be resolution related.

commented

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

commented

I see the 3D model even with the code you've provided.
image

Width is 2px more than it should be, otherwise seems fine.
image

commented

Potentially fixed with v6.8.8-beta.4. Can you test that and let me know?

commented

Re-open the issue if the error persists.

commented

This looks good now, nice job!