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

[v3] drag n drop does not work as expected after resizing window #3743

Open
Etesam913 opened this issue Sep 12, 2024 · 0 comments
Open

[v3] drag n drop does not work as expected after resizing window #3743

Etesam913 opened this issue Sep 12, 2024 · 0 comments
Assignees
Labels
Bug Something isn't working

Comments

@Etesam913
Copy link

Description

If you resize the window and then try to drag a file into the window, the file will usually get rejected

To Reproduce

  1. git checkout v3-alpha
  2. cd v3/examples/drag-n-drop
  3. go run main.go
  4. resize window
  5. drag file into window
Screen.Recording.2024-09-12.at.1.15.58.AM.mov

Expected behaviour

The drag and drop would always accept the file if it is over the window. Resizing the window should have no impact.

Screenshots

No response

Attempted Fixes

No response

System Details

@Etesams-MacBook-Air ~/C/w/v/e/drag-n-drop (v3-alpha-fix-customEventProcessor-for-drag-n-drop)  
wails3 doctor

                                
          Wails Doctor          
                                

                                                                                                      
# System
┌────────────────────────────┐
| Name          | MacOS      |
| Version       | 15.0       |
| ID            | 24A5331b   |
| Branding      | MacOS 15.0 |
| Platform      | darwin     |
| Architecture  | arm64      |
| Apple Silicon | true       |
| CPU           | Apple M2   |
| CPU           | Unknown    |
| GPU           | Unknown    |
| Memory        | Unknown    |
└────────────────────────────┘

# Build Environment
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| Wails CLI      | v3.0.0-alpha.6                                                                                                            |
| Go Version     | go1.23.1                                                                                                                  |
| Revision       | ef8c886b101ab13258998cbb0cfca36db5b110e4                                                                                  |
| Modified       | false                                                                                                                     |
| -buildmode     | exe                                                                                                                       |
| -compiler      | gc                                                                                                                        |
| CGO_CFLAGS     |                                                                                                                           |
| CGO_CPPFLAGS   |                                                                                                                           |
| CGO_CXXFLAGS   |                                                                                                                           |
| CGO_ENABLED    | 1                                                                                                                         |
| CGO_LDFLAGS    |                                                                                                                           |
| DefaultGODEBUG | asynctimerchan=1,gotypesalias=0,httpservecontentkeepheaders=1,tls3des=1,tlskyber=0,x509keypairleaf=0,x509negativeserial=1 |
| GOARCH         | arm64                                                                                                                     |
| GOARM64        | v8.0                                                                                                                      |
| GOOS           | darwin                                                                                                                    |
| vcs            | git                                                                                                                       |
| vcs.modified   | false                                                                                                                     |
| vcs.revision   | ef8c886b101ab13258998cbb0cfca36db5b110e4                                                                                  |
| vcs.time       | 2024-09-08T22:36:19Z                                                                                                      |
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌────────────────────────────────────────────────────────────────────────┐
| Xcode cli tools | 2409                                                 |
| npm             | 10.8.1                                               |
| *NSIS           | Not Installed. Install with `brew install makensis`. |
└─────────────────────── * - Optional Dependency ────────────────────────┘

# Diagnosis
 SUCCESS  Your system is ready for Wails development!

Need documentation? Run: wails3 docs

 ♥   If Wails is useful to you or your company, please consider sponsoring the project: wails3 sponsor

Additional context

You will have to fix #3741 first to be able to run the example. Then the resizing window bug will be able to be tested.

@Etesam913 Etesam913 added the Bug Something isn't working label Sep 12, 2024
@leaanthony leaanthony self-assigned this Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants