Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux: A bug with cursor capture when resizing the form. #907

Closed
credos opened this issue Nov 6, 2024 · 1 comment
Closed

Linux: A bug with cursor capture when resizing the form. #907

credos opened this issue Nov 6, 2024 · 1 comment
Milestone

Comments

@credos
Copy link

credos commented Nov 6, 2024

Hello. Thank you for your work. Tell me if there is an opportunity to get rid of the cursor bug when resizing the form in the "JFrame.setDefaultLookAndFeelDecorated(true)" mode (if you do not enable this mode, then the cursor is captured correctly). More about the problem: when you hover the mouse cursor over the edge of the shape, it takes an image, for example - NW_RESIZE_CURSOR. But when, after pressing the left mouse button, the shape size changes, the cursor begins to change arbitrarily from NW_RESIZE_CURSOR to DEFAULT_CURSOR (arrow) and back. I understand that this happens as a result of slow redrawing of the form, the cursor periodically falls on the contentPane, while changing to an arrow, but I can't figure out how to defeat it... (flatlaf-3.5.2, OpenJDK-21.0.1 X) An example of the bug is shown in the attached video.
vokoscreenNG-2024-11-06_00-14-20.webm

DevCharly added a commit that referenced this issue Nov 14, 2024
…ursor when resizing window with FlatLaf window decorations (issue #907)
@DevCharly DevCharly changed the title A bug with cursor capture when resizing the form. Linux: A bug with cursor capture when resizing the form. Nov 14, 2024
@DevCharly
Copy link
Collaborator

Thanks for reporting. Fixed in latest 3.5.3-SNAPSHOT: https://github.com/JFormDesigner/FlatLaf#snapshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants