Skip to content

Always render the Annotation- and XFA-layers with light color-scheme (issue 19871) #19874

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

Merged
merged 1 commit into from
Apr 27, 2025

Conversation

Snuffleupagus
Copy link
Collaborator

The intention with PR #19819 was to change how colours are specified for the viewer UI, however it wasn't intended to affect elements in the Annotation- and XFA-layers.
Hence we enforce the light color-scheme for these layers, and also make sure to provide a default color for PopupAnnotations.

…` (issue 19871)

The intention with PR 19819 was to change how colours are specified for the viewer UI, however it wasn't intended to affect elements in the Annotation- and XFA-layers.
Hence we enforce the light `color-scheme` for these layers, and also make sure to provide a default `color` for PopupAnnotations.
@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/ebc94d67c4fb2f7/output.txt

@Snuffleupagus Snuffleupagus linked an issue Apr 26, 2025 that may be closed by this pull request
@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/ebc94d67c4fb2f7/output.txt

Total script time: 0.86 mins

Published

@timvandermeij
Copy link
Contributor

Thanks! I have confirmed with test/pdfs/xfa_issue13994.pdf that the XFA layer was indeed also affected (which I hadn't noticed before) and that's also fixed by this patch.

@timvandermeij timvandermeij merged commit 9e1f93e into mozilla:master Apr 27, 2025
7 checks passed
@Snuffleupagus Snuffleupagus deleted the issue-19871 branch April 27, 2025 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Annotation title text is hardly readable in dark theme
3 participants