Public bug reported:

Currently every singleton component exported as context property
declares a static instance which we use across the toolkit as well as in
the test cases, which do require an engine to be running. However the
instance() functions return the instance created by the first engine,
which will cause problems in case an application will use two separate
Quick windows, and will try to share a code that has access to both view
contents.

We must get rid of the instance() functionality and do a proper
implementation for each singleton.

Affected components:
* Units
* i18n
* FontUtils
* QuickUtils
* UbuntuApplication
* StateSaver(!!!!!)
* Haptics

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: High
     Assignee: Zsombor Egri (zsombi)
         Status: New

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

Title:
  We must clean singleton and context property handling so they are
  always tight to a given QML Engine instance.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1543998/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to