Missing hyperlink context menu actions when anchor element contains nested image in email body · Issue #7457 · thunderbird/thunderbird-android · GitHub
Skip to content

Missing hyperlink context menu actions when anchor element contains nested image in email body #7457

Closed

Description

Checklist

  • I have used the search function to see if someone else has already submitted the same bug report.
  • I will describe the problem with as much detail as possible.

App version

6.710

Where did you get the app from?

F-Droid

Android version

13

Device model

No response

Steps to reproduce

  1. Receive an e-mail with an HTML body containing an anchor element with a nested image. It doesn't matter whether the anchor element contains just the image or both an image and text. I'm currently unable to check whether this applies to img elements, elements with a style attribute that sets the background-image, or both (since Thunderbird Android doesn't support displaying or downloading EML files yet).
  2. Long-press anywhere in the anchor element (including on the text if the anchor contains both text and an image).

Expected behavior

A context menu modal is displayed containing both...

  • the actions of the context menu for links ("open", "share link", "copy link", "copy link text")
  • and the actions of the context menu for images ("show image", "download image", "copy image url")

Actual behavior

The context menu for images overrides the context menu for links, so there is no way to copy the link if it contains a nested image. This is even the case if the anchor element contains both an image and text and the user is long-pressing the text only.

Logs

No response

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething is causing incorrect behavior or errors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions