Scroll Issue with Mod API/PB Detailed Info Color Tags

IotaSphere shared this bug 4 months ago
Need More Information

It appears that when a terminal block's detailed info is refreshed (either with IMyTerminalBlock.RefreshCustomInfo() or IMyTerminalBlock.SetDetailedInfoDirty()) and the color tags are present that the scrolling is buggy.

It appears that the first offscreen color tag that's scrolled into view will lock the scrolling. If a color tag is present but is below the end of the screen, and it's scrolled into view, you won't be able to scroll beyond this color tag. In the video, the green line of text "Jump Gate Distance" is initially offscreen, but once scrolled into view, I can't scroll any lower than that line.

89edff913c583b053b598b4572e81072

Replies (1)

photo
1

Hello engineer,

Thank you for reaching our forum with this issue.

It seems the issue you reported is the same as the one discussed in the following thread:

https://support.keenswh.com/spaceengineers/pc/topic/28293-programmable-block-echo-scroll-reset-bug-when-using-custom-colour-tags-with-text

Since the shared thread is currently marked as "Reported," we kindly ask for your patience while the shared thread updates with any new information, comments and possible fix coming.

For further testing on our side, could you please share the MOD (or script) you are using that is causing this issue?

Kind Regards,

Keen Software House: QA Department

photo
1

The mod in question is still under development

Here is the link to the mod page: https://steamcommunity.com/sharedfiles/filedetails/?id=3313236685

Once in a world, place down a jump gate controller and try scrolling through the detailed info section.

A fix on my end was implemented and is shown when debug mode is disabled (toggle switch at the bottom of the controller's terminal controls)

Standard buggy scrolling behavior is shown when debug mode is enabled and the detailed info scrolled

The detailed info code for the controller is at: "JumpGateController.AppendCustomInfo(StringBuilder sb)" in file: "IotaModularJumpGatesLogic\CubeBlock\JumpGateController.cs" (code region "CubeBlockBase Methods")

The custom scrolling logic is at: "CubeBlockBase._AppendCustomInfo(IMyTerminalBlock block, StringBuilder sb)" in file "IotaModularJumpGatesLogic\CubeBlock\CubeBlockBase.cs" (code region "Private Methods")

photo
Leave a Comment
 
Attach a file
You can't vote. Please authorize!
You can't vote. Please authorize!