<Swing Dev> RFR 8250935:JFileChooser incorrectly placed "Date" value in "Type" field
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Thu Aug 27 09:59:53 UTC 2020
On 27-Aug-20 12:58 AM, Philip Race wrote:
> Approved but ...
>
> Can you add an evaluation to the bug report ? It has none.
>
> Was this a regression due to some other fix in JDK 8? Or been there
> forever which would be suprising
> Either way please add that info.
>
I have added the evaluation to JBS and I can see the issue even in
6u211, 7u281 too in my windows10.
Regards
Prasanta
> -phil.
>
> On 8/24/20, 7:27 AM, Prasanta Sadhukhan wrote:
>> Hi All,
>>
>> Please review a fix for a JFileChooser issue where it is seen that if
>> we open the dialog and click on "Details" view and then click on
>> "Home" button,
>> the "Modified" time is shown in "Type" field. This issue is present
>> from at least jdk8 onwards.
>>
>> Issue is because for ShellFolder#getFolderColumnValue handles "name",
>> "Size", "date" cases ignoring "Type" case so date value is shown in
>> Type field.
>>
>> Proposed fix is to handle folder "Type" case too and also "Date"
>> value is formatted correctly
>> to show in same format as other non-shellfolder options and
>> also to be same as "native" time format for same folder.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8250935
>>
>> webrev: http://cr.openjdk.java.net/~psadhukhan/8250935/webrev.00
>>
>> Regards
>>
>> Prasanta
>>
>> P.S: There is still some issue regarding the header values
>> recursively inside Shellfolders which will handled subsequently in
>> separate issue
>>
More information about the swing-dev
mailing list