Skip to content

No vertical scrollbar since 0.7-M1 #311

@Crystark

Description

@Crystark

Hi,

I just switch from a 2-weeks old 1.0.0-SNAPSHOT to 0.7-M1 and I seem to have lost the vertical scroll-bar in the editor. I can't even scroll with the mouse. I have to select the text and drag the mouse down so that the text field scrolls.

Tried reverting to 1.0.0-SNAPSHOT but that branch is now giving me the following error:

Caused by: java.lang.NoSuchMethodError: org.fxmisc.flowless.VirtualFlow.breadthOffsetProperty()Ljavafx/beans/property/ReadOnlyDoubleProperty;
    at org.fxmisc.richtext.StyledTextArea.createCell(StyledTextArea.java:1064)
    at org.fxmisc.richtext.StyledTextArea.lambda$new$3(StyledTextArea.java:549)
    at org.fxmisc.flowless.CellPool.getCell(CellPool.java:20)
    at org.fxmisc.flowless.CellListManager.cellForItem(CellListManager.java:75)
    at org.reactfx.collection.MappedList.get(MappedList.java:27)
    at org.reactfx.collection.MemoizationListImpl.get(MemoizationList.java:99)
    at org.fxmisc.flowless.CellListManager.getCell(CellListManager.java:64)
    at org.fxmisc.flowless.CellPositioner.getSizedCell(CellPositioner.java:129)
    at org.fxmisc.flowless.VirtualFlow.getCell(VirtualFlow.java:119)
    at org.fxmisc.richtext.StyledTextArea.followCaret(StyledTextArea.java:894)
    at org.fxmisc.richtext.StyledTextArea.layoutChildren(StyledTextArea.java:1035)
    at javafx.scene.Parent.layout(Parent.java:1079)
    at javafx.scene.Parent.layout(Parent.java:1085)
    at javafx.scene.Scene.doLayoutPass(Scene.java:552)
    at javafx.scene.Scene.preferredSize(Scene.java:1646)
    at javafx.scene.Scene.impl_preferredSize(Scene.java:1720)
    at javafx.stage.Window$9.invalidated(Window.java:846)
    at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109)
    at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:144)
    at javafx.stage.Window.setShowing(Window.java:922)
    at javafx.stage.Window.show(Window.java:937)
    at javafx.stage.Stage.show(Stage.java:259)

I reverted to 0.6.10 in the meantime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions