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

Mouse pointer is changed when dragging starts (when we resize undecorated window, macOs) #1444

Closed
akurasov opened this issue Nov 23, 2021 · 2 comments
Assignees
Labels
bug Something isn't working desktop macos undecorated window Issue with `Window(undecorated = true)` window management

Comments

@akurasov
Copy link
Contributor

akurasov commented Nov 23, 2021

This issue is a follow up of #1075

When resizing starts, cursor changes back to pointer, that is not correct. Reproduced on MacOS on 1.0.0-rc2

Same reproducer can be used

@akurasov akurasov added bug Something isn't working desktop labels Nov 23, 2021
@igordmn igordmn changed the title Mouse pointer is changed when dragging starts Mouse pointer is changed when dragging starts (when we resize undecorated window) Nov 23, 2021
igordmn added a commit to JetBrains/compose-multiplatform-core that referenced this issue Nov 25, 2021
Fixes JetBrains/compose-multiplatform#1432
Fixes JetBrains/compose-multiplatform#1444

Rewrote to Compose, so Compose can handle all events by itself.
I haven't managed to write code properly with AWT (branch feature/fix_drag_undecorated)
igordmn added a commit to JetBrains/compose-multiplatform-core that referenced this issue Nov 25, 2021
@igordmn igordmn self-assigned this Nov 26, 2021
@igordmn
Copy link
Collaborator

igordmn commented Nov 26, 2021

Fixed in 1.0.0-rc5 for Windows, isn't fixed for macOs. for macOs we should probably use the native API

@igordmn igordmn changed the title Mouse pointer is changed when dragging starts (when we resize undecorated window) Mouse pointer is changed when dragging starts (when we resize undecorated window, macOs) Nov 26, 2021
igordmn added a commit to JetBrains/compose-multiplatform-core that referenced this issue Jan 14, 2022
Fixes JetBrains/compose-multiplatform#1432
Fixes JetBrains/compose-multiplatform#1444

Rewrote to Compose, so Compose can handle all events by itself.
I haven't managed to write code properly with AWT (branch feature/fix_drag_undecorated)

Add ComposeWindow(GraphicsConfiguration) constructor to be able to open window on another display.

See https://kotlinlang.slack.com/archives/C01D6HTPATV/p1627407411167600?thread_ts=1627406646.167200&cid=C01D6HTPATV

Memory leak of ComposeWindow/ComposeLayer after window.dispose

Fixes JetBrains/compose-multiplatform#1688
igordmn added a commit to JetBrains/compose-multiplatform-core that referenced this issue Jan 18, 2022
Fixes JetBrains/compose-multiplatform#1432
Fixes JetBrains/compose-multiplatform#1444

Rewrote to Compose, so Compose can handle all events by itself.
I haven't managed to write code properly with AWT (branch feature/fix_drag_undecorated)

Add ComposeWindow(GraphicsConfiguration) constructor to be able to open window on another display.

See https://kotlinlang.slack.com/archives/C01D6HTPATV/p1627407411167600?thread_ts=1627406646.167200&cid=C01D6HTPATV

Memory leak of ComposeWindow/ComposeLayer after window.dispose

Fixes JetBrains/compose-multiplatform#1688
igordmn added a commit to JetBrains/compose-multiplatform-core that referenced this issue Jan 20, 2022
Fixes JetBrains/compose-multiplatform#1432
Fixes JetBrains/compose-multiplatform#1444

Rewrote to Compose, so Compose can handle all events by itself.
I haven't managed to write code properly with AWT (branch feature/fix_drag_undecorated)

Add ComposeWindow(GraphicsConfiguration) constructor to be able to open window on another display.

See https://kotlinlang.slack.com/archives/C01D6HTPATV/p1627407411167600?thread_ts=1627406646.167200&cid=C01D6HTPATV

Memory leak of ComposeWindow/ComposeLayer after window.dispose

Fixes JetBrains/compose-multiplatform#1688
igordmn added a commit to JetBrains/compose-multiplatform-core that referenced this issue Jan 20, 2022
Fixes JetBrains/compose-multiplatform#1432
Fixes JetBrains/compose-multiplatform#1444

Rewrote to Compose, so Compose can handle all events by itself.
I haven't managed to write code properly with AWT (branch feature/fix_drag_undecorated)

Add ComposeWindow(GraphicsConfiguration) constructor to be able to open window on another display.

See https://kotlinlang.slack.com/archives/C01D6HTPATV/p1627407411167600?thread_ts=1627406646.167200&cid=C01D6HTPATV

Memory leak of ComposeWindow/ComposeLayer after window.dispose

Fixes JetBrains/compose-multiplatform#1688
igordmn added a commit to JetBrains/compose-multiplatform-core that referenced this issue Feb 18, 2022
Fixes JetBrains/compose-multiplatform#1432
Fixes JetBrains/compose-multiplatform#1444

Rewrote to Compose, so Compose can handle all events by itself.
I haven't managed to write code properly with AWT (branch feature/fix_drag_undecorated)

Add ComposeWindow(GraphicsConfiguration) constructor to be able to open window on another display.

See https://kotlinlang.slack.com/archives/C01D6HTPATV/p1627407411167600?thread_ts=1627406646.167200&cid=C01D6HTPATV

Memory leak of ComposeWindow/ComposeLayer after window.dispose

Fixes JetBrains/compose-multiplatform#1688
copybara-service bot pushed a commit to androidx/androidx that referenced this issue Feb 26, 2022
1. Rewrite undecorated resizable window to Compose instead of implementing it on AWT.
Fixes JetBrains/compose-multiplatform#1432
Fixes JetBrains/compose-multiplatform#1444

2. Add ComposeWindow(GraphicsConfiguration) constructor to be able to open window on another display.

3. Fix memory leak of ComposeWindow/ComposeLayer after window.dispose (JetBrains/compose-multiplatform#1688)

Change-Id: I8393c5c7dd18f8eb2a9674a468fe7b247cc44fa8
Test: manual
@igordmn igordmn added the undecorated window Issue with `Window(undecorated = true)` label Oct 6, 2023
@okushnikov
Copy link
Collaborator

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

@JetBrains JetBrains locked and limited conversation to collaborators Dec 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working desktop macos undecorated window Issue with `Window(undecorated = true)` window management
Projects
None yet
Development

No branches or pull requests

4 participants