Very sexy addon! Although a feature requst would be to allow each chat frame could minimize independently of each other... instead of all together.
This might be a different addon, but something that allows the chat windows to only minimize and maximize when activity happens in those frames, instead of having to preset what messages you want to maximize on. So you would have a chat window for whisper that has a filter for whispers only. And when you got a whisper, it would maximize... but yeah. Still very nice, and I'll be using this addon for a long time to come. Many thanks.
I love it! Guild Wars had similar functionality built it, and I've greatly missed it in WoW. It's also cooperating with PhanxChat without any trouble for me. Thanks so much for sharing this mod. :)
Been using the MiniChat for a few days now... I use it with PhanxChat mod.
What I have been running into is.... on occasion when I log in to game... the chat frame is still minimized. When clicking on the icon to maximize, nothing happens.
What appears to be happening, it has reset my chat frame to the X Y width and height of the minimized.
What i have to do is resize my chat frame, and the min max button works as it should. But later on, after loging out and back it... I could be minimized agian, and I have to reconfigure the chatframe window.
I have deleted the saved Vars for minichat, just in case that was the issue, but it still comes back... random too, as sometimes its a problem then others not.
Although a feature requst would be to allow each chat frame could minimize independently of each other... instead of all together.
When handleAll is enabled, the chat windows will now auto-maximize accordingly to the messages they display.
When clicking the MiniChat button, the default chat frame will change it's state and all other frames will adopt this state.
Example for what happens if the button is clicked:
Default frame is min. & frame2 is min. -> both will maximize
Default frame is min. & frame2 is max. -> both will be maximized
I love the idea of this mod, but I'm having some issues with it that I hope can be resolved. I use PRAT and SimpleCombatLog along with MiniChat.
Issue 1:
When I minimize the window, if I get messages that wrap to multiple lines, it minimized the window to 1 line, but all lines of the long message show up (others have reported this as well).
Issue 2:
The minimize/maximize button keeps going away.....it just disappears. If I get a whisper, or if one of the events I set to auto maximize fires, the button comes back. If I click it to minimize the chat frame it disappears again. If I reload the UI the button comes back, but as soon as I click on it - away it goes. I'm using the version I download today off the SVN.
Hope that made sense.
Edit - I tried creating another profile and had the same issues w/ the new one. I finally decided to just reset the profile and it started working again. Not sure what I messed with in the gui that caused the issue, but it's not happening anymore.
Deccard, if you are interested, I can post some code from my addon which may help you add a bit of functionality that's been requested. Specifically, some code to determine the "message height" instead of just line height so that text won't overflow when the last line is wrapped.
With 46588 from today events seem bugged. The window will not maximize using the button...just stays minimized. ALso if I manually grab the chat window and resize it to make it bigger it stays that way until I get a whisper and it minimizes on whisper instead of maximizing.
at first: this is a great little addon that reduces interface cluttering in a great and eyecatching way. Thank you!
Some feature requests:
- Can we have the option that minimized chat frames display 0 lines (hide the frame completely just showing the maximize button)?
- It would be great to have an option to set different alpha values for maximized/minimized windows which fades when the mode changes.
- Can we have the option to attach one chatframe to another? I know that the addon Dreamchat has this option. A little example: Imagine two chatframes. ChatFrame1's bottom is attached to ChatFrame2's top, so when ChatFrame2 minimizes, ChatFrame2 moves also in the same direction. I hop you understand what i mean, because i am no native english speaker :o)
Deccard, if you are interested, I can post some code from my addon which may help you add a bit of functionality that's been requested. Specifically, some code to determine the "message height" instead of just line height so that text won't overflow when the last line is wrapped.
- Can we have the option that minimized chat frames display 0 lines (hide the frame completely just showing the maximize button)?
If I set the chat height to 1 pixel, the last message would show nonetheless. I'd have to hide it completelly. When my server comes back online I will play around with it.
- It would be great to have an option to set different alpha values for maximized/minimized windows which fades when the mode changes.
Good idea. Trying to implement it soon.
- Can we have the option to attach one chatframe to another?
That's an idea I had in mind for some time, too. However it could be tricky to implement and I rather finish other things first.
I hop you understand what i mean, because i am no native english speaker
Here's a snippet that should get you started, at least:
local r = { frame:GetRegions() };
local line = r[2]; --get the last line displayed
if line then
return math.floor(line:GetHeight());
else --empty chat frame, use default font height
local _, h = frame:GetFont();
return h;
end
If you're wondering, frame:GetRegions() contains all the lines shown in the frame starting at index 2 and in reverse order (bottom line first). You'll also want to hook the chat frame's OnScrollChanged handler and re-check this, so that the frame size adjusts to fit as new lines come in or the user scrolls around. Hope this comes in handy. :)
There is a small issue when relogging that makes the button be drawn smaller than actually set up in the options.
E.g. I've set the size to 0.9 and when I log in it is about 0.5 or 0.4.
When I change the size from 0.9 to 0.8 it makes a jump to 0.8.
Probably a scaling issue :D
EDIT I might also add that I find it a bit annoying the button disappears for a short period of time when it is clicked ;)
Download new version, enable "Min- und maximize all chat frames", enjoy, perhaps cry about some random errors, flame me 8-)
This might be a different addon, but something that allows the chat windows to only minimize and maximize when activity happens in those frames, instead of having to preset what messages you want to maximize on. So you would have a chat window for whisper that has a filter for whispers only. And when you got a whisper, it would maximize... but yeah. Still very nice, and I'll be using this addon for a long time to come. Many thanks.
What I have been running into is.... on occasion when I log in to game... the chat frame is still minimized. When clicking on the icon to maximize, nothing happens.
What appears to be happening, it has reset my chat frame to the X Y width and height of the minimized.
What i have to do is resize my chat frame, and the min max button works as it should. But later on, after loging out and back it... I could be minimized agian, and I have to reconfigure the chatframe window.
I have deleted the saved Vars for minichat, just in case that was the issue, but it still comes back... random too, as sometimes its a problem then others not.
thanks for your time.
Please check out the new version.
When handleAll is enabled, the chat windows will now auto-maximize accordingly to the messages they display.
When clicking the MiniChat button, the default chat frame will change it's state and all other frames will adopt this state.
Example for what happens if the button is clicked:
Default frame is min. & frame2 is min. -> both will maximize
Default frame is min. & frame2 is max. -> both will be maximized
Issue 1:
When I minimize the window, if I get messages that wrap to multiple lines, it minimized the window to 1 line, but all lines of the long message show up (others have reported this as well).
Issue 2:
The minimize/maximize button keeps going away.....it just disappears. If I get a whisper, or if one of the events I set to auto maximize fires, the button comes back. If I click it to minimize the chat frame it disappears again. If I reload the UI the button comes back, but as soon as I click on it - away it goes. I'm using the version I download today off the SVN.
Hope that made sense.
Edit - I tried creating another profile and had the same issues w/ the new one. I finally decided to just reset the profile and it started working again. Not sure what I messed with in the gui that caused the issue, but it's not happening anymore.
at first: this is a great little addon that reduces interface cluttering in a great and eyecatching way. Thank you!
Some feature requests:
- Can we have the option that minimized chat frames display 0 lines (hide the frame completely just showing the maximize button)?
- It would be great to have an option to set different alpha values for maximized/minimized windows which fades when the mode changes.
- Can we have the option to attach one chatframe to another? I know that the addon Dreamchat has this option. A little example: Imagine two chatframes. ChatFrame1's bottom is attached to ChatFrame2's top, so when ChatFrame2 minimizes, ChatFrame2 moves also in the same direction. I hop you understand what i mean, because i am no native english speaker :o)
Keep up the great work!
Best regards
X-buZZ
Bring it on! :D
If I set the chat height to 1 pixel, the last message would show nonetheless. I'd have to hide it completelly. When my server comes back online I will play around with it.
Good idea. Trying to implement it soon.
That's an idea I had in mind for some time, too. However it could be tricky to implement and I rather finish other things first.
Gruesse nach Berlin. Ich komme aus Leipzig. :-)
I'm willing to add some variety.
What do you guys think about texturing the chat frame with a camouflage-leaves thing (or others) on the edges?
Please try to resize your chat window and reset the MiniChat profile. Due to data structure changes some misbehavior can occur.
If you're wondering, frame:GetRegions() contains all the lines shown in the frame starting at index 2 and in reverse order (bottom line first). You'll also want to hook the chat frame's OnScrollChanged handler and re-check this, so that the frame size adjusts to fit as new lines come in or the user scrolls around. Hope this comes in handy. :)
Implemented.
Thanks, I'm looking into it. Looks promising.
You can really just shorten that to
Then you don't have to make tables and other icky stuff
E.g. I've set the size to 0.9 and when I log in it is about 0.5 or 0.4.
When I change the size from 0.9 to 0.8 it makes a jump to 0.8.
Probably a scaling issue :D
EDIT I might also add that I find it a bit annoying the button disappears for a short period of time when it is clicked ;)
The button is now unclickable instead of hidden while animating.
Fixed.
Will try as soon as it's available via WAU.