Bug#660333: failure to switch desktops and hidden by other windows

2012-02-19 Thread Ulrich Eckhardt
Here's a patch against the Debian sources. The modifications go beyond just 
this bug, I discovered a few others on the way. Changes:

1. Set WM_CLASS property. See #660461 for a reason why.
2. Fix some indention mistakes and typos.
3. Handle sticky windows (desktop=-1) as visible everywhere
4. EWMH compliance:
 a) test _NET_SUPPORTED to detect compliant WM
 b) use _NET_NUMBER_OF_DESKTOPS and _NET_CURRENT_DESKTOP for switching
 c) use _NET_WM_DESKTOP to locate client windows
 d) prefer _NET_WM_NAME, fallback to WM_NAME for client name
 e) use _NET_WM_STATE to position fspanel above all other windows
 f) use _NET_WM_WINDOW_TYPE to mark fspanel as dektop part
 g) use _NET_CLIENT_LIST instead of _WIN_CLIENT_LIST


Note that I neither use fspanel regularly nor have I tested those changes 
extensively.


BTW: I found out that when clicking on a task in fspanel, the window is not 
raised to the top. Only if the window was previously minimized/iconified it is 
restored and raised. This might be a fluxbox quirk or configuration, but if 
you can reproduce this with any other window managers I would file a bug about 
it, so it isn't forgotten. As a workaround, clicking three times helps, the 
first focuses, the second minimizes and the third restores and raises the 
window.

Cheers!

Uli



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#660333: failure to switch desktops and hidden by other windows

2012-02-19 Thread Jari Aalto
2012-02-19 08:04 Ulrich Eckhardt dooms...@knuut.de:
| Here's a patch against the Debian sources. The modifications go beyond just
| this bug, I discovered a few others on the way.

That was extensive work. Thank you for the time you spent putting your
knowledge into fspanel. I've attributed you in the appropriate places.

New version will appear soon in Debian,
Jari



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#660333: failure to switch desktops and hidden by other windows

2012-02-18 Thread Ulrich Eckhardt
Package: fspanel
Version: 0.7-10

When using a contemporary fluxbox (1.3.2) as window manager, fspanel fails in 
at least two ways:
1. It gets hidden by other windows, although it should be on top of everything 
but fullscreen apps.
2. The two up/down buttons to switch desktops don't work.

Note that this still worked with fluxbox 1.1. However, I'm not filing this 
against fluxbox, because they simply Removed (obsolete) Gnome window manager 
hints (quoting their changelog). fspanel should instead use EWMH[1] to set 
itself on top and to switch desktops. Also, one by one, other WMs will also 
drop support for this, so this isn't only a problem with fluxbox.

I'm currently facing similar bugs in a different program (cobweb panel, not 
yet packaged in Debian). I've already fixed issue 1 above, maybe I'll backport 
the patch from XCB to Xlib, unless someone beats me to it.

Cheers!

Uli


[1] http://standards.freedesktop.org/wm-spec/wm-spec-latest.html



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#660333: failure to switch desktops and hidden by other windows

2012-02-18 Thread jaalto
On 2012-02-18 09:18, Ulrich Eckhardt wrote:
| Package: fspanel
| Version: 0.7-10
| 
| fspanel should instead use EWMH[1] to set itself on top and to
| switch desktops. Also, one by one, other WMs will also drop support
| for this, so this isn't only a problem with fluxbox.
| 
| I'm currently facing similar bugs in a different program (cobweb panel, not 
| yet packaged in Debian). I've already fixed issue 1 above, maybe I'll 
backport 
| the patch from XCB to Xlib, unless someone beats me to it.

Excellent summary.

fspanel no longer has upstream whom to contact and I lack the skills
to deal with X related programs.

If you have any knowledge (a patch?) to resolve these issues, that
would be greatly appreciated.

Jari



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org