Power state (cord vs battery) reverses text foreground/background on Macbook Pro 2019
Thanks for filing an issue! Please answer the questions below so I can help you.
-
iTerm2 version:3.3.7
-
OS version:10.15.2
-
Attach com.googlecode.iterm2.plist here (drag-drop from finder into this window)
-
Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
-
Are you reporting a performance issue, excessive CPU usage, or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
-
Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
-
Are you reporting excessive memory usage? Please attach a heap analysis: https://gitlab.com/gnachman/iterm2/wikis/heapshot
Detailed steps to reproduce the problem:
- Open an iTerm window on my MacBook Pro (16-inch, 2019) with the power unplugged.
- Plug in the power (USB-C).
What happened: The text colors reverse foreground and background(!) Removing the power changes it back to normal. Also, when the power is plugged in, checking and unchecking the "Automatic graphics switching" radio box in the "Energy Saver" System Preferences Pane makes the text briefly go back to normal, but then it comes back to reversed.
What should have happened: The text colors and reverse state should not depend on the power state.