Maximus5 / conemu-old-issues

Old issues imported from googlecode. Project was moved to
https://conemu.github.io
6 stars 1 forks source link

Unsupported color palette change #982

Open Maximus5 opened 9 years ago

Maximus5 commented 9 years ago

Originally reported on Google Code with ID 982

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.

Reported by gynvael on 2013-03-10 07:47:55


Maximus5 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.

Reported by ConEmu.Maximus5 on 2013-03-10 11:39:46