Skip Menu |
 

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 21146
Status: open
Priority: 0/
Queue: Wx

People
Owner: mbarbon [...] users.sourceforge.net
Requestors: Marek.Rouchal [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.56
  • 0.57
  • 0.58
  • 0.59
  • 0.60
  • 0.61
  • 0.62
  • 0.63
  • 0.64
  • 0.65
  • 0.66
  • 0.67
  • 0.68
  • 0.69
  • 0.70
Fixed in: (no value)



Subject: Test and Demo Problem on Solaris 8 / Motif
Download (untitled) / with headers
text/plain 4.9k
I have perl-5.8.8, wx-2.6.3 (motif flavor) on Solaris 8 (Sparc), compiler is gcc-4.0.3 (using -O2 -mcpu=v9). With Wx-0.56 (latest Alien::wxWidget) I see two issues (which by the way do not occur with the same setup on Linux, where wx uses the Gtk toolkit): 1) Test - there is the following failure $ perl -Mblib t/10_oor.t 1..58 ok 1 - objects reference the same hash (Wx::Button) ok 2 - objects reference the same hash (Wx::Button) (2 phase) ok 3 - objects reference the same hash (Wx::BitmapButton) ok 4 - objects reference the same hash (Wx::BitmapButton) (2 phase) ok 5 - objects reference the same hash (Wx::CheckBox) ok 6 - objects reference the same hash (Wx::CheckBox) (2 phase) ok 7 - objects reference the same hash (Wx::CheckListBox) Warning: Name: listBoxSW Class: XmScrolledWindow DeAssocNavigator requires a navigator trait ok 8 - objects reference the same hash (Wx::CheckListBox) (2 phase) Warning: Name: listBoxSW Class: XmScrolledWindow DeAssocNavigator requires a navigator trait ok 9 - objects reference the same hash (Wx::Choice) ok 10 - objects reference the same hash (Wx::Choice) (2 phase) ok 11 - objects reference the same hash (Wx::ComboBox) ok 12 - objects reference the same hash (Wx::ComboBox) (2 phase) ok 13 - objects reference the same hash (Wx::Gauge) ok 14 - objects reference the same hash (Wx::Gauge) (2 phase) ok 15 - objects reference the same hash (Wx::ListBox) Warning: Name: listBoxSW Class: XmScrolledWindow DeAssocNavigator requires a navigator trait ok 16 - objects reference the same hash (Wx::ListBox) (2 phase) Warning: Name: listBoxSW Class: XmScrolledWindow DeAssocNavigator requires a navigator trait ok 17 - objects reference the same hash (Wx::ListCtrl) ok 18 - objects reference the same hash (Wx::ListCtrl) (2 phase) ok 19 - objects reference the same hash (Wx::ListView) ok 20 - objects reference the same hash (Wx::ListView) (2 phase) ok 21 - objects reference the same hash (Wx::MiniFrame) ok 22 # skip Skipping two-phase creation for Wx::MiniFrame ok 23 - objects reference the same hash (Wx::Notebook) ok 24 - objects reference the same hash (Wx::Notebook) (2 phase) ok 25 - objects reference the same hash (Wx::RadioBox) ok 26 - objects reference the same hash (Wx::RadioBox) (2 phase) ok 27 - objects reference the same hash (Wx::RadioButton) ok 28 - objects reference the same hash (Wx::RadioButton) (2 phase) ok 29 - objects reference the same hash (Wx::SashWindow) ok 30 - objects reference the same hash (Wx::SashWindow) (2 phase) ok 31 - objects reference the same hash (Wx::ScrollBar) ok 32 - objects reference the same hash (Wx::ScrollBar) (2 phase) ok 33 - objects reference the same hash (Wx::SpinButton) ok 34 - objects reference the same hash (Wx::SpinButton) (2 phase) not ok 35 - objects reference the same hash (Wx::SpinCtrl) # Failed test 'objects reference the same hash (Wx::SpinCtrl)' # in t/10_oor.t at line 67. # got: 'Wx::SpinButton=SCALAR(0x429b7c)' # expected: 'Wx::SpinCtrl=HASH(0x429858)' not ok 36 - objects reference the same hash (Wx::SpinCtrl) (2 phase) # Failed test 'objects reference the same hash (Wx::SpinCtrl) (2 phase) ' # in t/10_oor.t at line 79. # got: 'Wx::SpinButton=SCALAR(0x429c48)' # expected: 'Wx::SpinCtrl=HASH(0x429b70)' ok 37 - objects reference the same hash (Wx::SplitterWindow) ok 38 - objects reference the same hash (Wx::SplitterWindow) (2 phase) ok 39 - objects reference the same hash (Wx::Slider) ok 40 - objects reference the same hash (Wx::Slider) (2 phase) ok 41 - objects reference the same hash (Wx::StaticBitmap) ok 42 # skip Skipping two-phase creation for Wx::StaticBitmap ok 43 - objects reference the same hash (Wx::StaticBox) ok 44 # skip Skipping two-phase creation for Wx::StaticBox ok 45 # skip Some controls are weird ok 46 # skip Some controls are weird ok 47 - objects reference the same hash (Wx::StaticText) ok 48 # skip Skipping two-phase creation for Wx::StaticText ok 49 - objects reference the same hash (Wx::StatusBar) ok 50 # skip Skipping two-phase creation for Wx::StatusBar ok 51 - objects reference the same hash (Wx::TextCtrl) ok 52 - objects reference the same hash (Wx::TextCtrl) (2 phase) ok 53 - objects reference the same hash (Wx::TreeCtrl) ok 54 - objects reference the same hash (Wx::TreeCtrl) (2 phase) ok 55 - objects reference the same hash (Wx::Window) ok 56 - objects reference the same hash (Wx::Window) (2 phase) ok 57 - objects reference the same hash ok 58 - sanity check Warning: Name: listBoxSW Class: XmScrolledWindow DeAssocNavigator requires a navigator trait # Looks like you failed 2 tests of 58. 2) The Demo (demo/demo.pl) When I launch "cd demo; perl -Mblib demo.pl" then I get the window as in the attachment; the sizes of the frames on the right side are wrong, so I cannot click any buttons. Sorry, I cannot fix this myself, but I can offer you to provide any additional debugging information on request to help solving this. Cheers, Marek
Subject: wx.gif
Download wx.gif
image/gif 8.7k
wx.gif
Download (untitled) / with headers
text/plain 126b
This is to confirm that the problem still exists with wx-2.8.3 on Solaris 8 (Motif) with Wx-0.71 and latest Wx::Demo. -Marek
Download (untitled) / with headers
text/plain 536b
Hi, the t/10_oor.t problems are resolved (by skipping the tests) in later wxperl versions, as you likely have already noticed. For the wxDemo problem: I can't reproduce it under Linux, could you please try changing the line my $text = Wx::TextCtrl->new ( $split2, -1, "", wxDefaultPosition, wxDefaultSize, wxTE_READONLY|wxTE_MULTILINE|wxNO_FULL_REPAINT_ON_RESIZE ); passing an explicity size to the constructor (anything will do)? Thanks Mattia P.S.: are you able to try with a more recent wxWidgets version?
Download (untitled) / with headers
text/plain 717b
On Sa. 31. Mär. 2007, 11:19:21, MBARBON wrote: Show quoted text
> For the wxDemo problem: I can't reproduce it under Linux, > could you please try changing the line > > my $text = Wx::TextCtrl->new > ( $split2, -1, "", wxDefaultPosition, wxDefaultSize, > wxTE_READONLY|wxTE_MULTILINE|wxNO_FULL_REPAINT_ON_RESIZE ); > > passing an explicity size to the constructor (anything will do)?
That did not help. Only double-clicking the sizer line near the Source/Demo tabs helped - but then the event message window part is completely hidden. Seems that the sizer bars in general have problems... Show quoted text
> P.S.: are you able to try with a more recent wxWidgets version?
Yes, I now have 2.8.7 - same findings :-/ -Marek


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.