Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Wine ➜ infobar bugs and improvement

infobar bugs and improvement

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Madcowchow   Kenya  (6 posts)  Bio
Date Thu 19 Oct 2017 01:32 PM (UTC)
Message
Hi

wanted to check if anybody has found a workaround for this +10year old bug:

http://mushclient.com/forum/?id=6306

i still have it even with the latest wine + mushclient:

https://imgur.com/a/kqTcN

second question/request. im frustrated that i cannot increase the width of the infobar, any chance of having it implemented? i know we could use a miniwindow but these take up precious desktop real-estate. the infobar is a perfect place to display my captured ingame prompt.

thanks in advance.
Top

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #1 on Thu 19 Oct 2017 06:19 PM (UTC)

Amended on Thu 19 Oct 2017 06:35 PM (UTC) by Fiendish

Message
Indeed. Though all symbol fonts work. If you choose Symbol or Wingdings or Webdings as your desired font, they will work. So it seems that the line causing the problem is
https://github.com/nickgammon/mushclient/blob/08382b6f1d6392e96450b63d1cd2e308560ed7cb/scripting/methods/methods_infobar.cpp#L95
as though Wine doesn't interpret the SYMBOL_CHARSET field the same way that Windows does. (Have you considered filing a bug report to WineHQ?)

A hacky workaround in the MUSHclient code could be to add an check around this line to use ASCII_CHARSET if running under Wine (https://www.winehq.org/pipermail/wine-devel/2008-September/069387.html). But I don't know how that will affect the purpose of that line being there in the first place.

A workaround might be to create a new font that is the font you want but with the symbol flag active. Obviously that's going to be a pain.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #2 on Fri 20 Oct 2017 07:06 AM (UTC)
Message
Madcowchow said:

i know we could use a miniwindow but these take up precious desktop real-estate. the infobar is a perfect place to display my captured ingame prompt.


You know you can turn the infobar off altogether? That frees up the space that you could then use to make a more powerful miniwindow do much the same thing.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Madcowchow   Kenya  (6 posts)  Bio
Date Reply #3 on Sun 22 Oct 2017 01:56 AM (UTC)
Message
Hi Fendish, thanks for the insight, honestly wouldn't have known where to started.

Fiendish said:

(Have you considered filing a bug report to WineHQ?)

I just did. https://bugs.winehq.org/show_bug.cgi?id=43919

Fiendish said:

A hacky workaround in the MUSHclient code could be to add an check around this line to use ASCII_CHARSET if running under Wine

C++ is alien territory for me... I may try it someday, if i ever figure out the docs and successfully compile mush from source.

Nick Gammon said:

You know you can turn the infobar off altogether? That frees up the space that you could then use to make a more powerful miniwindow do much the same thing.


Hi Nick, i did think of that as well, thanks. Would have to rework some code in my plugin. The infobars placement below the command window looked rather aesthetic to me though :)
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


16,484 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.