You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found out in one of my projects that a BasicSplitPaneUI port in a form of WSplitPaneUI class that I've pushed a few commits ago actually has some weird issue with a few specific JDK versions. JSplitPane that uses WebLaF UI class gets its divider stuck whenever JSplitPane is set to non-continuous layout and divider drag operation starts. You are able to unstuck divider by dragging it once again.
All JDK 8 updates up to but not including u66 seem to have this issue. JDK 6, JDK 7, JDK 8 u66 and later updates and JDK 9 doesn't seem to have that issue.
Here is a small example that clearly shows the issue:
After pressing, dragging and releasing LMB over the divider it will be stuck:
As a reference - In default state split pane looks like this:
I've done a short investigation and it seems that earlier JDK 8 updates have some issues with dispatching events between components. It seems that they have added some workaround to components like JSplitPane in earlier updates not to get issues like the one I've displayed above, but in later versions they have also fixed something related to dispatching events so the bug is not present for older code either.
I'm not yet sure if I will be adding any changes to patch this up and whether I'm even able to patch it.
The text was updated successfully, but these errors were encountered:
I found out in one of my projects that a
BasicSplitPaneUI
port in a form ofWSplitPaneUI
class that I've pushed a few commits ago actually has some weird issue with a few specific JDK versions.JSplitPane
that uses WebLaF UI class gets its divider stuck wheneverJSplitPane
is set to non-continuous layout and divider drag operation starts. You are able to unstuck divider by dragging it once again.All JDK 8 updates up to but not including u66 seem to have this issue. JDK 6, JDK 7, JDK 8 u66 and later updates and JDK 9 doesn't seem to have that issue.
Here is a small example that clearly shows the issue:
After pressing, dragging and releasing LMB over the divider it will be stuck:
As a reference - In default state split pane looks like this:
I've done a short investigation and it seems that earlier JDK 8 updates have some issues with dispatching events between components. It seems that they have added some workaround to components like
JSplitPane
in earlier updates not to get issues like the one I've displayed above, but in later versions they have also fixed something related to dispatching events so the bug is not present for older code either.I'm not yet sure if I will be adding any changes to patch this up and whether I'm even able to patch it.
The text was updated successfully, but these errors were encountered: