These are chat archives for bigdataviewer/bigdataviewer-core

6th
Jun 2017
Philipp Hanslovsky
@hanslovsky
Jun 06 2017 15:26
@hkmoon I saw you forked DockFX. What did you use it for?
HongKee Moon
@hkmoon
Jun 06 2017 15:27
@hanslovsky This is docking framework for layout of windows similiar to visual studio style. ;)
ClearControl uses this as UI framework.
Philipp Hanslovsky
@hanslovsky
Jun 06 2017 15:31
What's your experience with it? I found it googling for a docking framework for JavaFX and I have ran into two issues so far:
  1. I cannot use SwingNode inside a DockNode (throws NullPointerException when I drag the node)
  2. When I only have a single DockNode inside a DockPane and try to dock it to the pane, the blue shadow indicating the node's position does not disappear after docking.
Have you experienced any of these @hkmoon ?
HongKee Moon
@hkmoon
Jun 06 2017 15:44
Regarding 1. we resolved it by creating swing windows first and invoking JavaFX and show them externally. You can have a look on Halcyon project. https://github.com/ClearControl/Halcyon
HongKee Moon
@hkmoon
Jun 06 2017 15:52
I do not see 2. issue in my branch which is located in https://github.com/ClearControl/DockFX.
Philipp Hanslovsky
@hanslovsky
Jun 06 2017 15:52
The master branch?
HongKee Moon
@hkmoon
Jun 06 2017 15:52
Yes.
I am using this quite intensively for in-house user applications nowadays. Let me know if you find any issues. I will try to resolve it.
Philipp Hanslovsky
@hanslovsky
Jun 06 2017 15:54
I tried the ClearControl master and I still observe this issue. I am running Linux, maybe it is related to that.
HongKee Moon
@hkmoon
Jun 06 2017 15:55
Oh, I notice that some people using Ubuntu has such problems.
Philipp Hanslovsky
@hanslovsky
Jun 06 2017 15:55
Essentially, the controls that select where to dock remain visible and at the same spot, even if I let go of the DockNode. I will investigate into that at some later point.
I will be in Dresden for the fiji learnathon, maybe we find some time to look at it together.
HongKee Moon
@hkmoon
Jun 06 2017 15:56
OK, that would be really great chance to resolve it!
Philipp Hanslovsky
@hanslovsky
Jun 06 2017 15:57
:plus1:
HongKee Moon
@hkmoon
Jun 06 2017 15:58
I have to investigate ClearControl/DockFX#32 which looks related with your issue.
I look forward to seeing you @hanslovsky in Dresden!
Philipp Hanslovsky
@hanslovsky
Jun 06 2017 16:02
I look forward to seeing you too @hkmoon :beers:
!
HongKee Moon
@hkmoon
Jun 06 2017 16:04
:thumbsup:
Philipp Hanslovsky
@hanslovsky
Jun 06 2017 16:06
I added a minimal working example to the issue
HongKee Moon
@hkmoon
Jun 06 2017 16:17
Thanks @hanslovsky! I heard that the dragged window became top-most in some cases because the parent window is null. However, I cannot reproduce it in mac/windows. That’s really weird.
Philipp Hanslovsky
@hanslovsky
Jun 06 2017 16:18
Yes, probably some details about how the window managers work.
Philipp Hanslovsky
@hanslovsky
Jun 06 2017 18:02
@hkmoon I only see HalcyonSwingNode in README.md but not in the source code. Has it become obsolete?
https://github.com/ClearControl/Halcyon/search?utf8=%E2%9C%93&q=HalcyonSwingNode&type=
Philipp Hanslovsky
@hanslovsky
Jun 06 2017 18:25
I'll have a look, thank you!