Closed Bug 1894166 Opened 1 year ago Closed 13 days ago

When opening local PDFs, only the text after the last hashtag (#, if it exists) is shown as the tab title (e.g. output#1.pdf shows up as 1.pdf).

Categories

(Firefox :: PDF Viewer, defect, P1)

Firefox 124
Desktop
All
defect

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox126 --- wontfix
firefox127 --- wontfix
firefox128 --- wontfix
firefox142 --- fixed

People

(Reporter: kenxshibata, Assigned: calixte)

References

Details

Attachments

(2 files)

Attached file one#two#three.pdf

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0

Steps to reproduce:

Open any PDF with a hashtag: e.g. one#two#three.pdf

Actual results:

A new tab with title "three.pdf" was shown.

Expected results:

The tab title should have been "one#two#three.pdf"

The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → PDF Viewer

The severity field is not set for this bug.
:calixte, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(cdenizet)
Severity: -- → S3
Flags: needinfo?(cdenizet)
Priority: -- → P3

Managed to reproduce this issue on:

  • Firefox 126.0;
  • Firefox 127.0b4;
  • Firefox Nightly 128.0a1;

Tested and reproduced on:

  • Windows 10;
  • macOS 12;
  • Ubuntu 22;

STR used:

  1. Download the attachment.
  2. Launch Firefox.
  3. Open the pdf downloaded in step 1 with Firefox(either via context menu or drag and drop).

Setting as NEW.

Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → Desktop
Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Priority: P3 → P1
Status: ASSIGNED → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: