WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB  (Read 11671 times)

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #15 on: March 13, 2013, 03:03:25 AM »
Hi
Another thing I found with Firefox17 which could be related is by pressing F11 it should go to full screen but the screen simply flashes and then goes back to normal.
By normal I mean the task bar at the top and Firefox as a normal window below it.
It´s as if the task bar at the top stops it.
Perhaps there is an option somewhere to make it not always be on top, like an autohide feature.
There may be other settings too that would sort out the original bug/behaviour I described.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #16 on: March 13, 2013, 03:45:41 AM »
Code: [Select]
tc@box:~$ grep layer .jwm*
.jwmrc-tray:   <!-- Additional tray attributes: autohide, width, border, layer, layout -->
.jwmrc-tray:   <Tray  x="0" y="0" height="15" layer="3">

autohide versus layer are separate attributes.

Before you change jwm config I suggest you test with changing layer of your apps window, e.g. Layer -> Top
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #17 on: March 13, 2013, 08:11:38 AM »
Thanks tinypoodle will try it as soon as I´m in front of a pc with TC on it.

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #18 on: March 13, 2013, 10:01:55 AM »
OK tried tinypoodle´s suggestion about layers and it only sort of works in that the Firefox window does get bigger but not true full screen, the original alt+tab behaviour I posted about also remains.
Perhaps it all has to do with the tray on the top so next I will experiment with the jwm configs.

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #19 on: March 14, 2013, 02:46:27 AM »
Using coreplus 4.7.5 and JWM and I notice that using ALT+TAB does not restore open windows which have
been minimised if at least one window is not still showing (has focus).
[...]
Is this a bug or a "feature"?

It's a bug, IMO.
If you left the mouse pointer over task bar, (e.g. over the clock) then ALT-TAB, you can see that it's working now...

JWM doesn't seem catch the release of modifier key when pointer is over X root window.
You can check it: press ALT-TAB (it does not work), then move pointer to task bar and just press&release ALT...The window is restore.


[...]Perhaps there is an option somewhere to make it not always be on top, like an autohide feature.[...]

Add autohide="true" to /home/tc/.jwmrc-tray into tray attributtes as:

Code: [Select]
<JWM>
   <!-- Additional tray attributes: autohide, width, border, layer, layout -->
   <Tray autohide="true" x="0" y="0" height="20">

JWM will need be restarted.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #20 on: March 14, 2013, 03:07:49 AM »
JWM doesn't seem catch the release of modifier key when pointer is over X root window.
Uhmm... how is "release" related to ALT-TAB?

Quote
Add autohide="true" to /home/tc/.jwmrc-tray into tray attributtes as:

Code: [Select]
<JWM>
   <!-- Additional tray attributes: autohide, width, border, layer, layout -->
   <Tray autohide="true" x="0" y="0" height="20">

JWM will need be restarted.
That may work as a workaround, but using autohide should by no means be a requirement to get apps into full screen mode.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #21 on: March 14, 2013, 03:58:39 AM »
JWM doesn't seem catch the release of modifier key when pointer is over X root window.
Uhmm... how is "release" related to ALT-TAB?

Are you serious?
The key. The key is released. When ALT key is released, window should be restored...
I know that my english is not good enough, but you really do not understand it?

That may work as a workaround, but using autohide should by no means be a requirement to get apps into full screen mode.

Paulo asked for it, and I just point how he can do it... Complain to JWM author.

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #22 on: March 14, 2013, 04:25:08 AM »
Thank you AmatCoder for your suggestion, I will try it out as soon as I´m in front of my TC pc.
My intention is to make some kiosks based on TC so perhaps the best thing is just to get rid of the tray at the top which would serve no purpose and just gets in the way.
For my TC dev pc, I will try your suggestion.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #23 on: March 14, 2013, 04:25:50 AM »
JWM doesn't seem catch the release of modifier key when pointer is over X root window.
Uhmm... how is "release" related to ALT-TAB?

Are you serious?
The key. The key is released. When ALT key is released, window should be restored...
I know that my english is not good enough, but you really do not understand it?
No sorry I don't.
I tested before writing my last post and now again after your response.
Releasing Alt does not seem to have the slightest effect, only pressing.
Releasing Tab results in stopping window cycling only.

Quote
That may work as a workaround, but using autohide should by no means be a requirement to get apps into full screen mode.

Paulo asked for it, and I just point how he can do it... Complain to JWM author.

OP only mentioned Firefox 17 not going fullscreen, that is not enough evidence.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #24 on: March 14, 2013, 04:37:32 AM »
Hi tinypoodle
I only mentioned Firefox 17 simply because I wanted to test the full screen facility and as I posted before it does not work as intended, however aterm also does not display a full window if one specifies it via the geometry option.
The dimensions specified in geometry are honoured but the tray obscures it.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11043
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #25 on: March 14, 2013, 04:45:31 AM »
Is JWM a requirement? Seems some other WM may work better.
The only barriers that can stop you are the ones you create yourself.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #26 on: March 14, 2013, 06:01:48 AM »
however aterm also does not display a full window if one specifies it via the geometry option.
The dimensions specified in geometry are honoured but the tray obscures it.
That's different from fullscreen and should exclusively be decided by respective layer numbers.

I did a test, setting my tray level to "12" (max.) but that didn't obstruct fullscreen mode of opera and geany (F 11) at all.

Maybe you could try the jwm-snapshot.tcz extension and see if it behaves differently.
« Last Edit: March 14, 2013, 06:04:28 AM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #27 on: March 14, 2013, 06:23:46 AM »
@curaga
JWM is not a requirement, I just chose it because it´s light weight, has many config options and I have used it before on other distros.
It also allows for easy changing of the wallpaper.
I am open to suggestions.

@tinypoodle
I will try the snapshot extension and see if it makes it more useable with Firefox in a kiosk application.

EDIT

OK tried everything and the only way to get alt+tab to work when all windows are minimized is to make sure that the mouse pointer is over the tray.
I suspect that this is not so much a bug but rather bad design of jwm.

As for the tray getting in the way of fullscreen apps, using autohide="true" does sort it out.

EDIT 2

Tried PuppyLinux 4.3.1 which also uses jwm but version 2.1 and no problems with alt+tab.
I see that TC uses jwm version 2.1.0 so something has changed or perhaps wbar is "stealing" focus from the tray as when the mouse is over the tray then alt+tab works perfectly.

EDIT 3

OK just nuked wbar and same thing so it´s not that.
« Last Edit: March 15, 2013, 07:21:47 AM by Paulo »

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #28 on: March 15, 2013, 07:57:13 AM »
As far as I know, Puppy Linux uses an old development version...
...but on latest development snapshot ALT-TAB issue is fixed too... (And firefox goes to fullscreen -with F11- nicely, over the task)

EDIT:
ALT-TAB works fine with jwm-snapshot.tcz.
« Last Edit: March 15, 2013, 08:37:39 AM by AmatCoder »

Offline Paulo

  • Full Member
  • ***
  • Posts: 139
Re: coreplus 4.7.5 using JWM does not restore windows with ALT+TAB
« Reply #29 on: March 15, 2013, 10:30:45 AM »
Thanks AmatCoder.
Is snapshot something that gets loaded with the existing jwm or does one have to remove jwm first?