← Back to team overview

touch-packages team mailing list archive

[Bug 1477243] Re: In function _grail_be_slice_state_update position_y is not updated.

 

** Also affects: geis/trusty
   Importance: Undecided
       Status: New

** Also affects: geis/vivid
   Importance: Undecided
       Status: New

** Changed in: geis/trusty
       Status: New => Triaged

** Changed in: geis/vivid
       Status: New => Triaged

** Changed in: geis/trusty
   Importance: Undecided => High

** Changed in: geis/vivid
   Importance: Undecided => High

** Changed in: geis
     Assignee: (unassigned) => Stephen M. Webb (bregma)

** Changed in: geis/trusty
     Assignee: (unassigned) => Stephen M. Webb (bregma)

** Changed in: geis/vivid
     Assignee: (unassigned) => Stephen M. Webb (bregma)

** Also affects: geis (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: geis (Ubuntu)
       Status: New => Triaged

** Changed in: geis (Ubuntu)
   Importance: Undecided => High

** Changed in: geis (Ubuntu)
     Assignee: (unassigned) => Stephen M. Webb (bregma)

** Also affects: geis (Ubuntu Vivid)
   Importance: Undecided
       Status: New

** Also affects: geis (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: geis (Ubuntu Trusty)
   Importance: Undecided => High

** Changed in: geis (Ubuntu Trusty)
       Status: New => Triaged

** Changed in: geis (Ubuntu Vivid)
       Status: New => Triaged

** Changed in: geis (Ubuntu Vivid)
   Importance: Undecided => High

** Changed in: geis (Ubuntu Trusty)
     Assignee: (unassigned) => Stephen M. Webb (bregma)

** Changed in: geis (Ubuntu Vivid)
     Assignee: (unassigned) => Stephen M. Webb (bregma)

** Changed in: geis
       Status: Triaged => In Progress

** Changed in: geis (Ubuntu)
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to geis in Ubuntu.
https://bugs.launchpad.net/bugs/1477243

Title:
  In function _grail_be_slice_state_update  position_y is not updated.

Status in Geis:
  In Progress
Status in Geis trusty series:
  Triaged
Status in Geis vivid series:
  Triaged
Status in geis package in Ubuntu:
  In Progress
Status in geis source package in Trusty:
  Triaged
Status in geis source package in Vivid:
  Triaged

Bug description:
  static void
  _grail_be_slice_state_update(struct _GeisSliceState *slice_state, UGSlice slice)
  {
    
    if (slice_state->num_touches != grail_slice_get_num_touches(slice))
    {
      const UGTransform *C = grail_slice_get_cumulative_transform(slice);

      slice_state->angle = 0.0f;
      slice_state->position_x = grail_slice_get_original_center_x(slice) +
                                (*C)[0][2];
      slice_state->position_x = grail_slice_get_original_center_x(slice) +
                                (*C)[1][2];
      slice_state->radius = 1.0f;
      slice_state->num_touches = grail_slice_get_num_touches(slice);
    }
  }

     slice_state->position_x = grail_slice_get_original_center_x(slice) +
                               (*C)[1][2];

  I suspect this must be 
     slice_state->position_y = grail_slice_get_original_center_y(slice) +
                               (*C)[1][2];

To manage notifications about this bug go to:
https://bugs.launchpad.net/geis/+bug/1477243/+subscriptions