Activity for Brendan Simon

  • Brendan Simon Brendan Simon created ticket #214

    `Dialog_with_two_buttons` template has malformed dialog size

  • Brendan Simon Brendan Simon created ticket #213

    dialog code does not exit when `ok` or `cancel` is clicked

  • Brendan Simon Brendan Simon posted a comment on ticket #212

    I think that has fixed it. I could reproduce it with some quick testing. Also the new codegen didn't change any of the generated code (apart from timestamp) so it looks like CODEGEN_2017 hasn't broken anything either :)

  • Brendan Simon Brendan Simon posted a comment on ticket #212

    Actually, both example project exhibit the problem. It just needs to be triggered in the right way. If you load the project and generate then it all seems to work ok. However if you load the extra_code_2.wxg project, select checkbox_1 in the tree, check or uncheck Extra code for this, then regenerate code, then you should see the incorrect output. Doesn't seem to matter what I do after that, the output never gets generated correctly, even if I exit wxglade and reload the app, and even if Overwrite...

  • Brendan Simon Brendan Simon posted a comment on ticket #212

    What do you mean by "not use absolute paths"? Is that a setting in wxglade or an internal code change?

  • Brendan Simon Brendan Simon posted a comment on ticket #212

    Running on Mac. No break characters (or any) at all, between the statements. $ od -a ExtraCode.py 0000220 nl # sp b e g i n sp w x G l a d e 0000240 : sp e x t r a c o d e nl # # M y 0000260 B u t t o n E x t r a C o d e # 0000300 # * * M y C h e c k B o x E x t 0000320 r a C o d e * * ^ ^ M y S p i n 0000340 C o n t r o l E x t r a C o d e 0000360 ^ ^ ( ( B A R ) ) [ [ F O O ] ] 0000400 nl # sp e ZZ n d sp w x G l a d e nl nl $ od -a ExtraCode2.py 0000220 nl # sp b e g i n sp w x G l a d e 0000240...

  • Brendan Simon Brendan Simon posted a comment on ticket #212

    Here's a simplified a couple of simplified wxg files. The first one extra_code.wxg shows the problem (if you generate the code and look at ExtraCode.py. The second one extra_code_2.wxg has the same widgets and extra code but it is generated correctly. The main difference is one of the controls is buried in notebook tab.

  • Brendan Simon Brendan Simon created ticket #212

    no newline in generated extracode

  • Brendan Simon Brendan Simon created ticket #211

    Make StaticText instance a class attribute of the app

  • Brendan Simon Brendan Simon posted a comment on ticket #201

    Using DestroyLater worked ok for me when executing the same manual tests (creating lots of nested sizers and deleting them randomly via the context menu (right click => remove). However I did find test case that causes a crase (which may or may not be related to this issue). Do the following to reproduce: create an empty project add a wxFrame remove sizer_1 try to add a new sizer to the frame => CRASH /Users/brendan/Sandbox/wxglade/tree.py:730: wxPyDeprecationWarning: Using deprecated class. Use...

  • Brendan Simon Brendan Simon posted a comment on ticket #208

    Hi Dieter, I also found the derived class as a workable solution. Thanks, Brendan :)

  • Brendan Simon Brendan Simon created ticket #209

    Make frame instance a class attribute of the app

  • Brendan Simon Brendan Simon posted a comment on ticket #208

    As a further example, I want to add asyncio support to the wxApp. I have done this in manually build wxApp by doing the following, so I want a way to integrate this into a wxglade generated app. class MyApp(wx.App): def __init__(self): wx.App.__init__(self, False) ## Only specified windows will receive the idle event, not all windows. wx.IdleEvent.SetMode(wx.IDLE_PROCESS_SPECIFIED) ## bind idle event run the asyncio event loop. self.Bind(wx.EVT_IDLE, self.idle_handler) self.timer = wx.Timer(self)...

  • Brendan Simon Brendan Simon created ticket #208

    `# begin wxGlade` for application and main

  • Brendan Simon Brendan Simon created ticket #207

    Adding a toolbar causes error output in Properties window

  • Brendan Simon Brendan Simon posted a comment on ticket #205

    Yes. Using the design window does update the size :) I looked for the button and eventually found it. It wasn't super obvious in the sense that it stood out and grabbed my attention, but once you know where to look it's reasonably obvious.

  • Brendan Simon Brendan Simon posted a comment on ticket #205

    Where do I find the Design window? I've look in every menu but can't find anything that metions Design window or any other window. I thought the Preview window was the Design window.

  • Brendan Simon Brendan Simon posted a comment on ticket #205

    You can replicate this by creating a new project (i.e. from wxglade startup), select New from Template in the File menu, save to any name, click on the frame in the tree, view the frame (F5), and try resizing the frame.

  • Brendan Simon Brendan Simon posted a comment on ticket #205

    Hmmm. It seems to work fine with a new wxglade project. I wonder what is causing my test project to not update the frame size when I resize?

  • Brendan Simon Brendan Simon modified a comment on ticket #206

    I'm guessing this is a bug in wxPython 4 (Phoenix) as the demo does the same thing when displaying a simple frame. Reported to wxPhoenix issue here: https://github.com/wxWidgets/Phoenix/issues/347

  • Brendan Simon Brendan Simon posted a comment on ticket #206

    I'm guessing this is a bug in wxPython 4 (Phoenix) as the demo does the same thing when displaying a simple frame.

  • Brendan Simon Brendan Simon created ticket #206

    Frame name is duplicated on macOS

  • Brendan Simon Brendan Simon created ticket #205

    Auto size of frame

  • Brendan Simon Brendan Simon posted a comment on ticket #204

    A specialised grid (i.e. derived grid) can often have static headers for rows and/or columns, with only the data changing. e.g. would be sensor readings from one or more devices, or other changing stats from one or more devices. I don't see column headers as being more special than row headers. It's up to the designer to pick which layout suits their pupose. Actually, being able to edit all/any of the cells would be a good (very cool) way to visualise the grid the designer is trying to create. I...

  • Brendan Simon Brendan Simon created ticket #204

    Edit row labels for Grid

  • Brendan Simon Brendan Simon created ticket #203

    TypeError when selecting `New from Template...` from the `File` menu.

  • Brendan Simon Brendan Simon posted a comment on ticket #202

    oh ok. I don't see the problem now. Rev 2311 has fixed this isse :)

  • Brendan Simon Brendan Simon posted a comment on ticket #202

    But the Spin control has not been deleted !! I'm just selecting or deselecting the Spin control. i.e. another control is selected/highlighted, then I select the Spin control (but after moving from Layout to Widget tab in properties window). It also happens if Spin control is selected, then I select another control, in the tree (but after moving from Layout to Widget tab in properties window).

  • Brendan Simon Brendan Simon created ticket #202

    SpinButton AttributeError

  • Brendan Simon Brendan Simon posted a comment on ticket #201

    Your workarounds seem to have made things more stable. No more crashes observed thus far :)

  • Brendan Simon Brendan Simon posted a comment on ticket #201

    I've just noticed an AttributeError in the log. It appears that the call to self.spin.GetValue() called from self.on_spin() in new_properties.py is causing the exception because self.spin is None. Ether the SpinCtrl didn't get instantiated, or has been deleted and self.spin is set back to None. This would only show up on Mac as self.on_spin() seems to only be bound to the events if running on a Mac. ~~~ 330 if wx.Platform == 'WXMAC' or self.immediate: 331 self.spin.Bind(wx.EVT_SPINCTRL, self.on_spin)...

  • Brendan Simon Brendan Simon posted a comment on ticket #201

    another technique which may bring on the crash is right-click on an unselected slot and chose remove. This may work the first time, but repeating it can bring on the crash.

  • Brendan Simon Brendan Simon posted a comment on ticket #201

    Here is a video of the crash. https://youtu.be/DYesJSc0ySM The crase doesn't happen exactly the same each time. i.e. it can happen on the first delete, or the 3rd or 8th, etc. It seems to crash more if the sizers are nested (but that may be misleading).

  • Brendan Simon Brendan Simon created ticket #201

    Crash when removing sizer slot (phoenix/macOS)

  • Brendan Simon Brendan Simon posted a comment on ticket #200

    OK. My bad. I didn't have the latest 'default' branch checked out (as I thought I...

  • Brendan Simon Brendan Simon posted a comment on ticket #200

    I am. I'm using revision 2283 according to Sourcetree. What confused me was the _()...

  • Brendan Simon Brendan Simon created ticket #200

    Python3 error (with MacOS)

  • Brendan Simon Brendan Simon posted a comment on discussion Open Discussion

    If I create a temp project and add the file to the project (drag-n-drop and then...

  • Brendan Simon Brendan Simon modified a comment on discussion Open Discussion

    I tried a File => Open File, but did not see the option for Open With ... Hex Editor...

  • Brendan Simon Brendan Simon posted a comment on discussion Open Discussion

    I tried a File => Open File, but did not see the option for Open With ... Hex Editor...

1

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks