[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Wine
. . -> [Subject]  infobar bugs and improvement

infobar bugs and improvement

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


Posted by Madcowchow   Kenya  (6 posts)  [Biography] 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.
[Go to top] top

Posted by Fiendish   USA  (2,514 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (22,990 posts)  [Biography] 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
[Go to top] top

Posted by Madcowchow   Kenya  (6 posts)  [Biography] 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 :)
[Go to top] 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.


15,034 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]