acavedon / tint2

Automatically exported from code.google.com/p/tint2
GNU General Public License v2.0
0 stars 0 forks source link

pekwm problem #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
tint2-svn doesn't start under pekwm
and task title don't update

Original issue reported on code.google.com by thilo...@gmail.com on 30 Oct 2008 at 5:54

GoogleCodeExporter commented 9 years ago
for me it starts but only the multi-desktop option works, why?

Original comment by the.sond...@gmail.com on 30 Oct 2008 at 7:23

GoogleCodeExporter commented 9 years ago
When you start tint2 under pekwm the following occurs:
clock_width 0, new_width 133

I used #ifdef NULLs to purge all clock references from the source.  This 
removed the
message but did not solve the problem, so I don't think the problem is with the 
clock code
even though it outputs that.

Original comment by dmoer...@gmail.com on 30 Oct 2008 at 11:41

GoogleCodeExporter commented 9 years ago
under pekwm after a few tint automatically close itself i don't know why..

Original comment by the.sond...@gmail.com on 31 Oct 2008 at 1:07

GoogleCodeExporter commented 9 years ago
pekwm 0.1.8 does not fix this problem.

Original comment by dmoer...@gmail.com on 2 Nov 2008 at 6:43

GoogleCodeExporter commented 9 years ago
with svn code, try to comment the line
//XChangeProperty (server.dsp, win, server.atom._NET_WM_STRUT, XA_CARDINAL, 32,
PropModeReplace, (unsigned char *) &struts, 4);
in panel.c : set_panel_properties (Window win)

Original comment by thilo...@gmail.com on 2 Nov 2008 at 8:26

GoogleCodeExporter commented 9 years ago
That fixes it for me.

Original comment by dmoer...@gmail.com on 2 Nov 2008 at 8:43

GoogleCodeExporter commented 9 years ago
this is a bug in pekwm. it doesn't support _NET_WM_STRUT. 
see specification on http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html
"clients MAY set _NET_WM_STRUT in addition to _NET_WM_STRUT_PARTIAL to ensure
backward compatibility with Window Managers supporting older versions of the
Specification."

fluxbox need _NET_WM_STRUT because it doesn't manage _NET_WM_STRUT_PARTIAL.
so l will have to leave the code unchanged for compatibility with older WM.

Original comment by thilo...@gmail.com on 2 Nov 2008 at 9:53

GoogleCodeExporter commented 9 years ago
better feedback on the bug:
pekwm doesn't have to support _NET_WM_STRUT but can ignore it without breaking
_NET_WM_STRUT_PARTIAL.

if tint2 send _NET_WM_STRUT and then _NET_WM_STRUT_PARTIAL, pekwm doesn't show 
the panel.
but when tint2 send just _NET_WM_STRUT_PARTIAL, pekwm show the panel.

Original comment by thilo...@gmail.com on 2 Nov 2008 at 10:09

GoogleCodeExporter commented 9 years ago
http://pekwm.org/projects/3/tasks/85

Bug filed upstream (I also maintain pekwm in Debian which is why I'm interested 
in
resolving this.)

Original comment by dmoer...@gmail.com on 2 Nov 2008 at 10:30

GoogleCodeExporter commented 9 years ago
pekwm doesn't support _NET_WM_STRUCT_PARTIAL from what I can grep in the source 
so
this is an odd bug.

Original comment by dmoer...@gmail.com on 2 Nov 2008 at 11:06

GoogleCodeExporter commented 9 years ago
I've comment these two lines:
//XChangeProperty (server.dsp, win, server.atom._NET_WM_STRUT_PARTIAL, 
XA_CARDINAL,
32, PropModeReplace, (unsigned char *) &struts, 12);

//XChangeProperty (server.dsp, win, server.atom._NET_WM_STRUT, XA_CARDINAL, 32,
PropModeReplace, (unsigned char *) &struts, 4);

but now tint2 is started not at the bottom center but some above, about 2/3 cm 
above
the screen margin

Original comment by the.sond...@gmail.com on 3 Nov 2008 at 8:44

GoogleCodeExporter commented 9 years ago
Hi, I think this can be safely closed. Tint2 svn rev 28 works fine for me with 
pekwm
0.1.10.

Original comment by dmoer...@gmail.com on 29 Jan 2009 at 1:03

GoogleCodeExporter commented 9 years ago
good news :)

Original comment by thilo...@gmail.com on 29 Jan 2009 at 8:40

GoogleCodeExporter commented 9 years ago
I am experiencing this running pekwm-git and tint2-svn. :/

Original comment by heidaro%...@gtempaccount.com on 7 Feb 2009 at 5:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I am having a similar problem using both pekwm 0.1.10/0.1.11 and tint2 SVN 
(revision
84, revision 107, and 0.7 beta 1 and 2). I tried a mixture of those different 
pekwm
and tint2 versions but they all show some info (like nothing is wrong) but the 
panel
does not show, although where it's supposed to be the area is kept free by 
pekwm.
Maybe it's time to bug pekwm devs again.

Edit: I don't seem to be able to update my comments so I deleted the original 
one and
re-added it with some more info. As suggested by lorthiois I removed the
_NET_STRUT_WM occurence in panel.c and recompiled, but the panel still fails to 
show up.

Original comment by gotleenu...@gmail.com on 10 Jun 2009 at 2:17

GoogleCodeExporter commented 9 years ago
Oh my... It must be the time of the day!

I just restarted tint2 again and for some reason now it seems to work (the 
build with
the line in question deleted, that is). So it seems that is indeed all that is 
needed
:). This is with revision 107 & pekwm 0.1.11 but since the issue is a lot older 
I
presume older tint2 versions can be fixed with the same solution.

Original comment by gotleenu...@gmail.com on 10 Jun 2009 at 2:20

GoogleCodeExporter commented 9 years ago
have identify another bug with pekwm:
if you choose panel width == full width, the panel doesn't show.
panel_size = 100% 30

change the size solve the problem
panel_size = 99% 30

Original comment by thilo...@gmail.com on 10 Jun 2009 at 8:02