~eliasnaur

Trackers

~eliasnaur/gio

Last active 8 minutes ago

#575 Calling app.Title twice in a row ignores the 2nd value a day ago

Comment by ~eliasnaur on ~eliasnaur/gio

Elias Naur referenced this ticket in commit 971b01d.

REPORTED RESOLVED FIXED

#575 Calling app.Title twice in a row ignores the 2nd value a day ago

Comment by ~eliasnaur on ~eliasnaur/gio

Elias Naur referenced this ticket in commit 5083a23.

#572 Fwd: Detecting mouse wheel 6 days ago

Comment by ~eliasnaur on ~eliasnaur/gio

Elias Naur referenced this ticket in commit ee6cdec.

REPORTED RESOLVED FIXED

#572 Fwd: Detecting mouse wheel 7 days ago

Comment by ~eliasnaur on ~eliasnaur/gio

But does that explain why the behaviour for Scrolls changes when I add a handler to listen for Clicks as well?

Yes, the bug is that the two filters you register merge their scrollbounds with image.Rectangle.Union which collapses rectangles with zero area to (0,0,0,0).

The question remains how scroll bounds are best represented, while we're here and fixing the bug.

#572 Fwd: Detecting mouse wheel 7 days ago

Comment by ~eliasnaur on ~eliasnaur/gio

~egonelbre is right, of course. The collapsing behaviour of Union suggests to me that scroll ranges should be independent. Say:

package pointer

type Filter struct {
    ....
    ScrollX ScrollRange
    ScrollY ScrollRange
}

type ScrollRange struct {
    Min, Max int
}

WDYT?

#574 Opacity stack interacts strangely with macros 7 days ago

Comment by ~eliasnaur on ~eliasnaur/gio

Elias Naur referenced this ticket in commit 98d3a2e.

REPORTED RESOLVED FIXED

#573 app.NewWindow() is being dropped in version 0.6.0 8 days ago

Comment by ~eliasnaur on ~eliasnaur/gio

See https://gioui.org/news/2024-04#api-change-window-initialization .

Please ask questions on the mailing list. The tutorials and getting started guide will be updated eventually.

REPORTED RESOLVED INVALID

#572 Fwd: Detecting mouse wheel 9 days ago

Comment by ~eliasnaur on ~eliasnaur/gio

~jonegil, can I ask you to help me pinpoint the issue by minimizing your program as much as possible? As I understand it, Chris' program works as intended, so I'm trying to locate the breaking difference from his program to yours. Thank you.

#568 cross build from Mac broker 9 days ago

Comment by ~eliasnaur on ~eliasnaur/gio

REPORTED RESOLVED CLOSED

#571 working with clipboard and context menu 9 days ago

Comment by ~eliasnaur on ~eliasnaur/gio

Hi!

Please post your questions to the mailing list.

You may find the widget.Editor code helpful in accessing the clipboard.

REPORTED RESOLVED INVALID