Fix for jwm 2.3.7 crash on Move

Moderator: Forum moderators

Post Reply
ozsouth
Posts: 1358
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 210 times
Been thanked: 601 times

Fix for jwm 2.3.7 crash on Move

Post 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.

Last edited by ozsouth on Tue Nov 24, 2020 5:35 am, edited 3 times in total.
User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: jwm 2.3.7 Move crash fix

Post 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#

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

ozsouth
Posts: 1358
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 210 times
Been thanked: 601 times

Re: jwm 2.3.7 Move crash fix

Post 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.

User avatar
rockedge
Site Admin
Posts: 5702
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1983 times
Been thanked: 2092 times
Contact:

Re: jwm 2.3.7 Move crash fix

Post by rockedge »

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

User avatar
ttuuxxx
Posts: 19
Joined: Sun Nov 15, 2020 6:52 pm
Been thanked: 8 times

Re: jwm 2.3.7 Move crash fix

Post 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

ozsouth
Posts: 1358
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 210 times
Been thanked: 601 times

Re: Fix for jwm 2.3.7 crash on Move

Post by ozsouth »

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

Last edited by ozsouth on Wed Mar 31, 2021 8:40 am, edited 2 times in total.
ozsouth
Posts: 1358
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 210 times
Been thanked: 601 times

Re: Fix for jwm 2.3.7 crash on Move

Post 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.

Attachments
jwm-237-nm.pet
(100.45 KiB) Downloaded 55 times
Post Reply

Return to “Repair”