Textualize/rich

[BUG]In the latest versions rich "Title" without color

Opened this issue · 2 comments

rich v 13.0.1 Title is painted over, see screenshot
rich v13.9.4r Title unpainted, see screenshot

OS GNU/Linux and OS Windows

from rich.console import Console
from rich.panel import Panel
from rich.style import Style
import os

console = Console()
console.print(Panel(str(os.environ), title='[bold white]Title[/bold white]', style=Style(color="white", bgcolor="blue")))

rich
Title should be like on the first screen (white on blue), in the second case (updated rich) white on dark (bug?)

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

console.print(Panel(str(os.environ), title='[white on blue]Title[/white on blue]', style=Style(color="white", bgcolor="blue")))
Filling the title with a separate color does not solve the problem (it is also not completely filled).
2024-11-30

Correct result (1 screen, completely painted over header). Workaround is to use rich v 13.0.1.
Is there a fix planned?