Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GridView+ListView with FeedView and drag and drop and reordering is not properly working in a desktop target uno project? Strange overlays on high performance maschine from FeedView+GridView #19034

Open
DevTKSS opened this issue Dec 8, 2024 · 3 comments
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@DevTKSS
Copy link
Contributor

DevTKSS commented Dec 8, 2024

Current behavior

FeedView+ListView+GridView+DragDropReorder.mp4
  • strange Bottom NavigationBar border overlays on the right FeedView+GridView, the Items are build as Card controls
  • strange behavior on drag drop on the left one, its draging the whole element instead of just the ListViewItem, which is a Grid + image+2x TextBlock each Item
  • Both FeedView parent items are fed following the docs guide from same source via Injected Service in the Pages Model

added a example of what I would expect it to do from the WinUI Gallery.
You can see the code it is build from also in the video, if something is missing, let me know. Dont know if while beeing beta HotDesign participant it would be allowed to share the project, so its private on github here.

Both FeedView parent items are fed from same Injected Service, which is set up as a IListFeed

strange additionally: running this on a really high performant computer (installed vs 2022 just a few hours ago, with uno etc) is showing the overlays, which I do not expect to happen with that good graphics card

Expected behavior

added the expected behaviour (drag, drop, reorder) at the end of the video, just look the WinUI 3 Gallery up for bot Elements nested in FeedView.
no overlays or uno extension issue like in the video right in the project explorer

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

its not disabling build, just strange looking and not showing the estimated behaviour, so workaround for me would be, just not to use drag&drop on any of those things

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

Skia (WPF), Skia (Linux Framebuffer), Windows (WinAppSDK)

IDE

Visual Studio 2022

IDE version

Visual Studio 2022 community 17.12.3, .net 9.0.101

Relevant plugins

No response

Anything else we need to know?

Target Platforms desktop, windows, but none of the windows ones is building, desktop used regulary for the video to be made. windows target unpackaged is complaining about not knowing AnyCPU as target, because the wizard only added ARM86, x64 and x86 same issue just hidden in the textbox prompt for the packaged one.

The Maschine this is happening on (overlays) is a high end computer with rtx 4070ti graphics and 64gb ram and i9 14900K cpu, which is in idle mode telling from the fans (has AIO also) so in my opinion the graphics capacity of this maschine should not be the problem here.
The Drag-Drop Behaviour is also happening on the lower performance medion i7 with irisX graphics also but not this strange overlay and warning, telling "some component in installer is missing" which complains about uno extension from marketplace which is installed right moments before, waited for package restore, which is defintly correct installed (freshly latest version, just today, done 2x!) logged in for HotReload no problem after reinstalling, before this reinstalling actually the marketplace extension did not work properly but uno-check did tell everything is fine (took very long and runned at the end with -verbose because it was taking really long (30min with 5G?)

Important maybe for the team, althought the app name, the parts there are mostly done with regular way, because of some problems, which might also come from the low performance maschine. Will future investigate this, if I get time, estimating this to be next week or weekend, where I will test this particular part (hopefully will be able to solve the Marketplace extension and overlay issue until then) on the high performance maschine. So just for you to know, that this is not estimated to be coming from HotDesign!

@DevTKSS DevTKSS added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Dec 8, 2024
@jeromelaban
Copy link
Member

Thanks for the report. Make sure to avoid reporting multiple problem in the same issue.

The overlay issue that you're seeing is fixed by upgrading to SkiaSharp 3. For the others issues, you can close this one and split into other so we can track individually. Thanks!

@DevTKSS
Copy link
Contributor Author

DevTKSS commented Dec 9, 2024

One quick question to your answer with the overlay:
I did not here about this version change and on this is the latest UNO.sdk and all of the other stuff just freshly installed. Maybe you can tell what I have to update additionally?
And to the splitting: bit unsure, how small you want to split it up... Could you make the bit clearer for me so I am doing it like you want it to be?
Maybe for soling this it would be good to share the project, can you tell me if it is all out to make the repo public for review while I am at HotDesign beta?

@jeromelaban
Copy link
Member

You mentioned two behaviors, one for the overlays, the other one for the drag and drop not working properly. The first one is skiasharp related #18299. For the drag and drop, make sure to create a new issue and provide a sample and repro steps. In general, creating a small zip file and attaching it in the issue is good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

No branches or pull requests

2 participants