Page 1 of 1

Fix for jwm 2.3.7 crash on Move

Posted: Sun Nov 15, 2020 1:41 pm
by ozsouth

Some time ago a jwm 2.3.7 bug was found whereby, upon starting up Puppy, if you right-clicked on
the title bar of an open window then clicked move on the popup menu, jwm crashed. I've found a
clumsy fix for this. You lose the popup menu & can't move the window at all except to shink (resize)
one edge then grow its opposite by dragging. Minimise & maximise still a viable option.

Edit /etc/xdg/templates/_root_.jwmrc

In the Groups section, find noturgent entry, about halfway down (as below)

<Group>
<Option>noturgent</Option>
</Group>

Just before it, add

<Group>
<Option>nomove</Option>
</Group>

Save, then in a terminal, run fixmenus , then restart X

EDIT 24Nov20: ANOTHER OPTION for Bionicpup64-8.0 & ScPup64-20.06 IS FURTHER DOWN.


Re: jwm 2.3.7 Move crash fix

Posted: Sun Nov 15, 2020 2:00 pm
by taersh

I have JWM 2.3.7 installed. It doesn't crash. It moves the window as expected/intended.
Perhaps it is already fixed in JWM?

Code: Select all

jwm --version
unrecognized option: --version
JWM v2.3.7 by Joe Wingbermuehle
compiled options: confirm fribidi icons jpeg nls png shape svg xbm xft xinerama xpm xrender 
system configuration: /etc/jwm/system.jwmrc
usage: jwm [ options ]
  -display X  Set the X display to use
  -exit       Exit JWM (send _JWM_EXIT to the root)
  -f file     Use specified configuration file
  -h          Display this help message
  -p          Parse the configuration file and exit
  -reload     Reload menu (send _JWM_RELOAD to the root)
  -restart    Restart JWM (send _JWM_RESTART to the root)
  -v          Display version information
root#

Re: jwm 2.3.7 Move crash fix

Posted: Sun Nov 15, 2020 2:27 pm
by ozsouth

Interesting. Did you try move on the very first window upon bootup (say, texteditor or terminal)?
Some people only had the first window issue, others it continued after.
I've tried Bionicpup64-8.0 & ScPup64-20.06 & confirm crashes (continually for me).
Not an issue for Fossapup64 - it uses jwm 2.4.0. I've now added that version to my ScPup64.
Note that after the original posted 'fix' the popup menu (minus move) is available by clicking top left corner of opened window.


Re: jwm 2.3.7 Move crash fix

Posted: Sun Nov 15, 2020 6:18 pm
by rockedge

I am using JWM 2.3.7 on the latest WeeDog64-Void with out any problems so far.


Re: jwm 2.3.7 Move crash fix

Posted: Sun Nov 15, 2020 9:09 pm
by ttuuxxx

I've been using this JWM since I made my first Bionic Build over a year ago, and still haven't seen any issues with it. here's the info on the build. JWM v2.3.7 by Joe Wingbermuehle
compiled options: confirm fribidi icons jpeg nls png shape svg xbm xft xinerama xpm xrender


Re: Fix for jwm 2.3.7 crash on Move

Posted: Mon Nov 23, 2020 12:43 pm
by ozsouth

There's the original report & discussion on the old forum (can't find any other generic fixes)


Re: Fix for jwm 2.3.7 crash on Move

Posted: Tue Nov 24, 2020 5:43 am
by ozsouth

As I still have issues upon starting Puppy, I made a jwm executable to fix just the problem. (v2.3.7 already fixes scrollwheel issue).
Is for Bionicpup64-8.0, ScPup64_20.01 & ScPup64-20.06 (seems to work ok in slacko64-7.0 too, but not fossapup64).
The attached .pet's jwm just removes Move from the titlebar right-click menu.
Windows can still be moved by dragging titlebar with left mouse button.
Use at own risk. Install by clicking on it in ROX-Filer, then restart X.