Opened 11 years ago

Closed 3 years ago

#10601 closed defect (outdated)

Frame not draggable by native OS X toolbar

Reported by: jfn Owned by: csomor
Priority: normal Milestone:
Component: wxPython Version: 2.8.9
Keywords: Cc: daju.wxwidgets@…
Blocked By: Blocking:
Patch: no

Description

After upgrading from wxPython 2.8.7.1 to 2.8.9.2, my frame is not draggable by its toolbar. It was before. Now it is only draggable by the thin title bar on top, but not the area with the toolbar buttons and labels.

This is on OS X 10.5.6 with a native-style toolbar (e.g. it is created via wx.Frame.CreateToolBar).

Maybe it is related to this bug fix: http://article.gmane.org/gmane.comp.python.wxpython/66303

Change History (8)

comment:1 Changed 11 years ago by jfn

Update: this is new in 2.8.9.2, and is not present in 2.8.9.1.

comment:2 Changed 11 years ago by csomor

  • Owner set to csomor
  • Status changed from new to accepted

Hi

yes, I also assume it is related to this fix r57830, I'll have to add some code to avoid sending the event to toplevel if the event is in the structureRegion and no wx control has been hit

Best,

Stefan

comment:3 Changed 11 years ago by disc

I'm having the same problem. You are correct about r57830: the dragging works fine in r57829 but doesn't anymore in the next revision.

comment:4 Changed 11 years ago by dianders

  • Cc daju.wxwidgets@… added

comment:5 Changed 11 years ago by gianhut

I found some strange thing regarding to this issue. I can drag the window using the toolbar just fine if the first line of the code is this:

#!/usr/bin/python

and only this line works. #!/usr/bin/env python doesn't.

comment:6 Changed 11 years ago by elentirmo

@gianhut: do you have MacPorts installed, with Python and wxPython? In that case #!/usr/bin/env python might result in the MacPorts version being run (depending on your $PATH), while #!/usr/bin/python runs the Apple-supplied version.

comment:7 Changed 10 years ago by cprecord

I see this is fixed on the 2.9 branch any chance of a backport to 2.8?

Thanks

comment:8 Changed 3 years ago by robind

  • Resolution set to outdated
  • Status changed from accepted to closed

Closing old Phoenix tickets...

If this is still an issue in wxPython 4.0.0a1 then please open a new issue (or PR) at the wxPython-Phoenix project page on Github: https://github.com/wxWidgets/Phoenix

Note: See TracTickets for help on using tickets.