Guys, I was typing a reply in a post related to libre office in this forum. I went and opened libre office and changed my theme to preinstalled dark. I saw something strange. The icons that were not changing in the evening were changing now. I changed my theme to system theme and the icons were that changed were still there. And I am not talking about icons that can be changed easily by changing the icons tyle in tools>view, I am talking about the small next, previous, etc icons that will not be changed when changing icon style. Anyways I switched back to system theme and then saw that the icons that changed were still there. I had tried to change this before by going to tools>customization but it did not seem to change. So I thought that somehow a restart fixed the issue of the icons not changing and then went to reply tho the post. For giving the exact steps, I opened up libre office and went to tools>customization and then went to track and then tried to select 'navigation', but it was missing. I am sure that I saw 'navigation' in track drop-down menu in the evening. Anyways, I ignored that and navigated to where I needed to go in a different way. When I left clicked on the icons that I wanted to change, I was supposed to see an option called change icon or something like that, but it was missing. But I did see that option in the evening though.
I thought that something was messed up in libre office writer and then went to terminal to reinstall it. I typed sudo apt list to find the name of the package I need to reinstall. But I was not able to scroll up. I was only able to scroll till the python section. Scrolling did not work anymore and the scrollbar was at it's furthest extent at the side now. But I did see packages starting with the letter L when it was being listed.
Something is wrong. Please help. Also, this happens on both gnome and xfce.

