rheostat2718 / conemu-maximus5

Automatically exported from code.google.com/p/conemu-maximus5
7 stars 1 forks source link

Unsupported color palette change #982

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Required information!
OS version: Win7 SP1 x64
ConEmu version: 130304
Far version (if you are using Far Manager): n/a

*Bug description*
Windows Console allows you to change the color palette by using the 
CONSOLE_SCREEN_BUFFER_INFOEX structure (in Windows 7; in previous Windows this 
was probably possible, but not supported/documented).
If such request is made, ConEmu displays the colors incorrectly (sticking with 
the old palette).
See attached screenshot.

*Steps to reproduction*
1. Compile the attached listing (colors_test.cpp) with your favorite C++ and 
run it.
NOTE: You might have to uncomment lines 18-40 in case your header files don't 
have the CONSOLE_SCREEN_BUFFER_INFOEX structure defined.

2. Observe another console window popping up for a second.

3. Observe colors being rendered incorrectly (see attached screenshot; see 
http://gynvael.coldwind.pl/img/colors_conhost.png for how it should look like)

NOTE: This is probably very little priority bug.

Original issue reported on code.google.com by gynvael on 10 Mar 2013 at 7:47

Attachments:

GoogleCodeExporter commented 9 years ago
Generally speaking, this is not a bug. ConEmu uses its own palettes, moreover, 
these palettes may be changed/switched automatically when specific application 
is executed in one tab. (that means each tab may have its own palette).

ATM I see no profit in supporting CONSOLE_SCREEN_BUFFER_INFOEX changes. I 
beleieve, you may beforehand set up violet palette in ConEmu and choose it in 
AppDistinct section.

Original comment by ConEmu.Maximus5 on 10 Mar 2013 at 11:39