Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thunderbird not respecting PROCESS_TEXT #8778

Open
2 tasks done
DavidVentura opened this issue Jan 28, 2025 · 1 comment · May be fixed by #8780
Open
2 tasks done

Thunderbird not respecting PROCESS_TEXT #8778

DavidVentura opened this issue Jan 28, 2025 · 1 comment · May be fixed by #8780
Labels
good first issue Ideal for newcomers to start contributing type: bug Something is causing incorrect behavior or errors

Comments

@DavidVentura
Copy link

DavidVentura commented Jan 28, 2025

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

8.2

Where did you get the app from?

F-Droid

Android version

13

Device model

No response

Steps to reproduce

  1. Highlight text in Thunderbird

Image

Expected behavior

Applications with PROCESS_TEXT intent filter should be visible in the pop-up menu

Actual behavior

Applications with PROCESS_TEXT intent filter are not visible in the pop-up menu.

Compare to Firefox (see: Translate option)

Image

Logs

No response

@DavidVentura DavidVentura added type: bug Something is causing incorrect behavior or errors unconfirmed Newly reported issues awaiting triage or confirmation labels Jan 28, 2025
@cketti
Copy link
Member

cketti commented Jan 28, 2025

This is caused by the package visibility filtering introduced in Android 11. See https://developer.android.com/training/package-visibility/use-cases#custom-text-selection-actions

Adding the following to app-common/src/main/AndroidManifest.xml fixes the issue:

<queries>
    <!-- Allow access to external text processing actions so they can be displayed in the text selection toolbar -->
    <intent>
        <action android:name="android.intent.action.PROCESS_TEXT" />
        <data android:mimeType="text/plain" />
    </intent>
</queries>

@cketti cketti added good first issue Ideal for newcomers to start contributing and removed unconfirmed Newly reported issues awaiting triage or confirmation labels Jan 28, 2025
akash0228 pushed a commit to akash0228/thunderbird-android that referenced this issue Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Ideal for newcomers to start contributing type: bug Something is causing incorrect behavior or errors
Projects
None yet
2 participants