msknathan / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Keyboard entering of colours is limited to two characters #251

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Open the options dialog;
2. In the “Looks” tab, click on “Foreground”;
3. Try to enter a colour by typing the “red”, “green” and “blue” 
components.

What is the expected output? What do you see instead?

I would expect to be able to type three digits, but instead I can only type 
two. Moreover, when I try to copy-paste the value, I get only two digits. 
However, when I select a colour from the palette, then I can get values with 
three digits.

What versions of mintty, Cygwin/MSYS, and Windows are you using?

mintty-0.9.6-msys on Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by berger.j...@gmail.com on 25 Feb 2011 at 4:49

GoogleCodeExporter commented 9 years ago
I couldn't reproduce that on two XP machines. The dialog in question is the 
standard Windows colour chooser, so I've got no idea what could be wrong with 
it. It's also used for example in the Paint utility (double-click on one of the 
colours at the bottom), and for the desktop colour on the Desktop tab of the 
Display control panel (click on the "Other..." button in the colour dropdown). 
Do you see different behaviour there?

Original comment by andy.koppe on 25 Feb 2011 at 7:49

GoogleCodeExporter commented 9 years ago
You are right, I see the same issue when choosing the desktop colour so this is 
not a mintty-specific problem.

For the record, I was able to work around it by setting the colour directly in 
the mintty config file ($HOME/.minttyrc).

Original comment by berger.j...@gmail.com on 28 Feb 2011 at 1:02

GoogleCodeExporter commented 9 years ago
Thanks for reporting back.

According to this page, the problem is triggered by non-default font size or 
DPI settings. It's also got a hackaround.

http://www.tech-recipes.com/rx/3409/fix-windows-xp-choose-color-dialog-only-allo
ws-2-digits-not-3

Original comment by andy.koppe on 28 Feb 2011 at 7:02