Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8006626

FileChooser: Folder name label is cut in some special circumstances

    XMLWordPrintable

    Details

      Description

      Testsuite name: Swing
      Product(s) tested: 7u14b01 i586
      OS/architecture: Windows

      Error log file (if present): No

      Reproducible: Always
      Reproducible on machine: Any

      Is it a Regression: No
      Test result on FCS: Fail (1.7.0 build 128)

      Is it a platform specific issue: No

      Test run log location:
      Steps to reproduce:
      1) Install tested jdk and demo packages;
      2) run FileChooserDemo.jar from demo packages using command:
      <path_to_tested_java>/java -Dswing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel -Duser.language=es -jar FileChooserDemo.jar

      (Nimbus LAF and Spanish locale is used);
      3) Click "Show FileChooser": dialog is opened;
      4) Click "Cancelar": "No file chosen" dialog is opened;
      5) Click "Aceptar": dialog is hidden;
      6) Switch radiobutton to "Just Select Directories" value in "Files and Directory options" (click on it);
      7) Click "Show FileChooser";
      Actual result: label cut with three dots at the end: "Nombre de la Carp..." (example is in attached file 1.png)
      Expected result: full text "Nombre de la Carpeta" is shown (example is in attached file 2.png: after resize the dialog; 3.png: if do "steps to reproduce" but skipping steps #3-5).

      Same issue when using zh_TW locale (when run with parameters :
      -Duser.language=zh -Duser.country=TW
      in step #2, screenshot:4.png),
      "it" locale (-Duser.language=it in step #2, screenshot: 5.png).

        Attachments

        1. 1.png
          22 kB
          Ksenofontov Konstantin
        2. 2.png
          11 kB
          Ksenofontov Konstantin
        3. 3.png
          22 kB
          Ksenofontov Konstantin
        4. 4.png
          21 kB
          Ksenofontov Konstantin
        5. 5.png
          21 kB
          Ksenofontov Konstantin

          Issue Links

            Activity

              People

              Assignee:
              psadhukhan Prasanta Sadhukhan
              Reporter:
              kvkonsta Ksenofontov Konstantin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: