Hello!
I have two problems with gtkairo backend.
First problem is black application frame while presented information on frame parts is not changed, mouse pointer is not hover on scrollbar or interactor menu doesn't appear on that pane. This appear in Ubuntu Linux 10.04 with SBCL 1.0.40 and GTK 2.20.
Second problem is McCLIM with gtkairo backend hangs on Windows XP on SBCL 1.0.43 (https://sites.google.com/site/dmitryvksite/sbcl-distr/sbcl-1.0.43-threads-g0...) and GTK 2.22. I try to eval:
(run-frame-top-level (make-application-frame 'superapp))
Then application frame is appear but panes not draw on it and frame hang (can't close window). SBCL hang too, but this issue I can avoid:
(sb-thread:make-thread (lambda () (run-frame-top-level (make-application-frame 'superapp))))
I run this code:
(defpackage "APP" (:use :clim :clim-lisp) (:export "APP-MAIN"))
(in-package :app)
(define-application-frame superapp () () (:pointer-documentation t) (:panes (app :application :display-time nil :height 400 :width 600) (int :interactor :height 200 :width 600)) (:layouts (default (vertically () app int))))
(defun app-main () (run-frame-top-level (make-application-frame 'superapp)))
(define-superapp-command (com-quit :name t) () (frame-exit *application-frame*))
(define-superapp-command (com-parity :name t) ((number 'integer)) (format t "~a is ~a~%" number (if (oddp number) "odd" "even")))
I use quicklisp and mcclim from quicklisp repository.
Have your any ideas to solve that problems?
On Sat, Nov 06, 2010 at 07:48:34PM +0500, Makarov Alexey wrote:
Hello!
I have two problems with gtkairo backend.
First problem is black application frame while presented information on frame parts is not changed, mouse pointer is not hover on scrollbar or interactor menu doesn't appear on that pane. This appear in Ubuntu Linux 10.04 with SBCL 1.0.40 and GTK 2.20.
I have similar problems with the gtkairo backend. As a quick fix I use
(setf clim-gtkairo::*medium-type* :gdk)
wich seems to fix the redrawing problems. With :cairo as a medium type I get serious redraw problems (mostly areas that stay black). I'm running SBCL on Ubuntu 8.10.
No idea about your windows problems.
HTH Ralf Mattes
Second problem is McCLIM with gtkairo backend hangs on Windows XP on SBCL 1.0.43 (https://sites.google.com/site/dmitryvksite/sbcl-distr/sbcl-1.0.43-threads-g0...) and GTK 2.22. I try to eval:
(run-frame-top-level (make-application-frame 'superapp))
Then application frame is appear but panes not draw on it and frame hang (can't close window). SBCL hang too, but this issue I can avoid:
(sb-thread:make-thread (lambda () (run-frame-top-level (make-application-frame 'superapp))))
I run this code:
(defpackage "APP" (:use :clim :clim-lisp) (:export "APP-MAIN"))
(in-package :app)
(define-application-frame superapp () () (:pointer-documentation t) (:panes (app :application :display-time nil :height 400 :width 600) (int :interactor :height 200 :width 600)) (:layouts (default (vertically () app int))))
(defun app-main () (run-frame-top-level (make-application-frame 'superapp)))
(define-superapp-command (com-quit :name t) () (frame-exit *application-frame*))
(define-superapp-command (com-parity :name t) ((number 'integer)) (format t "~a is ~a~%" number (if (oddp number) "odd" "even")))
I use quicklisp and mcclim from quicklisp repository.
Have your any ideas to solve that problems?
-- Makarov Alexey alexeys9@yandex.ru
mcclim-devel mailing list mcclim-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel