Search found 34 matches

by peterh
02 Jun 2021, 14:38
Forum: General Discussion
Replies: 2
Views: 537

Grid grows when content grows, but does not shrink when content shrinks.

I have a ScrollViewer ControlTemplate that looks like this (simplified for readability): <ControlTemplate TargetType="{x:Type ScrollViewer}"> <Grid> <DockPanel> <ScrollViewer> <GridViewHeaderRowPresenter /> </ScrollViewer> <ScrollContentPresenter Name="PART_ScrollContentPresenter" /> </DockPanel> <S...
by peterh
16 Mar 2021, 21:25
Forum: General Discussion
Replies: 2
Views: 583

Re: Preventing user selecting items in a ListView

Turns out the None value is a UWP thing, but the question how to work around there not being one still stands.
by peterh
16 Mar 2021, 21:16
Forum: General Discussion
Replies: 2
Views: 583

Preventing user selecting items in a ListView

In WPF, the SelectionMode property of ListView has a possible value of "None" to prevent a user from selecting items in the ListView. This value seems to be missing in the Noesis.SelectionMode enum. Is there a workaround for this?
by peterh
16 Mar 2021, 21:07
Forum: General Discussion
Replies: 4
Views: 748

Re: Automated Testing

We have developed an automated testing system that runs in Unity's Playmode Tests framework. It's in-house specific to our product so I can't share any code, but I can share the general principle we use. Assign a unique ID to UI elements relevant to tests using an Attached Property. Elements add the...
by peterh
25 Jan 2021, 15:29
Forum: General Discussion
Replies: 3
Views: 1279

Re: Diagnosing "[noesis] Visual is not a descendant of the specified ancestor"

Are those messages being shown when using Popups normally (by changing its IsOpen property and interacting with them), or are the messages showing when you call in code functions like TransformToAncestor or TransformToDescendant? The messages are shown when opening popups with certain content. We d...
by peterh
22 Jan 2021, 12:48
Forum: General Discussion
Replies: 3
Views: 1279

Diagnosing "[noesis] Visual is not a descendant of the specified ancestor"

After upgrading our project to 3.0, some of our popup views have been spamming the error message: Visual is not a descendant of the specified ancestor I know of some of the various ways this can occur, but am at a loss as to how to track where this occurs. Is there a way to track what component trig...
by peterh
15 Jan 2021, 10:46
Forum: General Discussion
Replies: 9
Views: 3185

Re: Crash when trying to Play the sample Button Scene

After upgrading to the latest 2020.1 the .dylib is loaded correctly, but we still get the error messages about
13:39:47  Fallback handler could not load library [...]libNoesis
when running Unity with -batchmode
by peterh
12 Jan 2021, 14:13
Forum: General Discussion
Replies: 1
Views: 347

Inspector on non-Windows platforms

We have several developers who work in macOS; is there a plan to release versions of the inspector for mac/linux?

In the meantime, has anyone had any luck running the inspector in WINE or similar?
by peterh
12 Jan 2021, 10:11
Forum: General Discussion
Replies: 3
Views: 198

Re: GridView inserting unexpected margins for its columns.

Wow, that is excessively weird, but I understand that you want to conform to the reference implementations as closely as possible. I'll just implement the workaround then, thanks!
by peterh
11 Jan 2021, 14:45
Forum: General Discussion
Replies: 9
Views: 3185

Re: Crash when trying to Play the sample Button Scene

Update: our problem seems to be that Unity 2019.1 doesn't identify .dylibs as libraries. A temporary workaround is to simply change the filename to .bundle.

We will be updating to the latest Unity 2020 soon. Will return to this thread with an update when we've tried this.