BigWigsMods / BigWigs

Modular, lightweight, non-intrusive approach to boss encounter warnings.
241 stars 172 forks source link

Cannot set completely red as a color for bars #1346

Open syndenbock opened 1 year ago

syndenbock commented 1 year ago

Describe the problem

When setting the color of a bar to fully red (RGB 255 0 0 with 100 Alpha) the bar color is set to white instead of red. This only happens with this exact value, changing a single value by a single digit works around the issue already (eg 254 0 0 with 100 Alpha works). I tested this both with only ColorPickerPlus or ElvUI enabled alongside BigWigs to be able to use their color picking panels to set an exact color. I doubt the issue comes from their panels as they work fine with setting a completely red color on WeakAuras.

What steps will reproduce the problem?

  1. Install ColorPickerPlus alongside BigWigs to be able to set exact color values
  2. Go to the Raid Bosses section in the BigWigs config panel
  3. Select any boss from any raid in that section
  4. Configure any boss mechanic by clicking the ">>" button
  5. Select the "Colors" tab in the configuration panel
  6. Click on the "Emphasized" color to open the color panel
  7. Set the color to an RGB value of 255 0 0 with 100 alpha
  8. Click the "Okay" button to apply the color
  9. Instead of fully red, the color will be set to white

Consider attaching a screenshot below to help describe your issue (Attach directly, do not link to other websites)

image

What version of BigWigs are you using? (Stating 'latest' is not useful)

264 (2e76a88)

Do you have an error log of what happened?

No error occurs with this issue

Any additional information? (example: WoW language if not English)

No additional info

ntowle commented 1 year ago

This works fine for me:

image image

I tested this with and without ElvUI enabled, though maybe some plugin is interfering.

Does this happen with the default emphasized bars? You can just click "Create Test Bar" in /bw.

If it does happen there, disable absolutely everything except BigWigs and try again.

syndenbock commented 1 year ago

I can change the default color of emphasized bars to 255 0 0 100 perfectly fine. While testing this out I noticed that changing the color for a specific mechanic to 255 0 0 100 doesn't reset the color to white as I wrote but actually to the default emphasized bar color instead. Is there a way to set an exact color using the default color picker that's used when only enabling BigWigs?