Opened 14 years ago

Closed 14 years ago

#384 closed Enhancement (Fixed)

new special window rule to group by server connection

Reported by: stephen.butler@… Owned by: timothy
Component: Colloquy (Mac) Version: Local Build
Severity: Normal Keywords:


The (hopefully) attached code allows users to group windows together by their server connection. I believe the 2D16 release had this ability, but it's not present in the (otherwise cool) new Interface preference.

The code creates a new special window rule called "Server Window" patterned off "Focused Window" and "New Window". When a chat view matches this rule it is placed in the window controller for that server connection.

Window controllers are assigned a server connection through their identifier strings. The format is "Server:%08X" where the last part is simply the address of the allocated controller class. This allows people to move views in and out of the window controller while still having consistent behavior.

Not a whole lot to it, actually!

Change History (1)

comment:1 Changed 14 years ago by timothy

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

Landed this in [3056] with one minor modification. I assign the window identifier as the server network address, this will let Colloquy remember window position/size since the identifier is used for that.

Note: See TracTickets for help on using tickets.