Help needed--force screen redraw

Posted by SillyMe on Wed 22 Sep 2010 04:36 AM — 3 posts, 21,908 views.

USA #0
Okay, running 4.40 under current versions of Wine and Ubuntu 10.04 LTS.

I leave MUSH up 24/7, and just work in another window or on another desktop if I'm doing something else.

I was testing out a game to see if it would work under Wine, and it automatically started in fullscreen, and reset my screen resolution to do it! Since MUSHclient was up at the time, its display area got cut down to 800x600. When I exited the other game and reset my screen to its normal 1920x1080, then dragged my MUSHclient window larger, I was left with a Mushclient session which is only displaying the upper left 800x600.

It is apparently saved that way someplace, too, as it continues to display that way after closing and reopening Mush.

This is obviously not a situation which makes it easy to play, as that 800x600 does not include my command input or even the most recent output. My chats window and stats window are on the right, so they're not being drawn either.

Is there a way to force Mush to do a full screen redraw, or could this be fixed without having to replace my world file? I'd like to avoid that if possible, as I've got a fair number of customizations.
Australia Forum Administrator #1
What game was it? I am trying a few Ubuntu games and they all just use windows (not full screen).

Anyway, don't replace the world file, that won't do much.

I can't reproduce that just yet, but I suggest a couple of things:

  • Try putting MUSHclient into full-screen mode (View menu) or type Ctrl+Alt+F. That should force a redrawn. However I note that after doing that, and then undoing it, the menu bar seems to disappear, strangely.
  • You could type into the command window:

    
    /Redraw ()
    


    You would need to make "/" as your scripting prefix in the Scripts configuration tab.

    I'm not that confident that will work, as it effectively does that anyway each time a new line arrives.
  • Upgrade to the latest version (4.61) in case that helps.
  • Minimize and then restore the main window - that might force a redraw.


If none of that helps I'll have to reproduce it and see what is happening on screen resolution changes.

Of course closing and restarting the client should fix it. Make sure you save your world file (you should be backing it up periodically anyway).
Australia Forum Administrator #2
SillyMe said:

It is apparently saved that way someplace, too, as it continues to display that way after closing and reopening Mush.


Ah well in that case try exiting MUSHclient and then deleting the file MUSHclient.ini (circled, below). If that doesn't work also delete mushclient_prefs.sqlite (also circled).



The .ini file stores things like screen locations, and the prefs file stores global preferences.