Strange problem with racket/gui

30 views
Skip to first unread message

Dominik Pantůček

unread,
Apr 10, 2021, 8:41:03 AM4/10/21
to Racket Users
Hello Racketeers,

with GUI widgets tree like:

vertical-panel%
vertical-pane%
vertical-pane%
horizontal-pane%
text-field%
horizontal-pane%
horizontal-pane%
message%
vertical-pane%
slider%

After pressing <tab> when the text-field% has focus, the text-field%
loses and slider% gets focus. The following exception is raised though:

send: no such method
method name: on-tab-in
class name: wx-make-horizontal/vertical-panel%
context...:
/usr/share/racket/collects/racket/private/class-internal.rkt:4663:0:
obj-error
/usr/share/racket/pkgs/gui-lib/mred/private/wxtop.rkt:546:61
/usr/share/racket/collects/racket/private/more-scheme.rkt:148:2:
call-with-break-parameterization
/usr/share/racket/pkgs/gui-lib/mred/private/wxtop.rkt:453:8:
handle-traverse-key method in make-top-container%
/usr/share/racket/collects/ffi/unsafe/atomic.rkt:73:13
/usr/share/racket/collects/racket/private/more-scheme.rkt:148:2:
call-with-break-parameterization
/usr/share/racket/collects/ffi/unsafe/atomic.rkt:73:13
/usr/share/racket/pkgs/gui-lib/mred/private/wx/gtk/window.rkt:836:4:
call-pre-on-char method in window%
[repeats 3 more times]
/usr/share/racket/pkgs/gui-lib/mred/private/wx/gtk/window.rkt:816:4:
dispatch-on-char method in window%
/usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:435:6
/usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:486:32
/usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:634:3


Does it ring a bell to anyone?

Welcome to Racket v8.0 [cs].
Linux telperion 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC
2021 x86_64 x86_64 x86_64 GNU/Linux


It is 20.04 Ubuntu LTS.


Without further investigation, it looks like some rather obscure bug
deep in pane/panel impelmentation.


Cheers,
Dominik
Reply all
Reply to author
Forward
0 new messages