Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-78950

Disabling Theme switcher using Dark Feature Flag causes unexpected style changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 10.2.1, 10.3.0, 10.3.3, 10.3.5, 10.3.8, 10.7.2
    • None

      Issue Summary

      As of 10.3.x, the original theme is deprecated and replaced by the Light theme. Users can switch between Light, Dark, and Match System themes using the theme switcher.
      There are scenarios where the theme switcher or dark theme causes UI bugs with apps that don't support dark themes such as Xray. The theme switcher can be disabled using the dark feature flag com.atlassian.jira.theme.switcher.disabled.
      Disabling Theme switcher using the dark feature flag com.atlassian.jira.theme.switcher.disabled causes unexpected style changes.

      Steps to Reproduce

      1. Add the flag com.atlassian.jira.theme.switcher.disabled in Jira Dark Features menu.

      Expected Results

      • The Theme switcher will disappear from the User menu.
      • All users will switch to Light theme mode regardless of what theme they had chosen.
      • No other changes will be affected.

      Actual Results

      • The Theme switcher disappears from the User menu. - expected
      • All users will switch to Light theme mode regardless of what theme they had chosen. - expected

      • The Search box becomes color grey. - not expected
      • When the Create button is highlighted (click on the search bar, then shift+tab to highlight the Create button), the contents of the button become all white. In normal white mode, this doesn't happen. - not expected
      • When a user is in dark theme when the dark feature flag is set, the Activity Stream on the user's Profile page stays in dark theme. - not expected

      Workaround

      Add the snippet below in the Jira announcement banner to hide the Theme switcher button.

      <style type="text/css">
      #theme-button {
      display: none;
      }
      </style>
      

      Please note that this workaround will only hide the Theme switcher button. Users in dark mode will be stay in dark mode. The original dark feature flag to disable Themes will also force switch all users to use the Light theme.

        1. screenshot-1.png
          192 kB
          Konde

              Unassigned Unassigned
              6d6f6a289aac Konde
              Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: