~gdaarb


#93 Fixed size window. 7 months ago

Comment by ~gdaarb on ~eliasnaur/gio

REPORTED RESOLVED FIXED

#168 Gio blocks changing language keyboard via Alt+Shift on Win10. 7 months ago

Comment by ~gdaarb on ~eliasnaur/gio

Yes, fixed now. Thanks.

REPORTED RESOLVED FIXED

#168 Gio blocks changing language keyboard via Alt+Shift on Win10. 7 months ago

Comment by ~gdaarb on ~eliasnaur/gio

It's indeed strange, because application in every other application (not matter what GUI toolkit was used(gtk, wxWidgets, fyne)) the language keyboard is changing as expected for me. I'll try to dig into this issue when have free time.

#81 Table and file opener widgets 7 months ago

Comment by ~gdaarb on ~eliasnaur/gio

For file opener you can use https://github.com/ncruces/zenity . It works for me under Windows.

#168 Gio blocks changing language keyboard via Alt+Shift on Win10. 7 months ago

Comment by ~gdaarb on ~eliasnaur/gio

I can't change language via keyboard short-cut so I must do it manually with mouse clicking. Maybe I didn't write clear description. Steps to reproduce

  1. Run any sample;
  2. Try to change language keyboard via Alt+Shift; Expected: language keyboard changed Current: language keyboard didn't change.

#168 Gio blocks changing language keyboard via Alt+Shift on Win10. 7 months ago

Ticket created by ~gdaarb on ~eliasnaur/gio

Gio blocks changing language keyboard via Alt+Shift on Win10. The behaviour is reproducible in kitchen sample.

It could be useful when user want to enter message in editor using different languages. Or started application with not wanted keyboard language.

#162 Flickering when inputting text into editor that inside horizontal and vertical list layout 8 months ago

Ticket created by ~gdaarb on ~eliasnaur/gio

After updating Gio from :

gioui.org v0.0.0-20200618124658-602d54dc5ef7

to

gioui.org v0.0.0-20200719084717-6ab43aba3ea5

got flickering if editor located inside horizontal and vertical list layout. MCVE:

package main

import (
	"log"
	"os"

	"gioui.org/app"
	"gioui.org/io/system"
	"gioui.org/layout"
	"gioui.org/op"
	"gioui.org/unit"
	"gioui.org/widget"
	"gioui.org/widget/material"

	"gioui.org/font/gofont"
)

var (
	mcveEditor = &widget.Editor{
		SingleLine: true,
	}
	vlist = &layout.List{
		Axis: layout.Vertical,
	}

	hlist = &layout.List{
		Axis: layout.Horizontal,
	}
)

func main() {
	mcveEditor.SetText("0")

	go func() {
		w := app.NewWindow(
			app.Size(unit.Dp(1200), unit.Dp(600)),
			app.Title("Mcve"),
		)

		if err := loop(w); err != nil {
			log.Fatal(err)
		}
		os.Exit(0)
	}()
	app.Main()
}

func loop(w *app.Window) error {
	th := material.NewTheme(gofont.Collection())

	var ops op.Ops
	for {
		select {
		case e := <-w.Events():
			switch e := e.(type) {
			case system.DestroyEvent:
				return e.Err
			case system.FrameEvent:
				gtx := layout.NewContext(&ops, e)
				widgets := []layout.Widget{
					func(gtx layout.Context) layout.Dimensions {
						return layout.UniformInset(unit.Dp(8)).Layout(gtx, material.Editor(th, mcveEditor, "0").Layout)
					},
				}
				hlist.Layout(gtx, 1, func(gtx layout.Context, i int) layout.Dimensions {
					return vlist.Layout(gtx, len(widgets), func(gtx layout.Context, i int) layout.Dimensions {
						return layout.UniformInset(unit.Dp(16)).Layout(gtx, widgets[i])
					})
				})
				e.Frame(gtx.Ops)
			}
		}
	}
}

Tested under Win10.

#140 Support for setting background color for editor 11 months ago

Comment by ~gdaarb on ~eliasnaur/gio

Yes, thanks, widget Background definitely works for me. Do you going to move this widget to the Gio? It will be convenient for re-using in different projects that require such possibility.

#140 Support for setting background color for editor 11 months ago

Ticket created by ~gdaarb on ~eliasnaur/gio

#32 Sourcehut Pain Points 1 year, 1 month ago

Comment by ~gdaarb on ~eliasnaur/gio

I don't see a way to search through source code on Sourcehut. On Github it's really easy to see - search box is right left on top menu. Ofc, mirror on Github closed this issue.