Page 9 of 14

JWM and ROX auto-resize

Posted: Thu 04 Jul 2013, 19:16
by session
When ROX-Filer auto-resizes a window, the window can appear below the bottom taskbar. This is recent, sometime after v777.

Posted: Sat 06 Jul 2013, 01:26
by scsijon
whole lot of fixes, v827 should appear sometime tonight after Fruits Basket is finished.

@session, your problem should have been fixed with 827, let me know if it didn't please.

Posted: Thu 18 Jul 2013, 22:49
by scsijon
I was about to upload jwm v831 with a warning on permissions (a problem I found for puppy people) as I know a number of puppians are awaiting it when I found that joe has just updated to version 835. I will build and test and upload if ok tonight.

Test Version 835

Posted: Sat 20 Jul 2013, 23:54
by scsijon
Test Version 835 is now loaded, I know there are a number awaiting it for fixes. Sorry, but I had a problem with my builder and had to eventually reinstall it to fix the problem.

As I say in my page 1 post, many languages are still wanted to add to joe's default JWM set, if you can help please consider doing it.

Posted: Sun 28 Jul 2013, 01:58
by scsijon
v835 will become the release version when I have time to rebuild/repackage this coming week. For those already running the test version your ok as is, the changes only relate to major steps and platforms.

Posted: Tue 30 Jul 2013, 06:12
by scsijon
just a little fyi:

It seems that joe has only one 'issue' left before JWM 2.2's milestone, and a release happens!

The issue is:
I've noticed a curious behavior when using the "show desktop" button on multiple desktops, windows are sometimes moved from one desktop to another.

Steps to reproduce, using default jwmrc:

Start jwm (we are on desktop "1")
Click the root menu and choose "terminal" (xterm opens)
Click the pager to switch to desktop "2"
Click the root menu and choose "terminal" (xterm opens)
Click the "show desktop" button (xterm is now minimized)
Click the pager to switch back to desktop "1"
Click the "show desktop" button

The xterm window that was on desktop #2 is now on desktop #1.
There is a patch to fix this awaiting his return, inclusion and testing, as he is away for a week or two at present.

That is unless some of you have not mentioned any stopper problems for me to put into his system!

...before JWM 2.2's milestone

Posted: Tue 30 Jul 2013, 09:51
by session
The Rox resize issue is fixed in 827 but back in 835.

I don't know if Joe should bother with this right before the milestone as it's so specific, but there is a focus issue after closing SoftMaker Office. To reproduce, open TextMaker, type something, and close the window. When prompted to save the document, click "no". Keybindings will not work until a new window is opened.

*edit* I've been running Precise-pup 5.7 for a few days now, and there is a similar focus problem with Opera, right-click --> close in the taskbar will disable keybindings.

Posted: Fri 09 Aug 2013, 11:57
by anikin
Hi all,
can anyone, please help me with the icons in the tray:

I would like to set them apart a little bit - can't figure out how.

Thank you in advance.

icons in tray

Posted: Fri 09 Aug 2013, 12:27
by L18L
anikin wrote:...I would like to set them apart a little bit - can't figure out how. ...
Hope that helps
:D

Posted: Fri 09 Aug 2013, 14:10
by anikin
The icons are cramped up - too close to each other (see attached image above).
Is there a way to add some space between them, or set them apart horizontally?
Here is my jwmrc-tray - anyone knows which line is doing that?

Code: Select all

<JWM>
	<Tray  autohide="true" insert="right" x="0" y="-1" border="1" height="20" >

		<!-- Additional TrayButton attribute: label -->
		<TrayButton label="Menu">root:3</TrayButton>

		<!-- Additional Pager attributes; width, height -->
		<Pager/>

		<!-- Additional TaskList attribute: maxwidth -->
		<TaskList/>

		<Dock/>

		<!-- Additional Swallow attribute: height -->

	<!--	<Swallow name="blinky">
			blinkydelayed -bg "#DCDAD5"
		</Swallow> -->

	<!--	<Swallow name="xtmix-launcher">
			xtmix -launch
		</Swallow> -->

	<!--	<Swallow name="asapm">
			asapmshell -u 4
		</Swallow> -->

		<Clock format="%H:%M">minixcal</Clock>
	</Tray>
</JWM>
edit... looks like "insert="right" x="0" y="-1" border="1" should do that ... ?

Posted: Sun 11 Aug 2013, 02:13
by scsijon
I'm not getting that anikin, mine are spaced ok, If L18l's reply doesn't help, what fontsize and buttonsize are you using?

