Closed Exopandora closed 2 years ago
Clicking (and holding) on the arrow without selecting any row also causes the same issue
Cool, thanks.
I think this might be an issue with JavaFX itself as I use the same standard skin of the JDK for the treeview. It appears as though a cell down below gets styled as if it had the mouse hover it (even though it doesn't)..
I already noticed that. I guess there is nothing you can do about that, really.
That might be the case, but I can do a little more research.. That's my hunch. Have you tried with more recent javafx versions?
Im using jfx 16
OK, thanks.
I'll have to research. We could file an issue on the javafx issue tracker if it's a javafx bug.
On Sat, May 8, 2021 at 9:33 PM Exopandora @.***> wrote:
Im using jfx 16
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JFXtras/jfxtras-styles/issues/199#issuecomment-835502003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUVAH2KV7IUHY3DRCWPK7TTMWN27ANCNFSM44NXFQ2Q .
-- Pedro Duque Vieira - https://www.pixelduke.com
Have you found anything yet?
Hi @Exopandora, sorry for the late reply. I've been very busy in my payed work.
I'm pretty inclined to this being a JavaFX bug. Have you tried using Modena and setting just an hover effect for the cells then see if this happens?
Thanks, kind regards,
After some testing i located the issue and created a PR. But as i said in the PR i don't know if this causes any side effects
Hi @Exopandora
Sorry for the late reply, I've been very busy with my work.
I can't seem to reproduce this issue in javafx 17. Would it be possible for you to pull the latest version and check?
Sorry again. Cheers.
Issue: Collapsing a TreeItem in a TreeView with a selected child causes a visual bug at the bottom of the TreeView while pressing the mouse button
Steps to reproduce:
EDIT: The color you see at the bottom is
cell_pressed_color
fromlight_theme.css
/dark_theme.css
. I suspect that this issue is caused by not properly propagating the mouse input to the correct row cell.