Closed Bug 1698723 Opened 3 years ago Closed 3 years ago

Links in PDF files should open in a browser

Categories

(Thunderbird :: Mail Window Front End, defect)

defect

Tracking

(thunderbird_esr78 unaffected)

RESOLVED FIXED
89 Branch
Tracking Status
thunderbird_esr78 --- unaffected

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(1 file)

Links to web pages from PDFs should not open in the same tab, but in a the user's browser.

This would be handled by the LinkHandler actor, except that it doesn't handle links in mail messages. I'm not sure what to do about that.

Actually, if I add onclick="return contentAreaClick(event);" to the tab's browser, that should get handled, because PDF attachments are displayed in the parent process. The actor isn't involved at all. I wonder if there are any side-effects.

The added handler only affects parent process content tabs. It's the same as the handler on the message pane.

I've disabled the link handling actor for parent process browsers so that only the onclick handler is in effect for them.

Assignee: nobody → geoff
Status: NEW → ASSIGNED

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/cf1486a70494
Restore an onclick handler to content tabs. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Regressions: 1707503

I would like to request back-out of this. As pointed out 8 days ago, this causes regressions in the add-on manager and today I realized I can no longer change options in the settings page of the add-on inspector. After backing this out locally, both works again.

Did you file a bug about the regressions?

Yes, bug 1707503, listed above Comment 4.

Regressions: 1711841

Bug 1711841 is also a regression. Could you have a look?

Flags: needinfo?(geoff)
Flags: needinfo?(geoff)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: