← Back to team overview

touch-packages team mailing list archive

[Bug 1539011] Re: [regression] Window resizing is very choppy and stutters (border does not smoothly follow the mouse)

 

"Now the QML window size *always* match the Mir surface size. So the
resize "animation" will be as smoothly as the client application is able
to redraw its mir surface."

See comment #5 :) The basic rule of display servers is that you should
never wait for clients. Never.

The solution to this problem is what we use in the Mir demo servers, which is the same as what you will find in Unity7, Microsoft Windows, and ChromeOS at least. That is:
  (1) The server never waits for the client to do anything. Just acts on the latest information it has.
  (2) The server chooses texture coordinates such that the client's pixels always appear square.
  (3) Per number 2, if the client is lagging a bit, that's fine. Just fill in the blank space or truncate.

This is what you will find Mir demo servers do, as well as Unity7,
Microsoft Windows (including Windows 10) and ChromeOS. I've verified
these all recently.

Unfortunately I did propose a fix to this problem in August 2015. And
although it got rejected, I thought we had landed something equivalent,
but apparently not.
(https://code.launchpad.net/~vanvugt/qtmir/unstretch/+merge/268724)

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

Title:
  [regression] Window resizing is very choppy and stutters (border does
  not smoothly follow the mouse)

Status in QtMir:
  Invalid
Status in Ubuntu UX:
  New
Status in qtmir package in Ubuntu:
  Invalid
Status in unity8 package in Ubuntu:
  New

Bug description:
  Just tried Unity8 desktop for the first time since October and found
  some things don't work as well as before. One of them is window
  resizing, which is now every choppy and stuttering.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: unity8 8.11+16.04.20160122-0ubuntu1
  ProcVersionSignature: Ubuntu 4.3.0-7.18-generic 4.3.3
  Uname: Linux 4.3.0-7-generic x86_64
  ApportVersion: 2.19.4-0ubuntu1
  Architecture: amd64
  Date: Thu Jan 28 18:39:38 2016
  InstallationDate: Installed on 2015-12-03 (56 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151202)
  SourcePackage: unity8
  UpgradeStatus: No upgrade log present (probably fresh install)
  upstart.unity8-dash.log: Attempted to deliver an event to a non-existent window, ignoring.

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


Follow ups

References