GNOME Bugzilla – Bug 98315
error when an application (xine) changes to fullscreen mode
Last modified: 2009-08-16 15:13:28 UTC
Hi, http://bugs.debian.org/168795 I use xine to view DVDs, and often use it in its fullscreen mode. This used to work fine, but now I get a beep every time. The error in .xsession-errors is this: Bad argument: #<subr get-x-property>, 0, 1 Bad argument: #<closure adjust-position-for-gravity/y>, (0 . 0), 2
This also happens with other applications like MPlayer and MoTV. I didn't see this with Sawfish 1.1 but I do see this with Sawfish 1.2.
Not with mplayer.
this patch fixes things for xine, at least: --- sawfish/wm/windows.jl 4 Nov 2002 03:35:38 -0000 1.30 +++ sawfish/wm/windows.jl 13 Nov 2002 19:23:08 -0000 @@ -320,7 +320,7 @@ If HINTS is non-nil, then it is the size (t x)))) (define (adjust-position-for-gravity/y w grav y #!key inverse) - (let* ((tl-off (window-frame-offset w)) + (let* ((tl-off (cdr (window-frame-offset w))) (br-off (- (cdr (window-frame-dimensions w)) (cdr (window-dimensions w)))) (sign (if inverse -1 +1)))
I can reproduce this bug with xawtv with your patche applied; But maybe this is another bug. Lisp backtrace: #1 adjust-position-for-gravity/y ...
+ Trace 30330
Bad argument: #<closure adjust-position-for-gravity/y>, (-6 . -19), 2
I had the same bug bug with "xawdecode", a xawtv like application. John's patch has solved it. Thanks.
should be fixed now
With your patch ? I've received a feedback from the user who reported this bug for xine, and this doesn't work.
OK, this bug is fixed.
You fixed the window gravity problem, but you completely ignored the #<subr get-x-property> bug, which still occurs. Whenever I open gmplayer, sawfish reports Bad argument $<subr get-x-property> 0,1 This comes from the C code, indicating that the window argument passed to get-x-property is invalid.
see above
The #<subr get-x-property> bug still exists. The windows.jl fix does not fix the get-x-property bug.
Just in case you are wondering, here are several scenarios to tickle the bug. Start gmplayer. Sit back and watch the sawfish errors. Start mplayer. During play, bring up the preferences dialog. Sit back and watch the sawfish errors. I have installed the windows.jl fix.
ok, my mistake put (setq backtrace-on-error '(bad-arg)) in your .sawfishrc and paste the backtrace in here
Lisp backtrace: #3 get-x-property ... #2 sm-get-window-prop ... #1 match-window-to-alist ...
+ Trace 33949
*** Bad argument: #<subr get-x-property>, 0, 1
I checked in something that may fix this, if not run sawfish in --interp mode and recapture the backtrace, thanks