vaadin / framework

Vaadin 6, 7, 8 is a Java framework for modern Java web applications.
http://vaadin.com/
Other
1.78k stars 730 forks source link

ColorPickerHistory always sets white color #12592

Closed krockamichael closed 2 months ago

krockamichael commented 1 year ago

Vaadin version: 8.14.3 Browser: any, e.g. Chrome Version 114.0.5735.199 (Official Build) (64-bit) Container: TomEE, J2EE

Steps to reproduce:

  1. Let's have a Vaadin screen with ColorPicker
  2. ColorPicker features also history - ColorPickerHistory
  3. Upon clicking cell in history a ValueChangeEvent is fired
  4. This value change event, however, has value set to white rgb(255,255,255) and not the actual color that is present in the history cell
  5. This is due to the fact that the ColorPickerHistory.getValue() returns the white color

Workaround: None.

ladislavlencucha commented 2 months ago

@Ansku in which version is this fix going to be available?

Ansku commented 2 months ago

My guess would be 8.27.0, but it hasn't been added to a milestone quite yet and the summer vacations are slowing things down a bit.