Show/Hide Tree Buttons sometimes don't work

Issue #156 wontfix
Robert Leach created an issue

The buttons appear to be generally a little finicky about where on them you click sometimes. However, at least one of them can become (at least) temporarily non-functional (apparently) if you interact with the View->Show/Hide Trees menu option. Observe the difficulty in using the buttons in this screen recording:

https://bitbucket.org/TreeView3Dev/treeview3/downloads/showtreesbuttonfunctionerratic.mov

Comments (5)

  1. Christopher Keil repo owner

    I believe this might be solved. I watched your video and started working on it. I could easily reproduce the clicking issues and thought that this might be some weird Swing issue. Indeed, when the divider of the panel is set to its default size the buttons feel as they should. Responsive and no missed clicks. The change for the application is a divider bar for the JSplitPanes that is a few pixels thicker.

    @hepcat72, please test again by pulling from the master and close the issue if this is resolved.

  2. Robert Leach reporter

    It seems better, but still happening. It seems to happen after some other way of adjusting the trees' visibility has occurred. E.g. just after the pane size is manually adjusted (i.e. drag the bar) or sometimes just after using the menu to show/hide trees. In the case of the menu, it can actually make a button start working too: In my testing, the down button on the top tree (when the left tree was hidden and the top tree bar had been dragged to expand the tree area) was not working - then I selected show trees from the menu and clicked the down button again - this time it started working.

    One minor issue is that now that the bar is thicker, sometimes the mouse changes into the bar dragging icon when hovering over the buttons. Moving the mouse around a bit fixes this.

    Let me know if you're like another screen recording.

  3. Christopher Keil repo owner

    The thing is that us all native JSplitPane behavior. It's a Swing component. I do use a custom UI for the gray appearance. Maybe removing that would help but beyond that I don't see how this could be improved. The buttons should work best now that the divider has its native/ default size.

  4. Log in to comment