Skip to content

LINK_TEXT_COPY does copy some style items #10115

@hans-fritz-pommes

Description

@hans-fritz-pommes

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

Thunderbird for Android

App version

13.0

Where did you get the app from?

F-Droid

Android version

Not relevant - if you can't reproduce on your device - there is no problem

Device model

Not relevant

Steps to reproduce

  1. Open E-Mail with Hyperlink inside
    per example:

test_copy_link_text.html

  1. Press long on the Hyperlink
  2. select "Copy link text to clipboard"
  3. Paste in Browser-Address-Input or Text-Editor - anything without format
  4. Do you see the problem?

Expected behavior

Get the text this_is_the_problem_text which I see in the E-Mail

Actual behavior

I get this:

.linkStyledText, .linkStyledText span, span.linkStyledText { color: #0968F6!important; }
@media(prefers-color-scheme: dark) {
.linkStyledText, .linkStyledText span, span.linkStyledText { color: #4D93FC!important; }
}
this_is_the_problem_text

More

I think you have to change something in the file
legacy/ui/legacy/src/main/java/com/fsck/k9/ui/messageview/LinkTextHandler.kt

Metadata

Metadata

Assignees

Labels

good first issueIdeal for newcomers to start contributingtype: bugSomething is causing incorrect behavior or errors

Type

Projects

Status

In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions