When you resize a resizable widget (in this example AuiNotebook, but I've experienced the same thing on a SashWindow) it will cause lines to be continuously drawn to the left of the cursor while the resize is being performed.
This simply shouldn't happen
# -*- coding: utf-8 -*- ########################################################################### ## Python code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6) ## http://www.wxformbuilder.org/ ## ## PLEASE DO *NOT* EDIT THIS FILE! ########################################################################### import wx import wx.xrc import wx.aui import gettext _ = gettext.gettext ########################################################################### ## Class MyFrame1 ########################################################################### class MyFrame1 ( wx.Frame ): def __init__( self, parent ): wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = wx.EmptyString, pos = wx.DefaultPosition, size = wx.Size( 500,300 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL ) self.SetSizeHints( wx.DefaultSize, wx.DefaultSize ) bSizer1 = wx.BoxSizer( wx.HORIZONTAL ) self.m_auinotebook1 = wx.aui.AuiNotebook( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.aui.AUI_NB_DEFAULT_STYLE ) self.m_panel3 = wx.Panel( self.m_auinotebook1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL ) bSizer4 = wx.BoxSizer( wx.VERTICAL ) self.m_button8 = wx.Button( self.m_panel3, wx.ID_ANY, _(u"MyButton"), wx.DefaultPosition, wx.DefaultSize, 0 ) bSizer4.Add( self.m_button8, 0, wx.ALL, 5 ) self.m_panel3.SetSizer( bSizer4 ) self.m_panel3.Layout() bSizer4.Fit( self.m_panel3 ) self.m_auinotebook1.AddPage( self.m_panel3, _(u"a page"), False, wx.NullBitmap ) self.m_panel4 = wx.Panel( self.m_auinotebook1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL ) bSizer5 = wx.BoxSizer( wx.VERTICAL ) self.m_button10 = wx.Button( self.m_panel4, wx.ID_ANY, _(u"MyButton"), wx.DefaultPosition, wx.DefaultSize, 0 ) bSizer5.Add( self.m_button10, 0, wx.ALL, 5 ) self.m_panel4.SetSizer( bSizer5 ) self.m_panel4.Layout() bSizer5.Fit( self.m_panel4 ) self.m_auinotebook1.AddPage( self.m_panel4, _(u"a page"), False, wx.NullBitmap ) bSizer1.Add( self.m_auinotebook1, 1, wx.EXPAND |wx.ALL, 5 ) self.SetSizer( bSizer1 ) self.Layout() self.Centre( wx.BOTH ) # non-generated (so you can easily run this example) if __name__ == "__main__": app = wx.App() main_widget = MyFrame1() main_widget.Show() # Start the event loop. app.MainLoop()
The Does this in python and the wxFormBuilder preview.
Version: 10.0.26200 Build 26200 (according to system info)—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
https://github.com/user-attachments/assets/9d13e4b5-ea0d-45ca-9afc-583adb68c532
Here is a small video I took demonstrating it
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
wxSashWindow is broken when using multiple monitors or high DPI and so needs to be avoided until it can be fixed. The AUI part is similar to #23982, please check if it's not exactly the same problem and if it is, let's close this one.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
@vadz Are there any workarounds that do no involve making my own widgets? I would prefer to use the ones built-in instead of any of the pure-python widgets provided by wxPython we well, simply because I would expect that widgets written in c++ would be faster inherently.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
I don't think there is any workaround/replacement/equivalent for wxSashWindow, although I also don't think speed is of any concern here.
wxAUI dragging needs to be fixed and hopefully will before 3.4.0.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()