Font In Main Window Randomly Changing
Font In Main Window Randomly Changing
Sometimes when I connect (or raise a "sysConnectionEvent"), the font in my main window will suddenly change (to a font that isn't fixed width). Is there a way to avoid this, or, if not, fix it when it occurs without going into settings, changing the font, and then changing it back manually?
Re: Font In Main Window Randomly Changing
I don't think the font changes, if I know what you're talking about. Scroll up/down seems to fix this. Raising the sysConnectionEvent doesn't seem to make it happen...
Re: Font In Main Window Randomly Changing
Ah, yes, scrolling up and down does fix it. Seems like a rather strange bug. It doesn't always seem to follow the sysConnectionEvent for me, but it happens a lot.
Thanks.
Thanks.
Re: Font In Main Window Randomly Changing
It's a bit of an odd one, seems to happen due to newer Qt versions. Haven't been able to track it down yet.
Re: Font In Main Window Randomly Changing
So, I double checked, and with my current profile, it does, in fact, happen every time I raise the sysConnectionEvent, likely due to something else that I have happening in response. Since things are still fairly simple on my end, I could track down the line that triggers it, if you want.
Re: Font In Main Window Randomly Changing
Yeah, please do.
Re: Font In Main Window Randomly Changing
Well, I have narrowed it down some, but I can't dig around inside of Geyser, so it is somewhat limited.
This line triggers it 100% of the time, for me.
showWindow()
hideWindow()
resizeWindow()
setTextFormat()
moveWIndow()
setMiniConsoleFontSize()
setWindowWrap()
This line triggers it 100% of the time, for me.
But this line doesn't. (I thought it would be worth ruling out the functions that would in theory be used in that function)
Nor do any of the base functions associated with it that I tested, namely:
showWindow()
hideWindow()
resizeWindow()
setTextFormat()
moveWIndow()
setMiniConsoleFontSize()
setWindowWrap()
Re: Font In Main Window Randomly Changing
Geyser files are available within the mudlet-lua folder of your Mudlet installation directory.
The same case seems to work for me as well!
The same case seems to work for me as well!
Re: Font In Main Window Randomly Changing
I get the same thing happening when I create a Label via Geyser. So it seems to be one of the more generic functions that is causing the problem.
Re: Font In Main Window Randomly Changing
Check to make sure the set font size wrapper is using the correct console name in the Geyser function.