JosefNemec / Playnite

Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
https://playnite.link
MIT License
9.32k stars 501 forks source link

Reimplement Grid view as custom control #2499

Open JosefNemec opened 3 years ago

JosefNemec commented 3 years ago

WPF doesn't really allow proper implementation of custom virtualization panels with groping support. There's a ton issues trying to hack around inaccessible internal properties and methods we need to override (not even talking about weird bugs in WPF layout system). Current solution "works", but it's painful to maintain.

The best solution would be to simple implement custom control for Grid view that would give us complete control over the whole layout system. This would also make it easier to fix issues like #2493 and would make custom scrolling (smooth) easier and better to implement.

Possibly also use this implementation to change tile panel in Fullscreen mode.

billybruiser commented 11 months ago

Is this causing the same behavior in full screen mode? I have a similar behavior as issue #1635 in fullscreen when scrolling left to right or up and down it will sometimes shift around between different rows or columns when it shouldn't.