[Ubuntu-webapps-bugs] [Bug 1665383] [NEW] Clean up location bar offset update tracking

2017-02-16 Thread Chris Coulson
Public bug reported:

We pass cc::CompositorFrameMetadata around to a few places - a couple of
which are interested in the location bar position, and each responsible
for attempting to synchronize updates to this with the compositor.

The touch editing menu implementation needs to be aware of location bar
position updates, but there's currently no good way of plumbing this in.
It seems we've hit this issue in the past but just worked around it
rather than fixing it, eg:

https://git.launchpad.net/oxide/tree/shared/browser/oxide_render_widget_host_view.cc?id=40441702cbbe4e4e45a70d0571d5a63fb1eb#n456

This code works around the fact that the touch handle drawables aren't
aware of location bar position updates, but they should be.

Also, where coordinates are transformed for the location bar position
isn't very consistent - eg, input events are transformed in qt/, whereas
coordinates for the popup menu and other bits are transformed in
shared/.

Time to clean this up.

** Affects: oxide
 Importance: High
 Assignee: Chris Coulson (chrisccoulson)
 Status: Triaged

** Changed in: oxide
   Importance: Undecided => High

** Changed in: oxide
   Status: New => Triaged

** Changed in: oxide
 Assignee: (unassigned) => Chris Coulson (chrisccoulson)

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1665383

Title:
  Clean up location bar offset update tracking

Status in Oxide:
  Triaged

Bug description:
  We pass cc::CompositorFrameMetadata around to a few places - a couple
  of which are interested in the location bar position, and each
  responsible for attempting to synchronize updates to this with the
  compositor.

  The touch editing menu implementation needs to be aware of location
  bar position updates, but there's currently no good way of plumbing
  this in. It seems we've hit this issue in the past but just worked
  around it rather than fixing it, eg:

  
https://git.launchpad.net/oxide/tree/shared/browser/oxide_render_widget_host_view.cc?id=40441702cbbe4e4e45a70d0571d5a63fb1eb#n456

  This code works around the fact that the touch handle drawables aren't
  aware of location bar position updates, but they should be.

  Also, where coordinates are transformed for the location bar position
  isn't very consistent - eg, input events are transformed in qt/,
  whereas coordinates for the popup menu and other bits are transformed
  in shared/.

  Time to clean this up.

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

-- 
Mailing list: https://launchpad.net/~ubuntu-webapps-bugs
Post to : ubuntu-webapps-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-webapps-bugs] [Bug 1665381] [NEW] Replace Render{Frame, Widget}HostID with a weak pointer class

2017-02-16 Thread Chris Coulson
Public bug reported:

We have this helper class for storing IDs that's used in a few places,
but it's used like a weak pointer. We should just make this in to a
weak-pointer-like class instead.

** Affects: oxide
 Importance: Low
 Assignee: Chris Coulson (chrisccoulson)
 Status: Triaged

** Changed in: oxide
   Importance: Undecided => Low

** Changed in: oxide
   Status: New => Triaged

** Changed in: oxide
 Assignee: (unassigned) => Chris Coulson (chrisccoulson)

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1665381

Title:
  Replace Render{Frame,Widget}HostID with a weak pointer class

Status in Oxide:
  Triaged

Bug description:
  We have this helper class for storing IDs that's used in a few places,
  but it's used like a weak pointer. We should just make this in to a
  weak-pointer-like class instead.

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

-- 
Mailing list: https://launchpad.net/~ubuntu-webapps-bugs
Post to : ubuntu-webapps-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs
More help   : https://help.launchpad.net/ListHelp