Color Panel: (RGB) Hex accepts more than 6-7 characters; Also Hex shares field with Name?
-
I found some issues with the hex field in Color (Edit) panel.
1- It allows the user to input more than 6-7 characters (7 would be optional if the user allowed to paste in a hex to reformat out of the # or not for the remaining 6...). It defaults to a white variant, so at least it doesn't save as the invalid input? Video of behavior: https://1drv.ms/v/s!AuWHX0h5bAoRifpnWF3_DK1UnlAfjg?e=zewLkp
It is not user friendly in the sense that say I accidentally copy a paragraph or code instead of a #hex (a thing that happens), for example, it makes a mess of the field for updating... so I tried that...:
2- It does allow me to paste in an entire paragraph. Also, very long copypasta somehow ends up in the Name field as well.
Video of behavior: https://1drv.ms/v/s!AuWHX0h5bAoRifpoOxOLkn75zZ-aJw?e=OjFYVJ
Here is the copypasta I used in the example:
https://1drv.ms/t/s!AuWHX0h5bAoRifppO-Rl2y9SNzdjrg?e=hp6T6p3- Unreasonably long names do not appear as expected in the Color Palette, as a result (See: Name running into the last swatch):
4- I cannot see what is being typed into the field once the name reaches the physical limit of the name field... Video: https://1drv.ms/v/s!AuWHX0h5bAoRifpqmXKBmn4UK8pDdQ?e=UdTMZb
-
@debraspicher I added these to the backlog as bugs and will try to fix them aSAP.
The long copy pasta showing up in the name field is an issue of how the hex field is interpreted (it will also interpret a name if added). This will be fixed once the hex field input is restricted.
-
@VectorStyler Awesome! Also, that's very interesting that color names can be valid inputs. That would explain things.
-
@VectorStyler said in Color Panel: (RGB) Hex accepts more than 6-7 characters; Also Hex shares field with Name?:
The long copy pasta showing up in the name field
You really need to watch out for that spaghetti code... it can really come back to byte you after a while.