| Summary: | DatePickerComposite does not close after selection of date | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] Riena | Reporter: | Artur Schmidt <Artur.Schmidt> | ||||
| Component: | UI | Assignee: | Christian Campo <christian.campo> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | christian.campo | ||||
| Version: | 2.0.0 | ||||||
| Target Milestone: | 3.0.0.M2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Artur Schmidt
Could you record a short flash (.swf) video of this and attach it here? I recommend using the free Jing software for that (http://www.jingproject.com/) My gut feeling is that the bug could be because of some workaround code I've added for Vista. In Vista the native date picker has the ability to zoom in / out if clicked at certain places. So I've added some code to not hide the picker if clicked there.... Since I don't have any XP machines, the video would help... Created attachment 172573 [details]
Screencast (SWF) of the bug
Yep, the widget is different on Vista. I will add a workaround for XP.
@Steffen/Artur: please run this Snippet and paste the output here:
public class Version {
public static void main(final String[] args) {
System.out.println(String.format("os.version: '%s'", System.getProperty("os.version")));
System.out.println(String.format("os.name: '%s'", System.getProperty("os.name")));
}
}
os.version: '5.1' os.name: 'Windows XP' I've fixed this for Windows by adding different strategies for XP or earlies vs Vista or later. It's likely not 100% pixel perfect but should work reasonably well. @Christian / MacUsers: If I had a screenshot of the DatePicker on Mac, I could adjust the calculations for that as well. Could you send me one? (You can use SnippetDateTextRidget003. The lower text field opens a DatePicker) @Christian: please try on the mac and close if it works... (should be ok on windows) Resolved |