[Windows] Action attribute duplicated while scrolling
Bug #421951 reported by
Juho Vepsäläinen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
Fix Released
|
Medium
|
Stani |
Bug Description
1. Set up an action list so that a scrollbar appears to the window. (Just adding one Blender action is enough.)
2. Select some attribute.
3. Scroll (move the scrollbar up/down directly or either using a mouse scroll. Make sure that the attribute is ~active~ (ie. editable atm)). -> Note how the attribute stays in the same location.
I tested this on Win7 (Professional) using wxPython 2.8.10.1 (x64-unicode).
summary: |
- Action attribute duplicated while scrolling + [Windows] Action attribute duplicated while scrolling |
Changed in phatch: | |
assignee: | nobody → stani (stani) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in phatch: | |
status: | Confirmed → Triaged |
tags: | added: windows |
Changed in phatch: | |
milestone: | none → 0.2.6 |
Changed in phatch: | |
milestone: | 0.2.6 → 0.2.7 |
Changed in phatch: | |
assignee: | stani (stani) → Ed Cranford (ed-cranford) |
Changed in phatch: | |
status: | Triaged → Confirmed |
Changed in phatch: | |
milestone: | 0.2.7 → 0.2.8 |
Changed in phatch: | |
assignee: | Ed Cranford (ed-cranford) → nobody |
To post a comment you must log in.
Committed revision 1905.
$ bzr diff lib/pyWx/ treeEdit. py' lib/pyWx/ treeEdit. py 2010-03-07 00:36:46 +0000 lib/pyWx/ treeEdit. py 2010-03-26 19:43:26 +0000
self. popup.Show( )
self. resize_ popup() FontFileField) : wx.EVT_ SCROLLWIN, self.close_popup)
wx. GetTopLevelPare nt(self) .Bind(wx. EVT_LEAVE_ WINDOW,
self. close_popup)
self. evt_leave_ window = True
=== modified file 'phatch/
--- phatch/
+++ phatch/
@@ -451,6 +451,7 @@
if not isinstance(field, formField.
+ self.Bind(
@@ -463,7 +464,8 @@
def close_popup(self, event=None): arent(self) leave_window: leave_window: wx.EVT_ SCROLLWIN)
frame. Unbind( wx.EVT_ LEAVE_WINDOW)
self. evt_leave_ window = False
self. set_form_ field_value( self.popup_ item, value_as_string) form_relevance( self.popup_ item)
frame = wx.GetTopLevelP
- if frame and self.evt_
+ if self and frame and self.evt_
+ self.Unbind(
if self.popup:
@@ -471,6 +473,8 @@
# self.update_
self.popup = self.popup_item = None
+ if event:
+ event.Skip()
# # This would be logical but only works in wxPython2.6 pos_offset_ size(self, item):
# # def get_popup_