-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
"R G B" Values in Hexidecimal Editors are Improperly Arranged in Reverse #1141
Comments
This issue is similar to #82 from years back: It's strange to me as well. Ever since color pickers were added to Classic Shell, It's good to bring it up again. New coders might be up for the challenge. :) |
I just came to report this too, was so confused. Surprising this bug has been open for so long. |
Maybe because it is not a bug?
What we can do is to add hint about color format into tooltip for given color settings. |
Ah, I didn't see there were more than one bug report open for it. Two things would help.
I'm not convinced having read that COLORREF page that they are saying you should present them to the user in reverse order. Even their own color picker goes RGB order. This is the first time I've experienced anything presenting them in BGR order. I'm sure there must be a few apps where they are, but RGB is very much the norm. |
Just in case a coder decides to totally go all in and adds back & forth translation code for the hex color box, Skin text for example: ; BLUE SAPPHIRE The Hex #color at the end of the above line has to be in BGR format to display the blue-green color. |
It is not only about that skin option. It would be kind of confusing to use multiple color formats in the program. |
Sorry, I don't understand about [All colors in skin description have BGR format]. From where I'm looking at it from a skinners point of view. Ivo added the below info into a number of his skins: ; Caption_text_color - RRGGBB color of the caption text. Defaults to white ; Main_bitmap_mask - a bitmap or a solid color in #RRGGBB format that is used to blend Main_bitmap with the glass color and the menu background color. ; Main_selection_mask - a bitmap or a solid color in #RRGGBB format that is used to blend the selection bitmap with the glass color and the menu background color. This also applies to text, arrows, tints, Programs_background, etc. I agree with your "hint" recommendation for the color box. |
You are right. It would make sense to expect I'll try to have a look at it eventually. |
We are storing color settings in BBGGRR format (for historical reasons). This may be confusing for people that are used to (more widely used) RRGGBB format. Thus we will present color settings in RRGGBB format when editing. We will still use BBGGRR format for those settings internally. To maintain backward compatibility with existing settings stored in registry/xml. Also setting descriptions now contain hint about expected color format. This way it should be more clear what values `Open-Shell` expects. Fixes Open-Shell#82, Open-Shell#1141.
I like the backward compatibility. From the limited amount of testing it, |
Awesome, thanks ge0rdi. When would be expecting this in release roughly? |
I hope it will be soon. |
We are storing color settings in BBGGRR format (for historical reasons). This may be confusing for people that are used to (more widely used) RRGGBB format. Thus we will present color settings in RRGGBB format when editing. We will still use BBGGRR format for those settings internally. To maintain backward compatibility with existing settings stored in registry/xml. Also setting descriptions now contain hint about expected color format. This way it should be more clear what values `Open-Shell` expects. Fixes #82, #1141.
Fixed in 4.4.181. |
Bug
In settings, the RGB values in hexiecimal color selectors are incorrectly arranged as "B G R" instead of "R G B".
I.E. Red in hexidecimal is #FF0000, but in OpenShell, red is #0000FF, which is incorrectly reversed.
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
Hexidecimal editors are always arranged as "R G B", and have been since their inception. Apologies if I sound rude, but I have never seen anyone arrange a hexidecimal editor in reverse.
Version:
Other Notes
I wouldn't have posted this if someone else did, but I am unable to find existing reports on this bug. Apologies if this does turn out to be a duplicate report. I am also aware I have an older version, but once again, the above note still holds true.
The text was updated successfully, but these errors were encountered: