Glass icon indicating copy to clipboard operation
Glass copied to clipboard

Allow multiple chatframes

Open Psoewish opened this issue 4 years ago • 7 comments

Is your feature request related to a problem? Please describe. I like to have a "main" chatframe for general chatting, and then a second one that I stick system messages/loot/rep gains/etc. in Unless I'm missing something it's currently not possible to undock a channel from the main frame so I'm having to choose between having a single channel that gets just too much stuff in it, or constantly swap between channels in the main frame.

Describe the solution you'd like I would like to have a way to separate a channel into a second frame I can move wherever I want. Just dragging the channel out from the main frame to create a secondary one would be nice, or just a right click context menu on the header to undock the frame. Have the lock toggle pop up a mover for every created frame this way.

Optional related features that would be nice to have, but definitely more of a luxury: Allow a flag for each frame created this way to make it 100% uninteractable, including the actual channel tab header, just ignoring all mouse input unless the editbox is open. Expand the current settings to have an entry on the left for every chat frame, that's basically a copy/paste of the general settings, but allowing to control each frame separately.

Psoewish avatar Sep 12 '20 08:09 Psoewish

Thanks for the suggestion! This is something I definitely want to do. Hopefully I can get to work on it soon.

mixxorz avatar Sep 14 '20 05:09 mixxorz

I have zero lua experience, but long time developer. I want this so bad, I cloned from source and am investigating how difficult it would be to implement.

Aerankas avatar Sep 21 '20 04:09 Aerankas

Thanks for looking! It's actually not necessarily tricky, but this features needs a lot of background work to enable.

Here are some notes:

Currently there's only a single chat window (MainContainerFrame) and all SlidingMessageFrame frames are attached to that window. So the first step would be to add a new frame type to act as "chat windows". Each window should be able to have its own position and dimensions. The functionality to customize each window individually needs to be added. A "Mover" frame for each window needs to be implemented as well.

Each new window would need to have its own "chat dock". This is something the default chat UI doesn't allow, and something I want Glass to offer. This would require a custom chat dock; one that doesn't just hack/modify the default chat dock. This work is being tracked on issue #112.

Creating a new window is another issue. How would users create a new window? Easy solution would be to add an option to the default tab's context menu. However, given the work with the new chat dock, we can potentially do something better here too.

All-in-all, I do have a rough plan/roadmap to make this happen.

mixxorz avatar Sep 21 '20 04:09 mixxorz

Looking forward to seeing this implemented, it's one of the few I'm really missing from this wonderful AddOn. :)

Slackluster avatar Oct 29 '20 19:10 Slackluster

Just commenting on this once more, because I'm finding myself really, really wanting to use Glass because it looks and feels amazing, but without multiple chatframes my setup just doesn't quite work.

Slackluster avatar Dec 09 '20 21:12 Slackluster

I have zero lua experience, but long time developer. I want this so bad, I cloned from source and am investigating how difficult it would be to implement.

Hey, Aerankas, any chance you could please look into this? I desperately want this feature but it seems that addon is abandoned or put aside, sadly. If someone could take over it would be so great.

ojstilo avatar Jan 01 '21 11:01 ojstilo

Really sorry everyone. Just been very busy with work the past few months. I'll still be fixing addon-breaking bugs and the like, but new feature development is paused atm.

mixxorz avatar Jan 02 '21 10:01 mixxorz