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

[Pagination] Pagination's bullets are oval (instead of circles) in some cases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:

      Description

      On my system the bullets used by the Pagination control are a bit oval.
      It can be seen on Ensemble8.
      Weirdly, it happens to some system but not others. Some users see on Linux and so on Mac.
      Personally, I see it on Mac, but not on Linux.
      Some people see it only when the proxy is not set. (note that Ensemble8 download fonts on background threads).

      For me, this shows the problem on Mac:
      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.control.Label;
      import javafx.scene.control.Pagination;
      import javafx.stage.Stage;

      public class RT36958 extends Application {

          public static void main(String[] args) throws Exception {
              launch(args);
          }

          @Override
          public void start(final Stage stage) throws Exception {
              Pagination pagination = new Pagination(28, 0);
              pagination.getStyleClass().add(Pagination.STYLE_CLASS_BULLET);
              pagination.setPageFactory(pageIndex -> new Label("Page " + pageIndex));
              Scene scene = new Scene(pagination, 800, 600);
              stage.setScene(scene);
              stage.show();
          }
      }

        Attachments

        1. RT-36958.txt
          5 kB
        2. screenshot-1.jpg
          screenshot-1.jpg
          14 kB
        3. screenshot-2.jpg
          screenshot-2.jpg
          5 kB

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            fheidric Felipe Heidrich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: