Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 12:22
    gitpod-io[bot] commented #162
  • 12:22
    jeromelaban synchronize #162
  • 12:22

    jeromelaban on jela

    Add threading support (compare)

  • 11:54
    nventive-devops commented #2539
  • 11:54
    nventive-devops commented #2539
  • 10:42
    bcaceiro commented #2204
  • 10:42
    bcaceiro commented #2204
  • 10:38
    github-actions[bot] labeled #2539
  • 10:38
    github-actions[bot] labeled #2539
  • 10:38
    gitpod-io[bot] commented #2539
  • 10:38
    gitpod-io[bot] commented #2539
  • 10:38
    dependabot-preview[bot] labeled #2539
  • 10:38
    dependabot-preview[bot] labeled #2539
  • 10:38
    dependabot-preview[bot] labeled #2539
  • 10:38
    dependabot-preview[bot] labeled #2539
  • 10:38
    dependabot-preview[bot] opened #2539
  • 10:38
    dependabot-preview[bot] opened #2539
  • 10:38

    dependabot-preview[bot] on nuget

    Bump Microsoft.UI.Xaml from 2.1… (compare)

  • 10:31

    mergify[bot] on master

    Added support for IsScreenCaptu… Fixed formatting, IsPropertyPre… Formatting and 3 more (compare)

  • 10:31
    mergify[bot] closed #2525
Ronny Rosvold
@Horrorshow
usually afaik a nuget versioning mismatch , trying to see if i can track it down.
uno for XF is really promising imho.
Jérôme Laban
@jeromelaban
@Horrorshow This issue is generally an XF one specifically (generally caused by a mix of multiple versions of XF). Try terminating all msbuild.exe processes, and try building again
José Manuel Nieto
@SuperJMN

@SuperJMN just to be sure, if you have a specific repro, I'll add it to that PR, maybe it's a different issue.

@jeromelaban I have a repro of course! :) => https://github.com/SuperJMN/UnoPlatform.AppTemplate

Jérôme Laban
@jeromelaban
👍🏻
José Manuel Nieto
@SuperJMN
@jeromelaban Just load the application, check the WASM head and every item you click will be selected forever :)
pkar70
@pkar70

Can someone write what is correct usage of Git, clones and branches with Platform Uno?
I'm porting my apps (from plain UWP to Uno), and frequently I encounter "not implemented". So, I want to implement it.
After I implement it, I want to create PR from this change.
And make another change to Uno, and another PR.
But also I want to build Uno with ALL my changes. Also, I want sometimes to include in this build some PR merged into Uno master.

I tried to make Uno clone and access it from VStudio, make new branch for every PR I want to create; but I don't have "all-my-changes-included" branch.
Also, when I 'synced' this clone with Uno master, it breaks my PR (changes were propagated to all my branches).

Now, I have copy of Uno (downloaded as ZIP file), with all my changes. And after I'm sure such change works (in my app, on my tablet), I start to copy changes from my disk to Uno using github.com web interface.
Also, it is cumbersome to update such copy, as it requires to apply changes from all PR (and some of them waits for months, and most probably will wait for months more...)

So, what is correct procedure for such usage scenario?

pkar70
@pkar70
Can build be restarted for unoplatform/uno#2489?
Jérôme Laban
@jeromelaban
Restarting the build won’t fix the issues 🙂
There’s no Uno specific guide for that, it’s generic Git management that you’ll find around the net
yowl
@yowl
@pkar70 I think your original approach is generally what people do with Git. Create branches for all PRs with good names, and if you want one for everything, create a branch for that too. I don;t know what syncing you are doing, but I just pull and merge the master (in this case from Uno) into the branches where I want the up to date master code. I work locally using Git Extensions, pushing to my GitHub repos as often as possible, and only use the web interface for creating the PR.
pkar70
@pkar70
@yowl "and if you want one for everything, create a branch for that too" - but how to copy all changes from all other branches into this branch? And re-copy, if I need to correct some code in this one-PR branch?
@jeromelaban But I don't change anything that could lead to message:
Removed method System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar..ctor() not found in ignore set.
It seems like something was removed from Generated, but I only change:
src/Uno.UWP/Generated/3.0.0.0/Windows.ApplicationModel.DataTransfer/DataPackage.cs and
src/Uno.UWP/Generated/3.0.0.0/Windows.ApplicationModel.DataTransfer/DataPackageOperation.cs
pkar70
@pkar70
Of course, I can add these methods (like Windows.UI.ViewManagement.ApplicationViewTitleBar) to DiffIgnore, but it seems to be someone else omission from some other PR, or maybe retarget comparison (with other build)
Jérôme Laban
@jeromelaban
@pkar70 ah this is an older Pr, this got fixed since then. I restarted it.
yowl
@yowl
@pkar70 You can merge changes from the individual PR branches into the "everything" branch. If you make changes in the "everything" branch that you want in the single PR branches, then cherry pick those commits into the single PR branches. You have to be diligent about making commits in the "everything" branch to avoid polluting the other branches. Its probably better to do the changes in the single PR branches and merge back into the "everything" branch.
paulovila
@paulovila

Hi @jeromelaban I'm getting this build error:

System.Xaml.XamlParseException: 'Quote characters ' or " are only allowed at the start of values.'

When I'm trying to use a ' delimiter in a parameter as follows:

<TextBlock Text="{x:Bind local:Util.Format('{0} {1}', Item.ProcessCode, Item.ProcessName)}" />
Bare in mind that I'm in branch feature/styles-compat , but I suppose it would be the same in master
Jérôme Laban
@jeromelaban
@paulovila which build of Uno are you using ?
ah
you may may be behind the x:Bind feature implementation
paulovila
@paulovila
is feature/styles-compat behind the x:Bind implementation? I wanted to try the the implicit styles
Diogo Martinho
@DiogoMartinh0
Hey there. I keep getting a exception within the ASP.NET Core Web Server telling me that "index.html was not found". Does anyone have any idea on how does one get over this?
paulovila
@paulovila
@jeromelaban at the end of the day all I want is to do is use implicit styles and x:Bind:
...    
<Page.Resources>
        <ResourceDictionary>
            <DataTemplate x:Key="DeactivatedProcessDtoDataTemplate" x:DataType="vm:SelectedCheck">
                <TextBlock Text="{x:Bind local:Util.Format('{0} {1}', Item.ProcessCode, Item.ProcessName)}" Grid.ColumnSpan="3"/>
             </DataTemplate>
        </ResourceDictionary>
    </Page.Resources>
Hong
@zipswich
@DiogoMartinh0 Are you able to build the WASM head successfully?
Jérôme Laban
@jeromelaban
@paulovila yes it is behind, for sure.
@DiogoMartinh0 you're probably having a build error preceding this. If you clean/rebuild your Wasm project, what do you see ?
Diogo Martinho
@DiogoMartinh0
@zipswich @jeromelaban I can clean and rebuild the WASM project without any problem. The project builds without any error and it starts to run, it's when it runs that that error/exception comes up in the ASP.NET Core Web Server window in the output tab
But it does start to run, the browser window comes up and everything looks normal until that appears
Jérôme Laban
@jeromelaban
@DiogoMartinh0 can you paste a screenshot of your build log ?
Hong
@zipswich
@DiogoMartinh0 I assume index.html is there. Does the browser's debug console provide any hint?
Jérôme Laban
@jeromelaban
@SuperJMN Your issue for the MasterDetailView is fixed by unoplatform/uno#2462, but there's another issue with the way you're declaring your ViewModel. Databinding non-materialized IEnumerable<> is generally a bad idea and in this case, it produces weird results with the selection algorithms. The source is enumerated multiple times by the ListView and that causes the selection to not appear properly.
Diogo Martinho
@DiogoMartinh0
@jeromelaban
image.png
Diogo Martinho
@DiogoMartinh0
@zipswich if I run the WASM project starting from the Xamarin.Forms app it says that I should use forms.init first
but I think one is supposed to run it by starting a new uwp app
I don't have it running atm.
Diogo Martinho
@DiogoMartinh0
hm. the browser console says it can't navigate to MainPage. when I run the uwp project, it runs correctly and it does navigate to MainPage tough :/
Diogo Martinho
@DiogoMartinh0
I cannot make it work <.< it seems to be some kind of problem navigating to the MainPage, as the browser console suggests. might have something to do with it being a project made before with Xamarin.Forms, not quite sure atm
Hong
@zipswich
@DiogoMartinh0 I am not familiar with Core Web Server. I have been using the good old IIS.
Patrick Decoster
@pdecostervgls
I'm working on the AndroidResourceConverter.cs in Uno.UI.Tasks, and I put a Debugger.Launch() method in the file. but when it launches, I get the notice that the .pdb file cannot be found. I do however have the .pdb file in the specified location.
pkar70
@pkar70

unoplatform/uno#2489 shows removed methods, but removed not by me. Something is wrong.
Tool 'uno.packagediff' (version '1.0.0-dev.18') was successfully installed.
generatepkgdiff --base=Uno.UI --other=Uno.UI.2.0.512-PullRequest2489.877.nupkg --diffignore=PackageDiffIgnore.xml --outfile=D:\a\1\a\ApiDiff.2.0.512-PullRequest2489.877.md
Downloading https://api.nuget.org/v3-flatcontainer/Uno.UI/2.0.532/Uno.UI.2.0.532.nupkg

Is this related to difference between 2.0.512 and 2.0.532? My PR is added to 2.0.512, and compared with 2.0.532? And CI signals that methods that were added by others, between 2.0.512 and 2.0.532, are not present in build from my PR?

paulovila
@paulovila
@jeromelaban I think (personally) that the implicit styles branch is a bit far way now, which will cause a more painful merge. In feature/styles-compat, I suspect that the Datatemplates, which are implicit styles at the end of the day, have a knock-on effect in the x:Bind/Binding implementation. I've tried to build a simple implicit style in the feature/styles-compat but still I was getting the implicit style error. Maybe I didn't configure the solution the right way, I built the Uno.UI-Wasm-only and in my project I referenced the overridden package in my solution.
Bruno Caceiro
@bcaceiro

Well, after checking the debug information int he browser:

warning: 2 FS.syncfs operations in flight at once, probably just doing extra work mono.js:1 warning: 3 FS.syncfs operations in flight at once, probably just doing extra work mono.js:1 fail: Windows.UI.Xaml.UIElement[0] mono.js:1 The member event PointerEventHandler UIElement.PointerWheelChanged is not implemented in Uno. mono.js:1 The Bindable attribute is missing and the type [ProjectX.ProjectXXX.ProjectXX.UWP.MainPage] is not known by the MetadataProvider. Reflection was used instead of the binding engine and generated static metadata. Add the Bindable attribute to prevent this message and performance issues. mono.js:1 [AppCenter] ASSERT: Cannot use App Center on this target. If you are using the SDK from a .NET standard library, you must also add the App Center NuGet packages in the Android, iOS and UWP/WPF/WinForms projects as well. Other targets are not yet supported. mono.js:1 fail: Windows.UI.Core.CoreDispatcher[0] mono.js:1 Dispatcher unhandled exception mono.js:1 System.Exception: Failed to load Page ProjectX.ProjectXXX.ProjectXX.UWP.MainPage mono.js:1 at ProjectX.ProjectXXX.ProjectXX.UWP.App.OnNavigationFailed (System.Object sender, Windows.UI.Xaml.Navigation.NavigationFailedEventArgs e) [0x00001] in C:\Projects\ProjectX\ProjectX-ProjectXXX\Source Code\Xamarin\ProjectX.ProjectXXX.ProjectXX.UWP\App.xaml.cs:89 mono.js:1 at (wrapper delegate-invoke) <Module>.invoke_void_object_NavigationFailedEventArgs(object,Windows.UI.Xaml.Navigation.NavigationFailedEventArgs) mono.js:1 at Windows.UI.Xaml.Controls.Frame.InnerNavigate (Windows.UI.Xaml.Navigation.PageStackEntry entry, Windows.UI.Xaml.Navigation.NavigationMode mode) [0x001c0] in D:\a\1\s\src\Uno.UI\UI\Xaml\Controls\Frame\Frame.cs:339 mono.js:1 at Windows.UI.Xaml.Controls.Frame.Navigate (System.Type sourcePageType, System.Object parameter, Windows.UI.Xaml.Media.Animation.NavigationTransitionInfo infoOverride) [0x00009] in D:\a\1\s\src\Uno.UI\UI\Xaml\Controls\Frame\Frame.cs:242 mono.js:1 at Windows.UI.Xaml.Controls.Frame.Navigate (System.Type sourcePageType, System.Object parameter) [0x00000] in D:\a\1\s\src\Uno.UI\UI\Xaml\Controls\Frame\Frame.cs:237 mono.js:1 at ProjectX.ProjectXXX.ProjectXX.UWP.App.OnLaunched (Windows.ApplicationModel.Activation.LaunchActivatedEventArgs e) [0x00075] in C:\Projects\ProjectX\ProjectX-ProjectXXX\Source Code\Xamarin\ProjectX.ProjectXXX.ProjectXX.UWP\App.xaml.cs:75 mono.js:1 at Windows.UI.Xaml.Application.Initialize () [0x00055] in D:\a\1\s\src\Uno.UI\UI\Xaml\Application.wasm.cs:68 mono.js:1 at (wrapper delegate-invoke) <Module>.invoke_void() mono.js:1 at Windows.UI.Core.CoreDispatcher.DispatchItems () [0x00104] in D:\a\1\s\src\Uno.UWP\UI\Core\CoreDispatcher.cs:291

Bruno Caceiro
@bcaceiro
What is the right reference in the WASM Project to be loaded? Is it the Forms or the UWP.App()?
Jérôme Laban
@jeromelaban
@DiogoMartinh0 I'm not sure to understand the issues you're having. Are you still having the index.html issue ?
@pdecostervgls if you're getting that message, it means that the loaded file is not the proper one. You can see which one is loaded in the debug mode of the Output window
@paulovila that branch is indeed too far off, and we'll be continueing the work on it soon. Have you tried rebasing it on master ?
@bcaceiro I'm missing a bit of context. What are you trying to do ?