~pierrec

Trackers


#240 widget: Icon does not honour constraints 24 days ago

on ~eliasnaur/gio

REPORTED RESOLVED FIXED

#240 widget: Icon does not honour constraints a month ago

Ticket created by ~pierrec on ~eliasnaur/gio

I have noticed that widget.Icon.Layout always return its size, independent of the constaints it gets passed in. This triggers an incorrect layout in my application. Would clipping appropriately be OK if done in that method?

#227 app: window.Close freeze on macOS 2 months ago

Comment by ~pierrec on ~eliasnaur/gio

Nice, it does fix it here as well. Cheers!

#227 app: window.Close freeze on macOS 2 months ago

Comment by ~pierrec on ~eliasnaur/gio

hmm now it hangs again. Will investigate and report back.

RESOLVED FIXED REPORTED

#227 app: window.Close freeze on macOS 2 months ago

Comment by ~pierrec on ~eliasnaur/gio

It now works better in that the window gets closed, but the whole app as well as it panics :D

GOROOT=/usr/local/go #gosetup
GOPATH=/Users/pierre/go #gosetup
/usr/local/go/bin/go build -o /private/var/folders/ww/6kntmckn7_n2zv5g2s00rz3w0000gn/T/___go_build_git_sr_ht__pierrec_gotoki_example_demo git.sr.ht/~pierrec/gotoki/example/demo #gosetup
/private/var/folders/ww/6kntmckn7_n2zv5g2s00rz3w0000gn/T/___go_build_git_sr_ht__pierrec_gotoki_example_demo #gosetup
panic: send on closed channel

goroutine 1 [running, locked to thread]:
gioui.org/app.(*callbacks).Event(0xc00018f5f8, 0x4265268, 0x456f678)
	/Users/pierre/go/src/gio/app/window.go:343 +0xaa
gioui.org/app/internal/wm.(*window).Wakeup.func1()
	/Users/pierre/go/src/gio/app/internal/wm/os_darwin.go:228 +0x4b
gioui.org/app/internal/wm.gio_dispatchMainFuncs()
	/Users/pierre/go/src/gio/app/internal/wm/os_darwin.go:74 +0x29
gioui.org/app/internal/wm._Cfunc_gio_main()
	_cgo_gotypes.go:324 +0x3c
gioui.org/app/internal/wm.Main(...)
	/Users/pierre/go/src/gio/app/internal/wm/os_macos.go:438
gioui.org/app.Main(...)
	/Users/pierre/go/src/gio/app/app.go:53
main.main()
	/Users/pierre/go/src/git.sr.ht/~pierrec/gotoki/example/demo/main.go:24 +0x3b

Process finished with the exit code 2

RESOLVED FIXED REPORTED

#227 app: window.Close freeze on macOS 2 months ago

Ticket created by ~pierrec on ~eliasnaur/gio

Closing a window on macOS freezes the application. Works on Linux and Windows.

#225 widget.Editor needs 2 Layout call to be in focus 2 months ago

Ticket created by ~pierrec on ~eliasnaur/gio

It appears that once Editor.Focus is called or when a click is registered on the widget, it takes 2 rounds of Layout for Editor.Focused to return true. This is because the first Layout creates a FocusOp that is only acknowledged on the second one. Ideally, it would be nice to have it registered after the first Layout call.

#1 widget.Editor needs 2 Layout call to be in focus 2 months ago

Ticket created by ~pierrec on ~pierrec/widget_Editor_needs_2_Layout_calls_to_be_in_focus

It appears that once Editor.Focus is called or when a click is registered on the widget, it takes 2 rounds of Layout for Editor.Focused to return true. This is because the first Layout creates a FocusOp that is only acknowledged on the second one. Ideally, it would be nice to have it registered after the first Layout call.

#127 When there are too many rectangles they are not drawn 3 months ago

Comment by ~pierrec on ~eliasnaur/gio

OK, I have tried it on an old Linux laptop and it still crashes, this time with:

i965: Failed to submit batchbuffer: Input/output error

Note. the new renderer was noticeably slower (while going to fullscreen or zooming out to display more grids).

#127 When there are too many rectangles they are not drawn 3 months ago

Comment by ~pierrec on ~eliasnaur/gio

I get the following error when trying to use the new renderer: gpu: no support for float render targets nor compute

My laptop is recent (with Intel Iris Plus Graphics 1536 Mo) so maybe I am missing something else?