<Swing Dev> RFR 8250935:JFileChooser incorrectly placed "Date" value in "Type" field
Philip Race
philip.race at oracle.com
Wed Aug 26 19:28:04 UTC 2020
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.
-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