Public bug reported:

WindowStateStorage uses QtConcurrent::run with the default QThreadPool
to write in the SQLite database. But the functions passed are not
guaranteed to be executed if there is no available thread in the pool.

Steps to reproduce reliably:
1. Use a computer (or a VM) with only one CPU core
2. Start any app
3. Resize the app window
4. Close the app
5. Restart the same app

Expected result:
After the app is restarted the window size is back to the size given by the 
user.

Current result:
After the app is restarted the window size is the default size.

However if unity8 is restarted the geometry is then correctly saved to
DB and correctly restored after the app is launched.

** Affects: unity8 (Ubuntu)
     Importance: Undecided
     Assignee: Florian Boucault (fboucault)
         Status: In Progress

** Changed in: unity8 (Ubuntu)
     Assignee: (unassigned) => Florian Boucault (fboucault)

** Changed in: unity8 (Ubuntu)
       Status: New => In Progress

-- 
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/1675424

Title:
  Window geometries not saved until unity8 exits when number of CPU
  cores too low

Status in unity8 package in Ubuntu:
  In Progress

Bug description:
  WindowStateStorage uses QtConcurrent::run with the default QThreadPool
  to write in the SQLite database. But the functions passed are not
  guaranteed to be executed if there is no available thread in the pool.

  Steps to reproduce reliably:
  1. Use a computer (or a VM) with only one CPU core
  2. Start any app
  3. Resize the app window
  4. Close the app
  5. Restart the same app

  Expected result:
  After the app is restarted the window size is back to the size given by the 
user.

  Current result:
  After the app is restarted the window size is the default size.

  However if unity8 is restarted the geometry is then correctly saved to
  DB and correctly restored after the app is launched.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1675424/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to