Skip to content

Only show a snackbar when QR scan result is copied for Android 12 and lower#638

Closed
mrxx0 wants to merge 0 commit into
GrapheneOS:mainfrom
mrxx0:remove-snackbar-copy-clipboard
Closed

Only show a snackbar when QR scan result is copied for Android 12 and lower#638
mrxx0 wants to merge 0 commit into
GrapheneOS:mainfrom
mrxx0:remove-snackbar-copy-clipboard

Conversation

@mrxx0

@mrxx0 mrxx0 commented May 1, 2026

Copy link
Copy Markdown
Member

To avoid duplicate notifications and to follow android guidelines for the copy to clipboard this PR disable the snackbar when user copy the QR scan result on Android 13 and upper and keep it for Android 12 and lower.

Closes #619

@muhomorr

muhomorr commented May 4, 2026

Copy link
Copy Markdown
Member

The system clipboard preview isn't shown by the OS in secondary users.

@mrxx0 mrxx0 force-pushed the remove-snackbar-copy-clipboard branch from 8e83432 to 1b5c4f1 Compare May 4, 2026 11:35
@mrxx0 mrxx0 closed this May 4, 2026
@mrxx0 mrxx0 force-pushed the remove-snackbar-copy-clipboard branch from 1b5c4f1 to 3d1d1ff Compare May 4, 2026 11:39
@mrxx0

mrxx0 commented May 4, 2026

Copy link
Copy Markdown
Member Author

Closed by mistake, reopened at #639

The system clipboard preview isn't shown by the OS in secondary users.

Thank you for the review, I fixed it

@muhomorr

muhomorr commented May 4, 2026

Copy link
Copy Markdown
Member

Secondary users aren't the same thing as non-system users. Profiles of the main user are not affected by this issue.

I think it would be better to add a feedback for the "copy action" on top of the copy button instead.

@mrxx0

mrxx0 commented May 4, 2026

Copy link
Copy Markdown
Member Author
Screenshot_20260504-175904 Screenshot_20260504-175907

What do you think of an UI feedback like this ?

Screenshot_20260504-191330 Screenshot_20260504-191334

In case of extremely long url

@muhomorr

muhomorr commented May 5, 2026

Copy link
Copy Markdown
Member

Looks fine, but the color should be dynamic.

@mrxx0

mrxx0 commented May 5, 2026

Copy link
Copy Markdown
Member Author

Updated, #639

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not show confirmation snackbar when copying QR scan result

2 participants