Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat messages stop updating when the window is minimized. #13

Open
Zerosan opened this issue Sep 8, 2018 · 1 comment
Open

Chat messages stop updating when the window is minimized. #13

Zerosan opened this issue Sep 8, 2018 · 1 comment

Comments

@Zerosan
Copy link

Zerosan commented Sep 8, 2018

Operating system: Windows 10 Professional
Latest version of ChatGameFontificator as of 08.09.2018

It seems that the chat windows is not updated when it's minimized.

I have it embedded using window capture in streamlabs obs.

@GlitchCog
Copy link
Owner

This behavior is related to the Java Swing GUI library. The Fontificator updates the chat by overriding the Component.paint(Graphics) method, which is the generally accepted technique for drawing stuff on a JFrame window. But this method is only called while the window needs to be drawn, and in its minimized state, the window doesn't need to be drawn.

But I agree it is annoying to have to keep the window displayed for it to work, especially when screen realestate is at a premium. As a workaround, you should be able to move the Chat Display window to the bottom of the screen such that it mostly hangs off the visible window but remains unminimized. Also, it may be operating system dependent, but the act of minimizing a window probably also prevents it from being captured by streaming software.

I'll experiment a little to see if there is something I can do to fix this though. Maybe I'll be able to find some way to keep the paint method being called while minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants