JWM 460-patched

A little while ago I announced JWM version 464 patched by shinobar with i18n support for the menu:

http://bkhome.org/blog/?viewDetailed=01376

Retrovol problems
However v464 was found to be buggy. My own experience with 464 is that pizzasgood's retrovol caused a problem -- with only the tray applet icon in the tray, JWM thought a window was running and displayed a window in the tray labeled "Retrovol" -- this was there permanently, which was annoying.

Earlier versions of JWM, 460 included, are still not quite right with Retrovol. When I click on the icon a volume bar appears, and JWM thinks a window is running and displays a window entry in the tray -- this does not disappear if I click elsewhere even though the volume bar disappears, and I have to click the window-entry in the tray to make it vanish. A bit messy, but I guess have to live with that for now.

Shinobar rolled back to v460 and patched that for i18n support for the menu. I have compiled that for Quirky.

Shinobar's forum thread:

http://www.murga-linux.com/puppy/viewtopic.php?t=51847


Posted on 1 Mar 2010, 16:30


Comments:

Posted on 1 Mar 2010, 20:22 by shinobar
retrovol and jwm
> this does not disappear if I click elsewhere even though the volume bar disappears

hum... i am using retrovol with JWM 460-patched on Puppy-431JPqs3 and there is no problem.
JWM displays a window entry in the tray when the volume bar appears. click again or click another window then the the volume bar disappears, same time the window entry in the tray desappears.


Posted on 2 Mar 2010, 3:49 by duke93535
tray volume
I have to use a later absvolume anyway because my on-board sound only uses PCM and not the Master control in the mixer. They made that change in the absvolume to use PCM instead. If control was added to retrovol to select the master channel as in Kmix that would be great too.


Posted on 2 Mar 2010, 6:40 by BarryK
Re Retrovol problem
shinobar,
Ah ok, I looked at it again. If I click on the sound icon, the volume bar pops up and a window entry named "retrovol" appears in the tray taskbar. If I then click the window entry in the taskbar, the volume control bar disappears but the window entry remains. If I click the window entry again, it disappears.

...that's probably not really a bug, I was just trying to get rid of the volume control in a strange way. But, perhaps not so strange -- if there are no other windows open, then the "retrovol" window fills the entire taskbar, and it would be quite natural for someone to click somewhere in the tray when wanting to remove the volume popup bar -- and they might click on the retrovol window entry -- the volume bar will then disappear, but the retrovol window entry will remain there indefinitely until they click on it.



Posted on 2 Mar 2010, 6:42 by BarryK
Re Retrovol
Really, JWM should not display any window for retrovol at all, when the volume control popup happens.



Posted on 2 Mar 2010, 6:50 by technosaurus
jwm groups
I had implemented a jwm category description for retrovol and gave it a nolist attribute...hopefully just a temporary hack

http://joewing.net/programs/jwm/config.shtml#groups


Posted on 2 Mar 2010, 7:23 by BarryK
Retrovol mixer
technosaurus,
The problem with doing that is then the Retrovol mixer also has no window entry in the taskbar.

Perhaps we should approach pizzasgood and ask if the mixer can be run as a different window/task name?
Like, "Retromix"!



Posted on 2 Mar 2010, 7:26 by 01micko
no list
Actually, absvolume had the same "nolist" group in .jwmrc (in dpup at least). When I installed Retrovol on dpup I just replaced "absvolume " with "retrovol" in /etc/xdg/templates/_root_.jwmrc and ran fixmenus, restarted jwm.


Posted on 2 Mar 2010, 8:48 by Pizzasgood
Retrovol
I'll add that to my list of things to look into the next time I work on it. I ought to be able to have it just not create the entry in the first place.

duke93535: You can already do that. Right-click on the icon and it will pop up the full window. Then go to File->Configure. If you scroll down there is an entry named "Tray Slider" on the left that has a dropdown menu on the right which lists every volume control it can locate on your system. I just tested and that seemed to work on my system.


Posted on 2 Mar 2010, 11:08 by duke93535
Tray Volume
Pizzasgood: Thanks, it was well hidden, but that is great.


Posted on 9 Mar 2010, 13:45 by Pizzasgood
Retrovol 0.3
Okay, I just released version 0.3, which fixes the taskbar problem, adds a -v/--version option, and replaces the -show option with -hide. Along with that, the default behavior has changed so that running just "retrovol" will pop up the main window in addition to creating the tray icon. To have it start with only the tray icon like it used to, use the -hide option when launching it.

People who are upgrading will need to make that adjustment to their ~/.xinitrc file.

http://www.murga-linux.com/puppy/viewtopic.php?t=50744
http://www.murga-linux.com/puppy/viewtopic.php?p=399055#399055


Posted on 10 Mar 2010, 4:47 by Pizzasgood
Bug
Actually, it looks like there's a small bug - the -hide option doesn't work when the -bg option is also used. I'll get that fixed this afternoon after my job interview is over.


Posted on 10 Mar 2010, 8:17 by Pizzasgood
Retrovol 0.4
Okay, the bug is fixed and version 0.4 is up. (Only change is the bugfix).
http://www.murga-linux.com/puppy/viewtopic.php?t=50744