ID:1669699
 
Resolved
The output control didn't always auto-scroll in cases it should have.
BYOND Version:507
Operating System:Windows 8 Pro 64-bit
Web Browser:Chrome 37.0.2062.102
Applies to:Webclient
Status: Resolved (507.1257)

This issue has been resolved.
Descriptive Problem Summary:
The output box in the game Last Robot Standing does not automatically scroll as new messages pop up.

Numbered Steps to Reproduce Problem:
1. Visit http://www.byond.com/play/31134662
2. Wait for someone to do something that would print a message in the output box. Once a scrollbar appears the box will not automatically scroll down.

Expected Results:
An output box should scroll down automatically UNLESS the user has deliberately scrolled up.

Actual Results:
Output boxes never scroll down, ever.

Does the problem occur:
Every time? Or how often?
Every time.

When does the problem NOT occur?
The problem always occurs.

Workarounds:
1. Manually scroll down when messages are received.
2. Write a custom control to handle messages. Not feasible in LRS.
I've run into this a couple of times but never reliably. It's probably some kind of timing thing I can work out.

This bug BTW resides in output.dms, so if anyone wants to pitch a fix to it before I do, feel free. Any bugs that exist in the controls themselves tend to be fixable on an open-source(ish) basis.
Change line 45 of output.dms to this:

scroll = (e.scrollTop+ih >= (e.scrollHeight - 8));

That will fix the issue. However I fear this is only combating the symptom and not the underlying problem.
I'll add your fix in for the time-being until we can figure out what's up.
This is actually happening for me in Dream Seeker too. Odd.
Lummox JR resolved issue with message:
The output control didn't always auto-scroll in cases it should have.
Still seeing this issue occassionally in 1256.

It might have something to do with adjusting the scrollbar in one of the command panels?
Tom changed status to 'Verified'
Lummox JR resolved issue with message:
The output control didn't always auto-scroll in cases it should have.