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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u20
    • 8u20
    • javafx

      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();
          }
      }

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

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

              Created:
              Updated:
              Resolved:
              Imported: