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

Weird TableView behavior since JDK 8 b112

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 9
    • 8
    • javafx
    • MacOS/X, Ubuntu 13.04

      In our current project we have the need of tables with fixed columns on the left and on the right side (each optional).

      Since TableViews do not support this yet we created a subclass of Region which basically consists of 3 TableViews and
      columns are added/removed dynamically at runtime to/from the left/right TableView and get added/removed to the middle TableView
      as needed.

      Until JDK 8 b111 this worked quite fine but since b112 strange effects happen.

      Since it is difficult to describe the problem you can find 2 videos here:

        https://apps.canoo.com/owncloud/public.php?service=files&t=5495a3b36dad7704dd57bb89c22c0c33

      Both videos show exactly the same demo application but one (vfxTableView_b111.mov) with JDK 8 b111 where things still
      work as expected and the other with JDK 8 b115 (vfxTableView_b115.mov) which show the undesired effects.

      Some explanation to the video:
      The number of fixed columns of the left side of the table can be modified by entering
      a number in one of the TextFields. This is done in the video. For the first 3 - 4 times the number is changed this works with b115 but from then
      on all cells contain TextFields. With b111 this is not the case.

      I tried to work around this behavior but could not find a solution.

      To reproduce the problem:
      in the folder the URL points to you can find a tgz file which contains the demo application with source code. You can simply
      unpack it and start the applications by running:

        ./gradlew run

      I think the problem was introduced with b112 because since then we are experiencing this behavior.

      It would be great if someone involved in the development of TableViews could find time to have a look at this.

      Thank you in advance !


            msladecek Martin Sládeček
            sehrkejfx Sven Ehrke (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: