[GH-ISSUE #8420] [Issue]: Usability: Message background transparency disregarded after Avatar Color Extraction #8348

Closed
opened 2026-11-07 16:42:23 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @Rojikku on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8420

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Usability Issue: Roleplay backgrounds do not follow Roleplay Messages Background Opacity after using avatar color extraction (I.E. for speech highlighting purposes).

Expected behavior

Roleplay Messages Background Opacity should have influence over the opacity of said messages, and/or an immediately relevant toggle to guarantee that effect.

Actual behavior

If you like colored quotes, and click the Avatar Color Extraction, the color of message boxes is also set, in rgba, which hardcodes transparency from a hardcoded value.

github.com/Pasta-Devs/Marinara-Engine@e5ead06ac2/packages/client/src/lib/avatar-color-extraction.ts (L57)

  • Considering default transparency is 90%, I don't understand the 0.25 as a choice for hardcoding.

github.com/Pasta-Devs/Marinara-Engine@e5ead06ac2/packages/client/src/components/chat/ChatMessage.tsx (L2835)

  • It appears to silently override all settings

Steps to reproduce

  1. Use Avatar Color Extraction
  2. Open roleplay with said character
  3. Struggle to read on any colorful background

Environment

  • Marinara Engine version: v2.5.1 staging
  • Install type: source
  • OS + version: Linux 7.3
  • Browser or app shell: Firefox

Logs, screenshots, or video

Additional context

  • If you Apply preset colors, it disregards that value...But that also disregards
    Roleplay Messages Background Opacity, so it's not really a workaround?

  • I would be happy to spend some time with claude code and test a resolution to PR, but honestly am unclear on the thought process behind RGBA (since it's recommended in the instructions) and how you'd want it to be resolved in practice. Many possible solutions.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Rojikku on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8420 Originally assigned to: @SpicyMarinara on GitHub. ## Summary <!-- What is wrong in one or two sentences? --> Usability Issue: Roleplay backgrounds do not follow Roleplay Messages Background Opacity after using avatar color extraction (I.E. for speech highlighting purposes). ## Expected behavior Roleplay Messages Background Opacity should have influence over the opacity of said messages, and/or an immediately relevant toggle to guarantee that effect. ## Actual behavior <!-- What happened instead? --> If you like colored quotes, and click the Avatar Color Extraction, the color of message boxes is also set, in rgba, which hardcodes transparency from a hardcoded value. https://github.com/Pasta-Devs/Marinara-Engine/blob/e5ead06ac2fe1cb3e039f8cab7e4d266b01dac44/packages/client/src/lib/avatar-color-extraction.ts#L57 * Considering default transparency is 90%, I don't understand the `0.25` as a choice for hardcoding. https://github.com/Pasta-Devs/Marinara-Engine/blob/e5ead06ac2fe1cb3e039f8cab7e4d266b01dac44/packages/client/src/components/chat/ChatMessage.tsx#L2835 * It appears to silently override all settings ## Steps to reproduce 1. Use Avatar Color Extraction 2. Open roleplay with said character 3. Struggle to read on any colorful background ## Environment - Marinara Engine version: v2.5.1 staging - Install type: source - OS + version: Linux 7.3 - Browser or app shell: Firefox ## Logs, screenshots, or video <!-- Paste relevant logs and add screenshots when possible --> ## Additional context <!-- Optional: related issue links, temporary workaround, etc. --> * If you Apply preset colors, it disregards that value...But that *also* disregards Roleplay Messages Background Opacity, so it's not really a workaround? * I would be happy to spend some time with claude code and test a resolution to PR, but honestly am unclear on the thought process behind RGBA (since it's recommended in the instructions) and how you'd want it to be resolved in practice. Many possible solutions. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-11-07 16:42:23 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 28, 2026):

I am taking this fix as @SpicyMarinara (Codex). I will reproduce the opacity behavior with extracted character/persona colors, trace preset-color precedence, and make the existing Roleplay background-opacity setting apply consistently without changing stored color choices.

<!-- gh-comment-id:6483430334 --> @SpicyMarinara commented on GitHub (Oct 28, 2026): I am taking this fix as @SpicyMarinara (Codex). I will reproduce the opacity behavior with extracted character/persona colors, trace preset-color precedence, and make the existing Roleplay background-opacity setting apply consistently without changing stored color choices.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 29, 2026):

Fixed in #8424, now merged into staging. The Roleplay opacity slider replaces saved character/persona and native preset background alpha; saved color values are preserved.

<!-- gh-comment-id:6484066309 --> @SpicyMarinara commented on GitHub (Oct 29, 2026): Fixed in #8424, now merged into staging. The Roleplay opacity slider replaces saved character/persona and native preset background alpha; saved color values are preserved.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8348
No description provided.