Page 1 of 1

Scrolling bug in channels plugin

Posted: Fri Aug 17, 2018 11:55 am
by Schmorgluck
The channels plugin doesn't scroll down when its associated screen is full. It's certainly a behavior nobody would want, so I have to suppose it's a bug. Maybe something changed with the KCWin plugin that channels doesn't take into account? Anyway, I don't know where to contact the author to have it corrected, and I'm not sure how to correct it myself.

Re: Scrolling bug in channels plugin

Posted: Sun Aug 19, 2018 12:10 pm
by ekalin
As a matter of fact, KCWin's in general are not scrolling to the end. The channles plugin is just a simple wrapper.

I'm not sure if they ever did scroll to end, but I guess they used to, and they stopped doing so when the code was changed to support multiple threads (version 3.0.0).

A quick fix in channels would be to add a function to scroll to the end after feed() is called. $window->{TEXTVIEW} is a Gtk3::TextView and any scrolling functions should work.

But this would only fix that plugin. A proper fix would involve changing the feed() function (which is implemented in C), adding code to scroll to end, preferably trying to reuse the existing code for regular MUD windows. I'll take a look at that, but I can't promise a date.

Re: Scrolling bug in channels plugin

Posted: Tue Aug 21, 2018 12:47 pm
by ekalin
Well, it turned out to be simpler than expected, and has been fixed: ... b012344b2/