2024-10-02, 20:43
@Buschel I expected that this would not let you go and that you would therefore take these matters into your own hands. I am ready to test!
![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)
(2024-10-02, 21:00)Buschel Wrote: Could you have a look at the latest TF build which did the search changes discussed earlier (GlobalSearch keeps section headers and "sort by label")?
(2024-10-02, 23:31)amasephy Wrote: For example I really do not understand what the change of sort search results by ascending label is supposed to do.Thanks for pointing this out. Will be giving some details. First, the related PR has screenshots and more background: https://github.com/xbmc/Official-Kodi-Re.../pull/1153
(2024-10-02, 23:31)amasephy Wrote: 1) The section headers are causing what I presume to be cell re-use as you call it. ...Oops, never saw this. That's why TF builds are great for testing. Yes, looks like a cell re-use problem. This is most likely not a regression, but maybe got a higher probability to show up. I recently had fixed (1152 in review) another cell re-use issue for GlobalSearch which never got reported. GlobalSearch lists are a bit special as they mix all kind of different layouts. Will review this again.
(2024-10-02, 23:31)amasephy Wrote: 2) Section headers while search is active don’t float at the top under the search bar like they do outside of a search. This to me is a lost opportunity.Good point. Not sure, if this works with the additional "x Results" on top, but I will try.
(2024-10-02, 23:31)amasephy Wrote: 3) ... If I search “1985” and get maybe 50 items returned. Then scroll to bottom of search results. Then clear search. Now scroll to the top. I get massive stuttering.No idea, I will try it on my devices. But I have few hope.
(2024-10-02, 23:31)amasephy Wrote: Impressive you decided to tackle refactoring the class when it was very clear you did not want to take that on at the moment. Major kudos. 👍🏻Future will let me regret this. 😉 Known glitches will be replaced by a new implementation with unknown issues.
(2024-10-02, 23:31)amasephy Wrote: 1) The section headers are causing what I presume to be cell re-use as you call it. The exact dimension of the header on searching will cause that dimension to be added as padding to the first object out of initial view. See screenshot below. Two songs have extra space under them which isn’t normally present.Never reached a point showing this effect, whatever I tried.
Quote:2) Section headers while search is active don’t float at the top under the search bar like they do outside of a search. This to me is a lost opportunity.I second amasephy, this would be helpful.
Quote:3) Unclear if this is a regression or long time bug …No stuttering on my iPad.
Stuttering has been a problem with global search for awhile for me, but ONLY while scrolling up and typically only if all items haven’t been cached yet. Yet here the stutter remains.