Skip to content

[🐛 BUG] Favicon not being displayed using run(favicon="favicon.png") #1767

Description

@ShootingStarD

What went wrong? 🤔

I cannot display a favicon even if I specify it in the run arguments
The favicon is 96x96 pixels in png

Expected Behavior

My favicon to be displayed

Steps to Reproduce Issue

from taipy.gui import builder as tgb
from taipy.gui import Gui
from pathlib import Path
favicon_path = Path("favicon.png")
with tgb.Page() as page:
    if favicon_path.exists():
        tgb.text("The favicon exists ")
    tgb.text("Where is my favicon?")
    
Gui(page,).run(debug=True, use_reloader=True, port=5111, favicon=str(favicon_path))

Solution Proposed

No response

Screenshots

image

Runtime Environment

Ubuntu

Browsers

Firefox

OS

Linux

Version of Taipy

3.1.1

Additional Context

taipy==3.1.1
taipy-config==3.1.1
taipy-core==3.1.1
taipy-gui==3.1.4
taipy-rest==3.1.1
taipy-templates==3.1.1

Acceptance Criteria

  • Ensure new code is unit tested, and check code coverage is at least 90%.
  • Create related issue in taipy-doc for documentation and Release Notes.

Code of Conduct

  • I have checked the existing issues.
  • I am willing to work on this issue (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions