Fwd: Re: Bug at version 0.70-rc2
Miloslav Semler <[email protected]>
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Organization | Crytur, spol. s r.o. |
| Message-ID | <[email protected]> |
Hi Carsten, please ignore last e-mail. Things are quite different when I thought. When I have a little more complicated design, I have panel MyPanel and Panel2 with widgets and I try to add panel with class MyPanel and Panel2 into main application, it will not generate code for Panel2. There is only a litte difference between widgets - one was added before frame, one after frame. I guess the application does not check dependencies and goes chronologically through the file and generates code. In attachement I send a little sample to reproduce this behviour. Cheers, Miloslav -------- Přeposlaná zpráva -------- Předmět: Re: [wxGlade] Bug at version 0.70-rc2 Datum: Thu, 29 Oct 2015 17:06:29 +0100 Od: Miloslav Semler <[email protected]> Společnost: Crytur, spol. s r.o. Komu: Carsten Grohmann <[email protected]> Kopie: wxglade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Hi Carsten, I found another bug (or feature): when create frame with too long name of widget or its class (23 and more characters), wxglade rejects to generate partial code for this widget and its child. I do not know if it is bug or feature, anyway, if this happens, user shoud be warned about it by messagedialog. Miloslav Dne 27.10.2015 v 21:18 Carsten Grohmann napsal(a): > Hi Miloslav, > > Miloslav Semler schrieb am 27.10.2015: >> error still persists. For reproducibility of this bug you need some >> diacritics like "žluťoučký kůň" ie. in text of the label. > Thanks for this hint. I can reproduce the bug now. I'll fix it. > >> Aditionally, there is several other bugs which persists from older >> version: >> a) when use custom widget, arguments from tab "Widget" disappears >> after load/save. > Please klick "Apply" to make this changes persistent > >> b) when i try to add hline to flexgridsizer it throws exception on me > I an't reproduce this exception. I did following steps: > 1. Create a new wxGlade project > 2. Create a new dialog > 3. Add a "Flexible" Grid sizer to the dialog > 4. right click to the grid sizer and > 1. Add slot > 2. Insert slot > 3. Add row > 4. Add column > 5. Insert row > 6. Insert column > 5. All works fine. > > Could you change the exception details and or the wxglade log file, > please? Or do you have a project that's failing in this point? > >> c) segfault on cut/paste of widget > That's hard to solve this segfaults with changes in the wxPython code. > Could you provide a list of steps how to reproduce, please? > >> d) generates an unwanted code if choices in combo box/check list box >> are empty: >> self.check_list_box_stitky = wx.CheckListBox(self, wx.ID_ANY, >> choices=["<set by wxGlade>"]) > That's fixed in the current development version called "tip". This > version is available at > https://bitbucket.org/agriggio/wxglade/downloads#tag-downloads > >> I hope some day this bugs will be fixed because version in debian >> wheezy did not this bugs. > I'll fix this bugs before the final version will be release with one > exception the segfaults are mostly triggered by the underlaying C++ > code. > > Thanks for sharing the details! > > Regards, > Carsten > -- Technolog Crytur, spol. s r.o. Palackého 175 51101 Turnov ------------------------------------------------------------------------------ _______________________________________________ wxGlade-general mailing list wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/wxglade-general
test.wxg
(text/xml, 6 KB)
<?xml version="1.0"?>
<!-- generated by wxGlade 0.7.1RC1 on Fri Oct 30 08:49:36 2015 -->
<application class="" encoding="UTF-8" for_version="2.8" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" name="" option="1" overwrite="0" path="." source_extension=".cpp" top_window="frame_1" use_gettext="0" use_new_namespace="1">
<object class="MyPanel" name="panel_my" base="EditTopLevelPanel">
<style>wxTAB_TRAVERSAL</style>
<object class="wxFlexGridSizer" name="grid_sizer_1" base="EditFlexGridSizer">
<hgap>0</hgap>
<rows>2</rows>
<cols>1</cols>
<vgap>0</vgap>
<object class="sizeritem">
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_1" base="EditStaticText">
<attribute>1</attribute>
<label>test</label>
</object>
</object>
<object class="sizeritem">
<border>0</border>
<option>0</option>
<object class="wxTextCtrl" name="text_ctrl_1" base="EditTextCtrl">
</object>
</object>
</object>
</object>
<object class="MyFrame" name="frame_1" base="EditFrame">
<title>frame_1</title>
<object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<border>0</border>
<option>1</option>
<object class="wxNotebook" name="notebook_5" base="EditNotebook">
<tabs>
<tab window="notebook_5_pane_1">tab1</tab>
<tab window="notebook_5_pane_2">tab2</tab>
</tabs>
<size>250, 246</size>
<object class="wxPanel" name="notebook_5_pane_1" base="EditPanel">
<style>wxTAB_TRAVERSAL</style>
<object class="wxBoxSizer" name="sizer_2" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<border>0</border>
<option>1</option>
<object class="MyPanel" name="panel_my" base="EditPanel">
</object>
</object>
</object>
</object>
<object class="wxPanel" name="notebook_5_pane_2" base="EditPanel">
<style>wxTAB_TRAVERSAL</style>
<object class="wxBoxSizer" name="sizer_3" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<border>0</border>
<option>1</option>
<object class="Panel2" name="panel_2" base="EditPanel">
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="Panel2" name="panel_2" base="EditTopLevelPanel">
<style>wxTAB_TRAVERSAL</style>
<object class="wxGridSizer" name="grid_sizer_2" base="EditGridSizer">
<hgap>0</hgap>
<rows>3</rows>
<cols>3</cols>
<vgap>0</vgap>
<object class="sizeritem">
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_1" base="EditButton">
<label>button_1</label>
</object>
</object>
<object class="sizeritem">
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_2" base="EditButton">
<label>button_2</label>
</object>
</object>
<object class="sizeritem">
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_3" base="EditButton">
<label>button_3</label>
</object>
</object>
<object class="sizeritem">
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_4" base="EditButton">
<label>button_4</label>
</object>
</object>
<object class="sizeritem">
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_5" base="EditButton">
<label>button_5</label>
</object>
</object>
<object class="sizeritem">
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_6" base="EditButton">
<label>button_6</label>
</object>
</object>
<object class="sizeritem">
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_7" base="EditButton">
<label>button_7</label>
</object>
</object>
<object class="sizeritem">
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_8" base="EditButton">
<label>button_8</label>
</object>
</object>
<object class="sizeritem">
<border>0</border>
<option>0</option>
<object class="wxButton" name="button_9" base="EditButton">
<label>button_9</label>
</object>
</object>
</object>
</object>
</application>