[MacPorts] #51052: gtk3 @3.20.2 +quartz build error on Mac OS X 10.7

MacPorts noreply at macports.org
Thu Apr 7 06:09:37 PDT 2016


#51052: gtk3 @3.20.2 +quartz build error on Mac OS X 10.7
------------------------+----------------------
  Reporter:  martijn@…  |      Owner:  devans@…
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  gtk3       |
------------------------+----------------------

Comment (by mojca@…):

 I did some mouse event debugging some time ago and I clearly remember
 problems with so simple and stupid cases like scrolling or resizing a
 window.

 With an old mouse wheel one would get huge discrete steps. With a trackpad
 on Mac one could get 20 or 50 events for what would be a "single move". In
 gnuplot with Qt backend this ends up as a completely useless feature
 because a graph with million or ten million points would be recalculated
 and redrawn 50 times just to change the window size and I remember that I
 didn't see any reasonable workaround back then without rewriting a lot of
 core gnuplot functionality. But maybe I should look again.

 I have the following code in
 `/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSEvent.h`
 {{{
 /* The phase of a gesture scroll event. A gesture phrase are all the
 events
    that begin with a NSEventPhaseBegan and end with either a
 NSEventPhaseEnded
    or NSEventPhaseCancelled. All the gesture events are sent to the view
 under
    the cursor when the NSEventPhaseBegan occurred.
    A gesture scroll event starts with a NSEventPhaseBegan phase and ends
 with
    a NSPhaseEnded. Legacy scroll wheel events (say from a Mighty Mouse)
    and momentum scroll wheel events have a phase of NSEventPhaseNone.
    Valid for NSScrollWheel
 */
 - (NSEventPhase)phase NS_AVAILABLE_MAC(10_7);
 }}}

 So I don't believe that `phase` isn't known in 10.7.

 Do you see any parameters that shouldn't be in this call?
 {{{
 Invalid message sent to event "NSEvent:
     type=Magnify
     loc=(204.844,230.066)
     time=145525.0
     flags=0
     win=0x7f9f1b2b23f0
     winNum=19014
     ctxt=0x0
     deltaZ=0.999451
     magnification=0.001999"
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51052#comment:15>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list