XPortal
XPortal copied to clipboard
Unable to scroll portal list
Hi,
I have more than 80 portals and it's difficult to choose between them with the controller. When we open the list we can see the first 20 portals (approximately). Using D-Pad Up' / 'D-Pad Down' we can choose previous or next portal . We can alternatively use joystick (faster) After the 20th items, we don't see what is selected.
In fact, the scroll bar is not focusing the selection. Without a mouse, it's impossible to scroll the portal list.
Regards.
Let me know if you need more details. Without this problem Gamepad support is excellent (adding keyhints would be perfect)
Hi, thanks for reporting!
I think I understand what you mean. I'll see what I can do about this.
As for keyhints, they're coming in the next release, see #32 ;)
Just to keep you updated, I am still working on this, but it's a lot harder than I expected.
The reason this isn't working, is not a fault of XPortal or Valheim, but it's a bug in Unity itself. So I have to build a work-around to "manually" make the dropdown scroll to the selected item, and, as with anything UI-related in Unity, this is difficult.
It was first reported in 2016:
- https://forum.unity.com/threads/ui-dropdown-not-scrolling-on-keyboard-or-controller-input.380678/
Unity staff said they acknowledge that there is a bug, but they will not work on it:
- https://fogbugz.unity3d.com/default.asp?764029_6iphtmkmoju5q5i9
The issue still exists in 2019:
- https://forum.unity.com/threads/unity-dropdown-scroll-using-controller-or-keyboard.750824/
Hi @Quentin-ctrL first of all thank you very much for your continued support. The issue you've reported here really annoys me, but after many hours of struggling I cannot find a feasible way to fix it.
I am leaving the issue open in case anyone else wants to look at it, but I regret to say that I have given up.
If it's Unity's bug and hard work, don't waste your time. It's a minor issue so let's focus on major issue or other projects.
Thanks for your time and your effort :)