flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

Device selector does not support default Light theme

Open lukef opened this issue 8 months ago • 10 comments

The default Light theme in intellij/android studio has a dark header bar. There is a Light + Light header variant as well. If you select the Light theme you will get:

Image

Platform: Linux
Flutter plugin version: 83.0.4

Android Studio information:
Android Studio Meerkat | 2024.3.1
Build #AI-243.22562.218.2431.13114758, built on February 24, 2025
Runtime version: 21.0.5+-12932927-b750.29 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.13.5-200.fc41.x86_64
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 3924M
Cores: 12
Registry:
  ide.experimental.ui=true
  i18n.locale=
Non-Bundled Plugins:
  Dart (243.23177)
  io.flutter (83.0.4)
Current Desktop: GNOME

lukef avatar Mar 17 '25 00:03 lukef

This looks very different with the latest UI. Here is the selector in my editor:

Image

Could you try to uninstall and install the plugin again and see if it works?

AlexV525 avatar Mar 19 '25 06:03 AlexV525

I think you're using dark mode in that screenshot. The issue isn't for Dark vs Light. The issue is for the default Light mode that uses a Dark header.

For instance:

Image

Light = Light content with a DARK header Light with Light Header = Light content with a LIGHT header

I dug into the issue a little and I'm not sure whether there is sufficient information from the IntelliJ SDK to determine if the header is a "dark variant" or not. It seems to only report on the theme as a whole.

lukef avatar Mar 20 '25 15:03 lukef

My result when using Light is still different from yours.

Image

AlexV525 avatar Mar 28 '25 15:03 AlexV525

What version and IDE is this? I'm using the latest stable releases and mine doesn't look anything like that.

lukef avatar Apr 05 '25 00:04 lukef

What version and IDE is this? I'm using the latest stable releases and mine doesn't look anything like that.

IntelliJ IDEA 2024.3.5 (Ultimate Edition) Build #IU-243.26053.27, built on March 16, 2025

AlexV525 avatar Apr 10 '25 02:04 AlexV525

I've the same issue appearing in both IntelliJ IDEA (2024.3.5 (Ultimate Edition)) and Android Studio (Ladybug Feature Drop | 2024.2.2.)

mahmuttaskiran avatar May 19 '25 05:05 mahmuttaskiran

Are you using a light theme for the system? Would changing it be helpful?

AlexV525 avatar May 19 '25 06:05 AlexV525

BTW, OS I'm using is MacOs 15.4

Light Theme:

Image ---

Dark Theme:

Image

Dark Theme when settings screen open:

Image

Light Theme with Light Header:

Image

Light Theme with Light Header when settings screen open:

Image

mahmuttaskiran avatar May 19 '25 07:05 mahmuttaskiran

Are you using a light theme for the system? Would changing it be helpful?

I've tried both of system setting themes and the issue stays same.

mahmuttaskiran avatar May 19 '25 08:05 mahmuttaskiran

Having the same issue. Clearly an issue with the plugin.

vasiltabakov avatar Jun 04 '25 21:06 vasiltabakov

I also see it on macos with the default light theme. The issue only happens in a light mode

Image

A good workaround for now is to set preferred theme to "Light with light header", which makes the header light and hence the bug not so noticeable:

Image

SAGV avatar Aug 01 '25 11:08 SAGV

Could anyone still having the issue try using #8471 to build the plugin locally and verify if it resolves the issue?

AlexV525 avatar Aug 18 '25 09:08 AlexV525