sublime_text
sublime_text copied to clipboard
[Themes] `CommandInputHandler`'s preview and phantoms always have the `file_dark` luminosity attribute.
Description of the bug
html_control
class has the file_dark
attribute always set.
Here is the control tree of the preview with the Adaptive theme:
control tree at: 586.5,215.5
title_bar [file_light] pos: 0,0 size: 1366,728
.bg=[230, 230, 230, 255]
.fg=[77, 77, 77, 255]
.style=light
edit_window window [file_light] pos: 0,23 size: 1366,705
grid_layout_control pos: 242,23 size: 1124,683
.border_color=[230, 230, 230, 255]
.border_size=2
pane_container_control pos: 242,23 size: 1124,613
control pos: 504,55 size: 600,390
overlay_control command_palette pos: 504,55 size: 600,390
.content_margin=[4, 4, 4, 4]
.layer0.opacity=1
.layer0.tint=[230, 230, 230, 255]
html_control [file_dark] pos: 508,97 size: 592,344
sheet_container_control pos: 242,57 size: 1124,579
.layer0.opacity=1
scroll_area_control [scrollable] pos: 242,57 size: 1124,579
control pos: 242,57 size: 1109,579
text_area_control sheet_contents [file_light, highlighted] pos: 242,-10169 size: 1109,66998
.deleted_line_texture=36
Steps to reproduce
- Start ST in safe mode.
- Enable control tree logging.
- Run 'Arithmetic' from the command palette.
- paste
x
.
Expected behavior
the luminosity attribute should match window
's.
Actual behavior
It doesn't.
Sublime Text build number
4126
Operating system & version
Windows 10
(Linux) Desktop environment and/or window manager
No response
Additional information
No response
OpenGL context information
No response
Oups.
It's html_control
even for phantoms.
@deathaxe, I believe this is a regression, you should add a label.
Was this fixed for 4127 like #5125 ?
@BenjaminSchaaf apologies for the ping, I wanted to bring to a dev's attention that this is a regression and should be fixed.
Fixed in build 4139.