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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ MUSHclient hangs when configuration dialog is opened

MUSHclient hangs when configuration dialog is opened

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


Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Wed 06 Nov 2019 12:12 AM (UTC)

Amended on Wed 06 Nov 2019 07:39 AM (UTC) by Nick Gammon

Message
From time to time I find that MUSHclient will just hang and have to be force-quit for no obvious reason, after opening the world configuration dialog and looking at something like triggers, timers or aliases. This is using a world file that has worked perfectly in the past.

The reason appears to be that it happens when "unusual" data is on the Clipboard. I particularly notice this when using VirtualBox to run MUSHclient, and there is a problem with sharing the clipboard with the host operating system.

To cure this, I suggest putting something valid on the clipboard, such as a word of text. In other words, if the client hangs, before starting it again go to a text editor, web browser, email program, or anything that supports text, and copy a word (anything) onto the clipboard.

This should clear the unusual data that is confusing the client, and you can then use it normally.




Alternatively, and a little more proactively, you could force good data onto the clipboard by running a script that does something like this when the client opens:


SetClipboard ("hello, world")


You can make this happen from the Scripting configuration tab, by putting a function there for World Events -> Open, and put a function into a script file, eg.


function OnWorldOpen ()
  SetClipboard ("hello, world")
end -- OnWorldOpen


Then put "OnWorldOpen" into the World Events configuration, as described above.




If you are not having problems, then you can ignore these suggestions, but every now and then I find this happens, and also find that I forget the reason for it. :)

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 06 Nov 2019 12:27 AM (UTC)
Message
The reason why this particularly happens when looking at the world configuration is that the code checks the clipboard for things like:


<triggers> ... </triggers>


If found it enables the "Paste" button.

This problem also appears in other places where the client checks the clipboard (for example, the colour picker).

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


7,062 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.