wailsapp / wails

Create beautiful applications using Go
https://wails.io
MIT License
24.68k stars 1.18k forks source link

Drag and drop missing cursor icon #3702

Closed mrf345 closed 1 month ago

mrf345 commented 1 month ago

Description

When using runtime.OnFileDrop() the drag and drop cursor icon stops working.

To Reproduce

  1. Create a new file drop handler with OnFileDrop()
  2. Try to drag and drop some file, the cursor icon will be missing.

Expected behaviour

The default drag and drop copy (+) cursor icon should be showing.

Screenshots

drag_and_drop_cursor_before

Attempted Fixes

3703

System Details

# Wails
Version         | v2.9.1
Package Manager | pacman

# System
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| OS           | Arch Linux                                                                                                        |
| Version      | Unknown                                                                                                           |
| ID           | arch                                                                                                              |
| Go Version   | go1.23.0                                                                                                          |
| Platform     | linux                                                                                                             |
| Architecture | amd64                                                                                                             |
| CPU          | AMD Ryzen 7 4800H with Radeon Graphics                                                                            |
| GPU 1        | Navi 14 [Radeon RX 5500/5500M / Pro 5500M] (Advanced Micro Devices, Inc. [AMD/ATI]) - Driver: amdgpu              |
| GPU 2        | Renoir [Radeon Vega Series / Radeon Vega Mobile Series] (Advanced Micro Devices, Inc. [AMD/ATI]) - Driver: amdgpu |
| Memory       | 15GB                                                                                                              |
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌───────────────────────────────────────────────────────────────────┐
| Dependency | Package Name | Status    | Version                   |
| *docker    | docker       | Installed | 1:27.1.1-1                |
| gcc        | gcc          | Installed | 14.2.1+r32+geccf707e5ce-1 |
| libgtk-3   | gtk3         | Installed | 1:3.24.43-1               |
| libwebkit  | webkit2gtk   | Installed | 2.44.3-3                  |
| npm        | npm          | Installed | 10.8.2-1                  |
| pkg-config | pkgconf      | Installed | 2.1.1-1                   |
└───────────────────── * - Optional Dependency ─────────────────────┘

Additional context

No response