~egonelbre


#474 Unwanted stroke contouring on path segments intersection a day ago

Comment by ~egonelbre on ~eliasnaur/gio

It seems sr.ht is including the sentence . as part of the link. If you remove it, then the link should work fine.

#466 [Bug Report] close fullscreen window: "panic: no window for view" a month ago

Comment by ~egonelbre on ~eliasnaur/gio

I cannot test at the moment, but adding a sleep usually makes logical races more visible:

		switch e := e.(type) {
		case system.DestroyEvent:
			go func() {
				time.Sleep(time.Second)
				run()
			}()
			return

#460 Windows app show powershell console when start 2 months ago

Comment by ~egonelbre on ~eliasnaur/gio

Maybe you have some third-party dependency that causes the powershell window to pop-up?

#452 Artificial scroll events when shrinking window are ill-advised 3 months ago

Comment by ~egonelbre on ~eliasnaur/gio

Maybe widgets can track and ensure things are in focus themselves, as necessary. Resizing of a list, and other containers, can happen due to other reasons, not just the window resize; e.g. a bottom-panel opens, which causes a list to shrink.

#451 gio-x: stroke "LineTo" does not seem to have implicit "MoveTo" 3 months ago

Comment by ~egonelbre on ~eliasnaur/gio

I believe this is the same issue as https://todo.sr.ht/~eliasnaur/gio/339.

#451 gio-x: stroke "LineTo" does not seem to have implicit "MoveTo" 3 months ago

Comment by ~egonelbre on ~eliasnaur/gio

Can you post code of a reproducer.

But generally, MoveTo doesn't need to be called before every LineTo.

#436 'True' image color 6 months ago

Comment by ~egonelbre on ~eliasnaur/gio

At the moment there's no support for other color spaces, but I imagine adding linear at least is reasonable.

In the meantime, you try converting your image into sRGB. If it's in linear format then see https://git.sr.ht/~eliasnaur/gio/tree/28c206fc78c7/internal/f32color/rgba.go#L28 how to convert it. It's a private package, but you can copy what you need.

  • Egon

On Tue, Jul 19, 2022 at 9:18 PM Javier Hernandez Fuertes outgoing@sr.ht wrote:

Hello,

 I am trying GIO and it is a very interesting and impressive

project, but I am having a little issue when drawing images, they are shown 'darker' than the actual images are. I work with astronomical images and the lost is important. Is it related with working with a SRGB color space? Is there an option to use other color space?

 Sorry if the questions do not make sense, but I am newbie in the

subject. Thank you very much,

-- Javier Hernández Ingeniero de Bases de Datos Centro de Estudios de Física del Cosmos de Aragón (ceFca) http://www.cefca.es Plza San Juan Nº 1, Planta 2ª E-44001 Teruel (Spain) Phone: +34 978 221266 Ext.1105 Fax: +34 978 611801

-- View on the web: https://todo.sr.ht/~eliasnaur/gio/436

#421 Dynamic Border Radius. 8 months ago

on ~eliasnaur/gio

I do agree with ~egonelbre, it's a useful feature but not frequently required and creating a separate repository where may be infrequent but useful and helpful gio widgets resides.

#421 Dynamic Border Radius. 8 months ago

Comment by ~egonelbre on ~eliasnaur/gio

I think it has only come up a few times for me and, similarly, I've needed chamfered boxes. But, I don't think it makes sense to include all possible button variations in the core. Although, it might make sense to create a repository of "extra drawing primitives".

#416 Really strange color anomaly when manually painting gradient 8 months ago

on ~eliasnaur/gio

~egonelbre Huh, well I do feel like an idiot now. I'm not sure how I got that discontinuity in there, as I vetted this gradient when I generated it by writing it to an image and I didn't see it there. However, it's now clear that this is my problem somewhere. Thank you for taking a look!