-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 10.2.9, 10.5.2
-
Component/s: UI
-
Severity 3 - Minor
Issue Summary
In the merge dialog, a checkbox that is disabled, such as "Delete source branch", is much harder to see than it should be. Its box looks very faint compared with disabled checkboxes in other Atlassian products and in the Atlassian Design System. This happens in both the light and dark themes, and is easier to spot in the dark theme.
Steps to Reproduce
- Turn on a merge queue for a branch (for example `master`) in a repository.
- Create a second branch with at least one change in it.
- Open two pull requests from that second branch to two different branches (for example `master` and `release`). Because the same branch is now the source of two pull requests, Bitbucket won't allow it to be deleted, so the "Delete source branch" checkbox is disabled.
- Switch Bitbucket to the dark theme.
- Open one of the pull requests and click *Merge*.
- Look at the disabled "Delete source branch" checkbox, and compare it with the disabled checkbox example at https://atlassian.design/components/checkbox/examples shown in the dark theme.
Expected Results
The disabled checkbox looks the same as the Atlassian Design System example: the box is clearly visible, but dimmed to show it can't be used.
Actual Results
The box of the disabled checkbox is almost invisible. It is noticeably fainter than the same checkbox in the Atlassian Design System.
The cause is an out-of-date shade of grey used for disabled elements. The Atlassian UI library that Bitbucket uses (AUI) still includes an older version of this color, and it takes priority over the current one. Other disabled elements that use the same color may also look too faint.
No error is shown and nothing is written to the log files. This only affects how the page looks.

Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available.