Thread Tools Display Modes
Old 07-03-10, 11:20 PM   #1
Voorije
Premium Member
Premium Member
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 59
Exclamation nUI+ (maybe vanilla too): Anchor Positions need adjusting.

Version: 5.06.26 (Plus)

I play windowed (not window-maximized because i like to move my client between my two monitors a lot.)

When my game launches up it's @ 1680x1050, to which i maximize the game to fit my 1920x1200 screen, (or my other 1680x1050 screen).

When I do this once wow is logged in, some things (namely the Chat box & Combat log) are not positioned right. I have to reload ui.

I suggest changing the anchor to the Bottom-Left/Bottom-Right respectively and binding them to the corners of UIParent, this way thier offset is the same each time the client is resized.

http://images.reanmachine.com/wow/Wo...310_231818.jpg

An example of what i'm talking about...
__________________

Last edited by Voorije : 07-03-10 at 11:28 PM.
Voorije is offline  
Old 07-04-10, 06:45 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
This is actually a different issues related to the new chat frames. Several people have reported this anchoring issue with the chat frames, but I have yet to have figured out what is causing it.

For the record, the anchor is actually changing in-game. It's not where it's anchored that the issue, it that it is a whole new anchor and not of my choosing.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
spiel2001 is offline  
Old 07-04-10, 08:40 AM   #3
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,025
Voorije,

Being an addon author I feel I can suggest this for you to try.

If you are using one of your own addons or can create a simple one. Create one that tracks events running.

Have it track ADDON_LOADED, VARIABLES_LOADED, PLAYER_LOGIN and UPDATE_CHAT_WINDOWS.

My guessing is that every time it misaligns PLAYER_LOGIN is appearing before UPDATE_CHAT_WINDOWS. The latter being the event that is called after blizz has updated all the chat windows.

For those that are repeatedly getting this issue perhaps you can test this out also. Here's one I wrote to test it out myself but for me it only seems to happen when I don't have the addon running rofl.

It also writes the last session event order to the wtf saved variable file so when you see it happen while the addon is running, log out and rename the file so that it doesn't get overwritten and then post it up here.

It will hopefully confirm my suspicions that either PLAYER_LOGIN or UPDATE_CHAT_WINDOWS is being inconsistent.
Attached Files
File Type: zip XEventWatcher.zip (883 Bytes, 594 views)
__________________

Last edited by Xrystal : 07-04-10 at 08:45 AM.
Xrystal is offline  
 

Go BackWoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » nUI+ (maybe vanilla too): Anchor Positions need adjusting.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off