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

[TableView] highlight row in wide table view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P4 P4
    • None
    • 8u5, 8u20
    • javafx
    • windows 7, 32 bit

      When highlighting a row in a wide tableview (i guess it's around 32768 pixels. max value of short ?), the contents of the cells in the highlighted row vanishes.
      by "highlighting" i mean the default mouse click behavior.

      the contents reappears after un-selecting the row.

      for example:
      ...
      TableView<Person> table = new TableView<Person>();
      for(int ii=0;ii<205;ii++)
                  {
                   TableColumn lastNameColn = new TableColumn("extcol"+ii);
                      lastNameColn.setCellValueFactory(
                              new PropertyValueFactory<Person, String>("lastName"));
                      lastNameColn.setMinWidth(160);
                      table.getColumns().add(lastNameColn);
                  }
      ...

      BTW, this warning is shown every time i start a javafx app. not sure it is relevant.
      Device "Intel(R) Q45/Q43 Express Chipset" (\\.\DISPLAY1) initialization failed :
      WARNING: bad driver version detected, device disabled. Please update your driver to at least version 8.15.10.2302

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: