Width of the DateField is shrinking in 6.1.2 - Bug?

Every time I set a new value to an already displayed DateField, the width is shrinking by a couple of pixels. So, after several attempts, the right part of the date value displayed will not be visible.
This is in 6.1.2 and was not there in 6.1.1.

Sounds like a regression, but could not reproduce in demo.vaadin.com. Please create a ticket to dev.vaadin.com with instructions or test app on how to reproduce.

Ticket #3506 created. (By the by, I can’t select 6.1.2 there. Only 6.1.1 is available in the drop-down list).

Here is a test program to demo this issue. Run the program and keep pressing the “Set” button to watch DateField width shrinking.


import java.util.Date;

import com.vaadin.Application;
import com.vaadin.ui.*;
import com.vaadin.ui.Button.ClickEvent;

@SuppressWarnings("serial")
public class Test extends Application {

	public Test() {
	}

	@Override
	public void init() {
		setMainWindow(new TestWindow());
	}
	
	class TestWindow extends Window implements Button.ClickListener {
		
		private DateField date = new DateField();
		private Button set = new Button("Set", this);
		
		public TestWindow() {
			Panel panel = new Panel("Date Test");
			panel.addComponent(date);
			panel.addComponent(set);
			addComponent(panel);
		}

		@Override
		public void buttonClick(ClickEvent event) {
			date.setValue(new Date());
		}
		
	}
}

Thanks. Added 6.1.2 to versions list.