Author Topic: Color picker alpha control bugs  (Read 238 times)

Brandon

  • Community Member
  • Posts: 39
  • Hero Points: 5
Color picker alpha control bugs
« on: May 29, 2024, 08:22:05 PM »
In the color picker and testing with an HTML file, the Alpha value:
1) cannot be edited with keyboard
2) slider is creating huge decimal values
3) the alpha value is inserted incorrectly as #AARRGGBB when it should be #RRGGBBAA
4) it is rendering as an incorrect color in the editor because of #3
Also,
1) there are two colons :: after the White label
2) it would be nice if this UI could be interacted with in hex
3) it would be nice to show the value that is going to be inserted under the Output field (formatted based on the Output selection format) before hitting OK



Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: Color picker alpha control bugs
« Reply #1 on: May 29, 2024, 08:57:20 PM »
We will look into these. Thanks for posting

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: Color picker alpha control bugs
« Reply #2 on: May 29, 2024, 10:01:32 PM »
When you say "1) cannot be edited with keyboard" what exactly do you mean. Do you mean you can't edit the alpha value? This is a limitation for now. Would be nice for this to be editable and to even support hex values.

With "2) slider creating huge decimal values", are you talking about the "Alpha:" slider floating point numbers (comically large).

3) Bug. Good catch

4) Unfortunately this is not hot fixable. Bug is in C++ code.

Good catch on the two colons.

Good enhancement suggestions.
« Last Edit: May 29, 2024, 10:46:55 PM by Clark »

Brandon

  • Community Member
  • Posts: 39
  • Hero Points: 5
Re: Color picker alpha control bugs
« Reply #3 on: May 30, 2024, 03:26:40 PM »
1a) yes, I cannot enter an alpha value. 

1b) Hex input would be nice for RGBA side.  Maybe consider two "modes" of input so the controls on the right column would be decimal or hex. 
Or, if you wanna go nuts, widen the form a little and add hex text fields next to the decimal ones to edit/see both at the same time  ;D

2) Yes. Considering the range of potential target values (percent, hex, etc) I would suggest for input an integer range of 0-100 as this is ultimately a percent that gets converted downstream to the desired target form e.g. 0.5, 50%, or 0x80.

4) OK, next one then.  Having the correct value in code is more important.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: Color picker alpha control bugs
« Reply #4 on: June 01, 2024, 08:17:54 PM »
A hot fix is available for some of these issues.  We haven't made any enhancements yet but we're are thinking about how to improve this color dialog in the future

Download the hot fix here:

https://www.slickedit.com/hotfixes

Then load the hot fix: Help>Product Updates>Load Hot Fix...