CyclopsMC / IntegratedTerminals

Terminals for managing and overviewing Integrated Dynamics networks
MIT License
5 stars 6 forks source link

Crafting job terminal resetting scroll position #38

Closed Naosyth closed 3 years ago

Naosyth commented 5 years ago

Issue type:


Short description:

When scrolling through a crafting plan in a crafting job terminal, the scroll bar gets reset to the top every second. In the GIF below, I am never manually scrolling up or re-expanding the sections.

crafting-terminal-bug

Steps to reproduce the problem:

  1. Queue a crafting job that has enough steps to be able to scroll in the crafting terminal
  2. Scroll down in crafting terminal
  3. Every second you will get reset to the top of the scroll area
  4. If you collapse a section, it will automatically get expanded with the next refresh.

Expected behaviour:

Your scroll position should remain the same when the gui updates. It should only scroll back up if the crafting plan becomes shorter such that your current scroll height would be out of the new scroll area. Collapsed sections should also remain collapsed.


Versions:

rubensworks commented 5 years ago

Oh, I think I completely forgot to implement this, thanks for letting me know!

7eggert commented 3 years ago

Still buggy 2021-05-22 MC 1.16.5

https://youtu.be/sExNw-g9TX4

IntegratedCrafting-1.16.5-1.0.15.jar IntegratedDynamics-1.16.5-1.8.1.jar IntegratedREST-1.16.5-1.1.3.jar IntegratedTerminals-1.16.5-1.2.3.jar IntegratedTunnels-1.16.5-1.8.1.jar

YouTube
Integrated Crafting Terminal misfunction

Edit: Scrolling does not work at all.

rubensworks commented 3 years ago

@7eggert I see some clicking on the video, but no scrolling using the scrollbar. Are you sure you sent the correct video?

7eggert commented 3 years ago

I remembered that I didn't scroll in the video after I sent it but made no new one. The scrollbar has no effect at all but rather went to bed.

rubensworks commented 3 years ago

@7eggert I looked at the video again, and there doesn't seem to be a problem with scrolling, but with the dropdown lists resetting when the crafting job is updated; which seems like a different problem.