I've a new jwm to build, but that's tonight's task.

Posted: Sun 11 Aug 2013, 10:43
by anikin
Font size is 10, the same as in menu items, button size unchanged, haven't touched it.
My question was (and still is) about setting apart the icons. L18L says that I should change the tray height. If you guys find that helpful, then I don't get it either. I'm not sure that yours, or anyone's icons in the tray are well spaced. Have a look at L18L's icons above and you will see that speaker and network icons are begging for space between them. Remove the left and right icons from the tray, as I have done, add an icon of your choice (see my pic) and they will move even closer to each other. On a 10' display as in my netbook this is a real issue. I'm aiming at volume control and get network setup instead.

Posted: Tue 13 Aug 2013, 00:52
by joewing
If you want space between TrayButton icons, you can use the "Spacer" tray component. For example:

Code: Select all

<TrayButton ... ></TrayButton>
<Spacer width="5"/>
<TrayButton ... >...</TrayButton>
I just realized that this wasn't documented online, but it is now.
Unfortunately, there is currently no way to put more space between items in a Dock component.

- Joe

Posted: Wed 14 Aug 2013, 09:46
by anikin
Hi Joe,
thank you for the explanation. Compared to the overall value of JWM, the issue isn't really that big. Not unmanageable, at least. Here's something else I'd like to share - a tiny wrinkle, or annoyance perhaps. When something is minimized to the tray, say browser, urxvt, geany and you move the mouse pointer near the tray, a small yellow popup comes up. And most of the time it stays there, even when the pointer is moved elsewhere. It becomes sort of sticky, a bit obtrusive. You need to place the pointer to the lower left or right corner to make it disappear. What I'm thinking is not how to solve this, but rather why this poupup is there in the first place. What does it show, that's not already evident when one looks at the minimized tray? Duplicates the names of the minimized items? Just a thought.

Thank you for your hard work. You have created something outstanding. In this noobs mind JWM is ingrained as a symbol of Linux. If I ever chose another distro in addition to Puppy, it will need to be able to run JWM.

Posted: Wed 14 Aug 2013, 10:50
by Jasper
Hi anikin,

I have set my minimised apps with a fixed width of 25 pixels so only the app icon shows in my tray and there is no duplication.

Also, if you don't intend to reload an app, why hover over its tray icon and if you do want to reload it just click then move your cursor..

With the latest JWM version you can right click on the minimise button to shade an app and right click there again to unshade.

My regards

Posted: Wed 14 Aug 2013, 11:16
by L18L
anikin wrote:... What does it show, that's not already evident when one looks at the minimized tray?...
It is not always already evident, see my example with 6 apps in the tray, please
:wink:

Posted: Wed 14 Aug 2013, 11:47
by anikin
Hi Jasper et L18L,

I can't disagree with what you guys are saying :)

Posted: Wed 14 Aug 2013, 22:35
by joewing
So it turns out there is a way to change the spacing of components in "Dock". I forgot to put it in the online documentation, but there's a "width" parameter that sets a minimum width for components in the dock. So it should be possible to space out Dock components by setting the width larger than the height of the tray should do the trick for horizontal trays. Other tray components can be spaced out with the "Spacer" tray component.

I think the popup issue should be fixed in newer versions of JWM (845 and beyond). If you want to completely disable popups, you can set:

Code: Select all

<PopupStyle enabled="false">
</PopupStyle>
- Joe

Posted: Mon 19 Aug 2013, 01:04
by recobayu
Joewing, thanks of many updates of jwm. I like this window manager because of his small and fast. :D
I want to ask, can I show desktop in terminal? What is the command?
Oh ya, I can change between the window by pressing ctrl + tab. But the order is not like what I want. The example, if i open abiword, then gnumeric, then mtpaint, then rox filer (so now the active window is rox filer). Could the window change to mtpaint directly when I press ctrl + tab?
Thank you.

Posted: Mon 19 Aug 2013, 14:22
by joewing
recobayu,

There's no direct way to have JWM show the desktop from the command line right now. Other X programs can tell JWM to show the desktop (as well as other things) using the EWMH, so it would be possible to have a separate program that just communicated with the existing version of JWM. Such a program may already exist, if not it would be fairly simple to write.

As far as the order of switching windows is concerned, there are four bindings: "next", "nextstacked", "prev", and "prevstacked". I think "nextstacked" should give you the order you want.

- Joe