Winwrangler does not work with xfce window manager

Bug #292238 reported by Axel von Bertoldi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
WinWrangler
Invalid
Undecided
Mikkel Kamstrup Erlandsen

Bug Description

The summary says it all. Using xfwm4 in Hardy. Winwrangler runs and apparently detects hotkey presses, but nothing happens. Example output when pressing a hotkey:

Got KeyPress! keycode: 11, modifiers: 84
Calling handler for '<Ctrl><Super>2'...
WinWrangler-Message: Hotkey <Ctrl><Super>2 for 'tile' activated
(winwrangler:17880): WinWrangler-DEBUG: Num windows: 2

(winwrangler:17880): WinWrangler-WARNING **: Desktop layout contains floating element at (0, 25)@1680x26
(winwrangler:17880): WinWrangler-DEBUG: Calculated desktop bounds (0, 25), (1680, 1050)
(winwrangler:17880): WinWrangler-DEBUG: Grid is 2x1, with cell size 840x1025

(winwrangler:17880): WinWrangler-DEBUG: set_geom(0, 25, 840, 1025)
(winwrangler:17880): WinWrangler-DEBUG: set_geom(840, 25, 840, 1025)
Got Event! 28, -1
Got Event! 3, -1
Got KeyRelease!

Thanks,
axel.

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Thanks for your bug report again :-)

It looks like the bounds are calculated correctly at least... I suspect that maybe xfwm4 doesn't implement the entire EWMH, but I could be wrong.

I just tried running 'wnckprop --set-x=40' (with xfwm4) on a Tomboy note window and this is what I got:

----------------------
mikkel@delight:~$ wnckprop --set-x=40

(wnckprop:6965): Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8

Action not allowed
mikkel@delight:~$
---------------------

And the window wasn't moved to x=40 as it should have been. This will need some more investigation...

Revision history for this message
Axel von Bertoldi (bertoldia) wrote : Re: [Bug 292238] Re: Winwrangler does not work with xfce window manager

Yeah, I get exactly the same here on a number of applications. Blame
xfwm4???

a.

On Sat, Nov 1, 2008 at 12:41 PM, Mikkel Kamstrup Erlandsen <
<email address hidden>> wrote:

> Thanks for your bug report again :-)
>
> It looks like the bounds are calculated correctly at least... I suspect
> that maybe xfwm4 doesn't implement the entire EWMH, but I could be
> wrong.
>
> I just tried running 'wnckprop --set-x=40' (with xfwm4) on a Tomboy note
> window and this is what I got:
>
> ----------------------
> mikkel@delight:~$ wnckprop --set-x=40
>
> (wnckprop:6965): Wnck-WARNING **: Property _NET_WM_NAME contained
> invalid UTF-8
>
> Action not allowed
> mikkel@delight:~$
> ---------------------
>
> And the window wasn't moved to x=40 as it should have been. This will
> need some more investigation...
>
> --
> Winwrangler does not work with xfce window manager
> https://bugs.launchpad.net/bugs/292238
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in WinWrangler: New
>
> Bug description:
> The summary says it all. Using xfwm4 in Hardy. Winwrangler runs and
> apparently detects hotkey presses, but nothing happens. Example output when
> pressing a hotkey:
>
> Got KeyPress! keycode: 11, modifiers: 84
> Calling handler for '<Ctrl><Super>2'...
> WinWrangler-Message: Hotkey <Ctrl><Super>2 for 'tile' activated
> (winwrangler:17880): WinWrangler-DEBUG: Num windows: 2
>
> (winwrangler:17880): WinWrangler-WARNING **: Desktop layout contains
> floating element at (0, 25)@1680x26
> (winwrangler:17880): WinWrangler-DEBUG: Calculated desktop bounds (0, 25),
> (1680, 1050)
> (winwrangler:17880): WinWrangler-DEBUG: Grid is 2x1, with cell size
> 840x1025
>
> (winwrangler:17880): WinWrangler-DEBUG: set_geom(0, 25, 840, 1025)
> (winwrangler:17880): WinWrangler-DEBUG: set_geom(840, 25, 840, 1025)
> Got Event! 28, -1
> Got Event! 3, -1
> Got KeyRelease!
>
> Thanks,
> axel.
>

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Hehe, yeah, I'd love to pass the blame on :-)

I'll have a better look at this when I find more time... But I am quite sure that xfwm4 is to blame, mostly because Compiz and Metacity works very well. Haven't tried KWin, but it ought to work as well...

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Pasting my response to a comment on my blog entry: http://www.grillbar.org/wordpress/?p=306#comment-86735

"The commit message for revision 28313, 2008-10-19, reads “Add support for NET_MOVERESIZE_WINDOW” and I just checked the libwnck sources to see what wnck_window_set_geometry() uses, and this is exactly what it does…

I have not tried on xfwm4 > rev 28313 because it requires a lot of xfce4.5 packages that I don’t have time to compile myself. But it should work…"

So the bottom line: xfwm4 trunk should have fixed this. Marking this bug as Invalid.

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

THis was a missing feature in xfwm4 which is fixed in its trunk

Changed in winwrangler:
assignee: nobody → kamstrup
status: New → Invalid
Revision history for this message
Axel von Bertoldi (bertoldia) wrote :

Thank you for tracking this bug down.

a.

On Sun, Nov 2, 2008 at 3:41 AM, Mikkel Kamstrup Erlandsen <
<email address hidden>> wrote:

> THis was a missing feature in xfwm4 which is fixed in its trunk
>
> ** Changed in: winwrangler
> Assignee: (unassigned) => Mikkel Kamstrup Erlandsen (kamstrup)
> Status: New => Invalid
>
> --
> Winwrangler does not work with xfce window manager
> https://bugs.launchpad.net/bugs/292238
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in WinWrangler: Invalid
>
> Bug description:
> The summary says it all. Using xfwm4 in Hardy. Winwrangler runs and
> apparently detects hotkey presses, but nothing happens. Example output when
> pressing a hotkey:
>
> Got KeyPress! keycode: 11, modifiers: 84
> Calling handler for '<Ctrl><Super>2'...
> WinWrangler-Message: Hotkey <Ctrl><Super>2 for 'tile' activated
> (winwrangler:17880): WinWrangler-DEBUG: Num windows: 2
>
> (winwrangler:17880): WinWrangler-WARNING **: Desktop layout contains
> floating element at (0, 25)@1680x26
> (winwrangler:17880): WinWrangler-DEBUG: Calculated desktop bounds (0, 25),
> (1680, 1050)
> (winwrangler:17880): WinWrangler-DEBUG: Grid is 2x1, with cell size
> 840x1025
>
> (winwrangler:17880): WinWrangler-DEBUG: set_geom(0, 25, 840, 1025)
> (winwrangler:17880): WinWrangler-DEBUG: set_geom(840, 25, 840, 1025)
> Got Event! 28, -1
> Got Event! 3, -1
> Got KeyRelease!
>
> Thanks,
> axel.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.