Once I installed the addons that you listed, I began having the same problem with the viewport settings not being re-applied correctly.
As it turns out, CT_Viewport is re-applying the viewport settings correctly when you login or reload your UI. However, after CT_Viewport has updated the viewport, another addon, SpartanUI, alters the position of the bottom right corner of the viewport. After disabling the SpartanUI addon, the problem with the viewport went away.
SpartanUI either attaches the bottom right corner of the viewport to the bottom right corner of your screen, or it attaches it to the top right corner of the SpartanUI bottom bar (the large grey area at the bottom of your screen). This overrides the position that CT_Viewport previously set for the bottom right corner of the viewport. The top left corner of the viewport is ok, since SpartanUI does not alter that.
SpartanUI does have a command (/sui viewport) that you can use to enable or disable what they call a "Dynamic Viewport". This command controls whether the viewport's bottom right corner is attached to the bottom right of the screen or to the top right of their bottom bar. However, since this command always alters the viewport (even if you didn't previously enable their "dynamic viewport"), it won't prevent the issue that you are having.
SpartanUI does not seem to provide any way to prevent their addon from making changes to the viewport. Their command to disable their viewport seems to presume that you are not using a separate viewport addon.
I will look into modifying CT_Viewport in order to try and prevent (or override) other addons from making changes to the size and position of the viewport.
Update:
In the mean time, if you want to modify SpartanUI (version 2.6.1) to prevent it from changing the viewport, you can use a text editor (such as Notepad) to make the following changes to the "BottomBar.lua" file located in the "Interface\AddOns\SpartanUI\global" folder.
Change line 38 from this:
WorldFrame:SetPoint("BOTTOMRIGHT",frame,"TOPRIGHT",0,-5); to this:
-- WorldFrame:SetPoint("BOTTOMRIGHT",frame,"TOPRIGHT",0,-5);
Change line 40 from this:
WorldFrame:SetPoint("BOTTOMRIGHT"); to this:
-- WorldFrame:SetPoint("BOTTOMRIGHT");
By adding the two hyphens at the start of both of those lines it will prevent SpartanUI from altering the bottom right corner of the viewport. Save the modified file, and reload your UI or logout/login.Last updated by dargen
|