WeakAuras

WeakAuras

206M Downloads

Using Conditions to create an Action Button Glow and on an already existing Action Button Glow does not behave as expected when changing the size of an icon aura.

nullKomplex opened this issue ยท 0 comments

commented

Describe the bug

Changing the size of an icon through conditions causes Action Button Glow to misbehave.
Expected Behavior: The Action Button Glow should match the size of the icon.
Actual Behavior:
Case 1 - Both parts of glow match height as expected. The animated portion of the glow matches the original width of the aura. The static portion appears to match 75% of the new width of the aura.
Case 2 - Incredibly inconsistent behavior. Sometimes behavior matches Case 1. Sometimes Case 3 (after Case 3 has been reloaded). Unable to consistently replicate differences in behavior.
Case 3 - Glow is unchanged, matches original size of aura. However, when reloading the animation portion remains the original size of the aura and the static portion appears to match 75% of the new size.

To Reproduce

The auras supplied below may be imported and the aberrant behavior will be immediately evident.

Alternatively:

  1. Create an icon aura
  2. Set trigger to Status - Condition - Always Active Trigger

Case 1:
3. Create a condition that does the following:
-a. If Trigger 1 - Active - True
-b. Then:
-c. Height (value signficantly higher than original, I used 200 throughout)
-d. Width
-e. Set Glow Visibility - Checked
4. Close WA Options and observe.

Case 2:
3. Create a condition that does the following:
-a. If Trigger 1 - Active - True
-b. Then:
-c. Height
-d. Width
4. Create an additional condition that does the following:
-a. If Trigger 1 - Active - True
-b. Then:
-c. Set Glow Visibility - Checked
5. Close WA Options and observe.

Case 3:
3. Enable Show Glow Effect Glow under Display (default settings).
4. Create a condition that does the following:
-a. If Trigger 1 - Active - True
-b. Then:
-c. Height
-d. Width
5. Close WA Options and observe.

Screenshots

Both screenshots show: Baseline - Case 1 - Case 2 - Case 3. Along with a 64px wide and 150px wide aura to showcase the sizes.

https://i.imgur.com/guVHGgO.png
https://i.imgur.com/1o0I0uu.png

Case 2 1? behaving oddly:
https://i.imgur.com/eLqsf15.png
Normally that was Case 2. I guess it's more inconsistent than I thought.

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?

Tested with only WeakAuras officially related addons enabled (WeakAuras 2, WeakAuras Options, WeakAuras Templates, WeakAuras Companion, and WeakAuras Model Paths)

Which version of WeakAuras are you using?

2.11.1

Was it working in a previous version? If yes, which was the last good one?

Unknown.

Additional context

In the event that this was an "always active trigger" problem, I did recreate the issue with an always showing icon that only applied conditions upon applying an aura and the strange behavior still occurred, even in case 3.

https://wago.io/q4tBqpvAu

Contains a full suite of a baseline aura, all 3 cases in order, and 2 additional auras to compare size of misbehaving glows.