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

sometimes search bars return nothing when there are items that match #74

Closed
apia46 opened this issue Mar 11, 2024 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@apia46
Copy link

apia46 commented Mar 11, 2024

version 0.6.1.0
mods: pyanodons ae, text plates

i do not know how to reproduce this issue, but sometimes when i search for a production sheet it returns nothing even though i have sheets that should match the query
image
(should show the page Vrauks among other things)

after this happened i tested a few letters to see what would show up. nothing did, until i inputted the letter I at which point it started behaving more or less reasonably

sometimes i search for something and even though its the first letter of what im looking for, the wanted page does not show up and instead other ones that somewhat match do

image
(does not show Acetylene)
image
(does not show Plating even though it did in the previous image?)

i dont know what help i can give but here is the project file, the issue is not happening when i upload it though fdhjgbdsjkhfgdsfhlj
bugged.yafc.txt

@apia46 apia46 added the bug Something isn't working label Mar 11, 2024
@apia46
Copy link
Author

apia46 commented Mar 11, 2024

may be relevant: i leave my computer on sleep alot, and sometimes yafc can be open* for dozens of hours

@Dorus
Copy link
Collaborator

Dorus commented Mar 11, 2024

I just had the same issue. Searching for "a" still returned quite a decent list of items, but adding any other letter, or any letter after "a" returned nothing.

I then tried a few things, including restarting YaFC, but before i could pinpoint the issue, it was working again.

Indeed my YaFC was running for a bit already, i've also noticed other issues with YaFC when it's running for some time (DPI settings mess up when it's running for a while).

@XhenZui
Copy link

XhenZui commented Apr 26, 2024

I have a similar issue, but not sure if it's the same. I think it's caused by scrolling down in the list of pages before entering your search term.
See the scrollbar on the right-hand side.
grafik

Now, with the entered search term - you can see the list is still scrolled down.
grafik

Now, when I scroll up, I can actually see the thing I searched for. Also, the search window becomes much smaller, the moment the search result becomes visible
grafik

@veger
Copy link
Collaborator

veger commented Apr 26, 2024

@XhenZui I have seen this as well, it is very confusing until you realize to scroll up 😅

DaleStan added a commit to DaleStan/yafc that referenced this issue May 11, 2024
…visible.

This fixes at least the object explorer (SelectObjectPanels) and the production sheet list (MainScreen.allPages), and doesn't visibly affect the production tables.
shpaass added a commit that referenced this issue May 11, 2024
#126)

Sometimes the search bar seemed to return nothing when there are 
items that match. That happened because the scrolling view was not 
reset, which resulted in showing empty space until you scroll back up.

This PR fixes that issue. It fixes at least the object explorer 
(SelectObjectPanels) and the production sheet list 
(MainScreen.allPages), and it doesn't visibly affect the production tables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants