Skip to content

Legacy print button navigates to non-existent print.html, causing repeated print dialogs and broken print usage when navigated #471

@melvnl

Description

@melvnl

Print Button Glitch

Summary

The current Print button links to print.html (which doesn't exists) which causes the browser print dialog to be re-triggered repeatedly when users navigate back and forth, both on web and mobile browsers.

Expected Behavior

  • Clicking Print opens the browser print dialog (window.print())
  • No page navigation occurs
  • Canceling print or navigating back does not re-trigger printing

Actual Behavior

  • Clicking Print navigates to /print.html
  • Print dialog is triggered
  • Navigating back or switching tabs triggers print again
  • This creates a UI glitch

Impact

This is a UI glitch that disrupts normal reading flow and ruins user experience, especially on mobile devices where back navigation is common.

Evidence

📹 Attached video demonstrating the repeated print trigger on:

Edit: print.html does exist, since this is a special page generated by mdBook

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions