Opened 11 years ago

Closed 11 years ago

#1490 closed Defect (Fixed)

Connecting to IRC proxy with backlog hangs Mobile Colloquy

Reported by: enntee Owned by: kiji.roshi
Component: Colloquy (iOS) Version: 1.0 (iOS)
Severity: Major Keywords:


Mobile Colloquy takes a very long time to connect to an IRC bouncer/proxy when there is a backlog longer than a few lines.

Change History (3)

comment:1 Changed 11 years ago by jane

  • milestone Mobile Colloquy 1.1 deleted

can you define "longer than a few lines"?

I'm using znc with around ~300 lines of backlog in a few different channels and while it hangs for a few seconds, it works fine afterwords and that kind of behavior is expected with that kind of incoming data.

comment:2 Changed 11 years ago by enntee

To expand on this, the UI freezes up -- that is, becomes unresponsive -- for a few seconds upon connecting to a proxy with a large-ish backlog. For those few seconds, the UI doesn't update or respond to touch input.

At first I thought this might just be a consequence of the iPhone's limited hardware, but connecting to the same proxy with the Limechat iPhone IRC client is much faster in comparison.

I had a look at some of the code, and it looks like part of the issue might come from the way Mobile Colloquy updates the Colloquies view as new messages come in. Since a proxy often gives you many lines of backlog, that view is being updated repeatedly, all at once, in a very short time span. Since notices often come in the backlog as well, the phone tries to vibrate many times over.

I could be totally wrong on this. Just a thought.

comment:3 Changed 11 years ago by kiji.roshi

  • Resolution set to fixed
  • Status changed from new to closed

Fixed with [4473] and [4472].

Note: See TracTickets for help on using tickets.