[erlang-questions] "wx:demo()." / static example / possible bug on Ubuntu 10.04 / Erlang R13B04/R14B

Dan Gudmundsson <>
Tue Oct 5 09:50:14 CEST 2010


On Sat, Oct 2, 2010 at 11:31 PM, Boris Mühmer
<> wrote:
> I just noticed on a Windows Server 2008 R2 system (actually running
> within a KVM virtual machine), that the "wx:demo()."/static-Example
> (using the R14B binary) gives a better result than on my
> (self-compiled/installed) Ubuntu 10.04 systems.
>
> On my windows systems the "wxStaticText" alignment is correct (left /
> center / right), but on my Ubuntu 10.04 system, all three text are on
> the left. This is true for Erlang R13B04 and R14B.

Known issue see http://trac.wxwidgets.org/ticket/12539

>
> Has anyone else experienced this behaviour?
>
>
> I noticed another interesting different behaviour between Windows and
> Ubuntu Erlang (R14B, possible other versions as well): "wx:demo()."
> doesn't return any warnings or errors on a windows box at all... on
> Ubuntu there are several Gtk-Warnings and an "WX INTERNAL ERROR: Failed to send return or event msg"... The warnings/errors on Ubuntu
> aren't around all the time; they also depend on the examples started.
>

Wx internal error, means that the driver tries to send a message to a
non existing process, the demo could probably be improved there.
That ERROR should be a warning, I don't want remove the message
completely since it can help the developer.

Gtk warnings, I can't do much about them try starting firefox from the
shell most gui programs on linux have but normally they go to
/dev/null, they can depend on half implemented gtk/gnome themes and
wxWidgets internal problems/hacks.

/Dan

>
>  - boris
>


More information about the erlang-questions mailing list