Comments (5)
Updated title to be freeze not crash as they are quite different
from fyne.
Awesome, thanks for the lightning fast fix, @andydotxyz ! I'll try to test it with the development branch, when I find some time.
from fyne.
I've now tested on the develop
branch and don't see the problem anymore. Thanks again!
from fyne.
While searching for existing code that uses SetOnDropped
, I found this: https://github.com/metal3d/fyne-streamer/blob/8800be35603ad89a6599e6a09152a988655e828a/examples/blender-peertube/main.go#L111
It looks like someone else already found the bug and also found a workaround. This works:
package main
import "fyne.io/fyne/v2"
import "fyne.io/fyne/v2/app"
import "fyne.io/fyne/v2/widget"
func main() {
a := app.New()
w := a.NewWindow("test")
w.SetOnDropped(func(pos fyne.Position, uris []fyne.URI) {
go func() { w.SetContent(widget.NewLabel("File dropped")) }()
})
w.ShowAndRun()
}
from fyne.
Fixed on Develop branch, but it probably missed v2.4.4 - if we do 2.4.5 before 2.5.0 then this should be in it
from fyne.
Related Issues (20)
- Can I get access to the NewOverlayContainer() func? HOT 2
- button.Resize not functional HOT 5
- Implement storage APIs for web driver HOT 5
- Entry text flickering while typing HOT 4
- Interface of widget.TextSegment has been broken on develop HOT 12
- Conflict between button and progress bar located on two adjacent columns. Regression in fyne 2.4.4 vs 2.4.3
- demo.fyne.io has performence issure HOT 1
- Grid loses its adaptivity if used as a SimpleRenderer in custom widget HOT 2
- Clipboard not working in web app HOT 7
- Fyne app freezes with file dialog in /dev/ HOT 3
- Mouse becomes misaligned
- [Internal optimization] Add a static labelMinSize function that can get the min size of a label without actually creating one
- FileDialog.SetOnClosed not always working HOT 2
- Complete internationalisation support
- New threading model HOT 2
- GridWrap ScrollToOffset API doesn't properly validate offset when viewport is larger than the full content
- Rework fix for #4445 for v2.4.5, avoiding atomic primitives
- CTRL+A shortcut not working (CTRL+S etc works though) HOT 6
- run demo error:# runtime/cgo cgo: cannot parse $WORK\b228\_cgo_.o as ELF, Mach-O, PE or XCOFF HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fyne.