[wxPython] Comments and a few bug reports.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[wxPython] Comments and a few bug reports.

Jérôme Loisel-2
Hello,
        I have tried to like Tk, even though it is thoroughly ugly. But Tkinter is
hard to learn, has no documentation, and (according to my hunch), turns into
a dead-end as soon as one needs to develop complex interfaces. Tkinter is
everything Python opposes. Tkinter... is evil. :-)
        I am now checking out wxWindows/wxPython. Thank you very much for this
software! So far, it looks amazing. And having documentation to program with
is such a relief! I have found a few bugs, however, in
wxWindows/wxPython, and thought it would be helpful if I reported them.
        I am running wxPython-2.1.11-1 RPM from your site, with
wxGTK-2.1.11-1 from the wxGTK website. I have a RedHat6.0 system. Gtk+
version is 1.2.3. Of course, the "bugs" I mention could be Gtk+ bugs, for
all I know.
        (BTW, the whole thing feels rather sluggish. I heard that Gtk+ is on the
slow side. Is that what I am seeing, or is there a significant overhead in
wxWindows/wxPython compared to the pain in the keister called Tk?)

        I am now trying out the demos. I get weird errors. The first time I tried
it, some demos felt sluggish. When I got to wxStatusBar, the window popped
up correctly, but would not close. I would click on the close window icon
provided by my window manager, but the window would not close. Eventually, I
killed it, which also killed the main demo program.
        I started the demo program again and to my surprise, wxStatusBar was now
behaving properly. I tried several examples and got to wxDirDialog. That one
was strange. All the top-level choices were displayed properly (although I
would tend to object to having such choices as "The Computer", "Etcetera"
and "My Home"...), but the folders in "The Computer" were really screwed.
Every folder in my / was there, but three times. So the contents were: bin,
bin, bin, boot, boot, boot, dev, dev, dev... Very strange. Clicking through
the
menus eventually brought about a segfault.
        I then started up the demos again and tried some new ones. I played around
in the HTML browser for a while, and eventually got a segfault. (I am sorry
those are not very precise indications. In the future, I will try to write
them as they occur so you know better what to do.)
        In wxListBox, shading of selected items does not appear to work perfectly.
Clicking on an item does not shade it. However, if I hold down the LMB and
go to the bottom of the list, the list scrolls up. List entries appearing
under my mouse will be selected AND shaded. But I can't shade them
otherwise. (Gtk+ bug?)
        wxGLCanvas segfaults reproducibly on startup. I guess that's probably the
kind of thing which only happens on my machine (otherwise it would not have
gotten into the distribution), but I thought it was worth reporting as
well... :-)
        Hangman would not quit. I had to kill it as well.
        Something else: when I try out the wxGrid example (that is what I actually
plan on using), clicking on a cell gives me the following info in the log:

"""
OnCellChange: (4, 1)
OnCellChange: (4, 1)
OnCellChange: (4, 1)
OnCellChange: (4, 1)
OnCellChange: (4, 1)
OnSelectCell: (4, 1)
OnCellClick: (4, 1)
"""
        As you can see, OnCellChange gets called five times (!) in a row, even
though the contents of the cell have still not been touched. Is that
expected behavior? Doesn't that entail quite a big performance hit,
especially if something significant is actually done with this event?
        Thanks again for the software. It truly is amazing. Sorry this is so long.
I am not complaining, just trying to help! Hope it does.. Cheers, and happy
coding.

Jérôme Loisel





_______________________________________________________
Get 100% FREE Internet Access powered by Excite
Visit http://freeworld.excite.com



_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users



Reply | Threaded
Open this post in threaded view
|

Re: [wxPython] Comments and a few bug reports.

Robin Dunn
Thanks for the bug reports.  Most of these are already known, and some are
already fixed in the CVS, but it is still good to be reminded...

The slugishness concerns me though.  I usually run wxPython on wxGTK in a
VMWare virtual machine, so the whole OS is fairly slugish.  Otherwise I run
it on high end dual processor mahcines where it is very quick and snappy, so
it is hard for me to tell.  Has anybody else noticed this?

--
Robin Dunn
Software Craftsman
[hidden email]
http://AllDunn.com/robin/
http://AllDunn.com/wxPython/  Check it out!



_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users



Reply | Threaded
Open this post in threaded view
|

Re: [wxPython] Comments and a few bug reports.

Joshua Judson Rosen-2
>Thanks for the bug reports.  Most of these are already known, and some are
>already fixed in the CVS, but it is still good to be reminded...
>
>The slugishness concerns me though.  I usually run wxPython on wxGTK in a
>VMWare virtual machine, so the whole OS is fairly slugish.  Otherwise I run
>it on high end dual processor mahcines where it is very quick and snappy, so
>it is hard for me to tell.  Has anybody else noticed this?

In my experience, wxPython/GTK+ performs very well, unless I'm running GTK+ with a pixmap theme--I tried reducing my Python code to ~nothing, and pixmapified GTK+ was still *really* slow (typing into a wxTextCtrl, there was lag roughly equivlent to the usual lag on my other PC, which is ~25% the speed of this one).

I have wondered why the pixmap engine makes wxPython perform so poorly, while it has almost no effect on the native GTK+/C applications that I run.



_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users



Reply | Threaded
Open this post in threaded view
|

RE: [wxPython] Comments and a few bug reports.

Pieter Claerhout-3
In reply to this post by Jérôme Loisel-2
I don't have any problems with the performance of wxPython,
except that the importing of wxPython.wx take quite some
time. I would love that there's like a little wxPython
module which just includes everything to show a splash
screen, and while the splash screen is shown, you can import
then the big wxPython.wx stuff.

Kind regards,


Pieter

Pieter Claerhout - [hidden email]
Response Center - Applications Support

Creo Europe - Excelsiorlaan 21 - 1930 Zaventem - Belgium
Tel: +32 (2) 711 14 00 - Fax: +32 (2) 720 96 71


-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: Tuesday, January 18, 2000 8:00 PM
To: [hidden email]
Subject: Re: [wxPython] Comments and a few bug reports.


>Thanks for the bug reports.  Most of these are already known, and some are
>already fixed in the CVS, but it is still good to be reminded...
>
>The slugishness concerns me though.  I usually run wxPython on wxGTK in a
>VMWare virtual machine, so the whole OS is fairly slugish.  Otherwise I run
>it on high end dual processor mahcines where it is very quick and snappy, so
>it is hard for me to tell.  Has anybody else noticed this?

In my experience, wxPython/GTK+ performs very well, unless I'm running GTK+ with a pixmap theme--I tried reducing my Python code to ~nothing, and pixmapified GTK+ was still *really* slow (typing into a wxTextCtrl, there was lag roughly equivlent to the usual lag on my other PC, which is ~25% the speed of this one).

I have wondered why the pixmap engine makes wxPython perform so poorly, while it has almost no effect on the native GTK+/C applications that I run.



_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users

_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users