← Back to team overview

openlp-core team mailing list archive

[Bug 1672081] [NEW] Web API poll display item only follows web api calls not UI actions

 

Public bug reported:

Web API poll display item only follows web api calls and ignores UI
actions. It would help if the initial state was "true" to match the
desktop display at that point.

Recreate
1. Run OpenLP
../api/poll
{"results": {"item": "", "slide": 0, "twelve": true, "service": 0, "display": false, "blank": false, "isSecure": false, "isAuthorised": true, "version": 2, "theme": false}}
****would be good if display=true matching the desktop state
2. Go Live on a service item
../api/poll
{"results": {"item": "9f519ea0-0674-11e7-881b-080027182b31", "slide": 0, "twelve": true, "service": 1, "display": false, "blank": false, "isSecure": false, "isAuthorised": true, "version": 2, "theme": false}}
****display still false but now it is correct
3. Use keyboard ESC to go back to the desktop
../api/poll
4. {"results": {"item": "9f519ea0-0674-11e7-881b-080027182b31", "slide": 0, "twelve": true, "service": 1, "display": false, "blank": false, "isSecure": false, "isAuthorised": true, "version": 2, "theme": false}}
****display still false, should be true
4. …/api/display/show
../api/poll
{"results": {"item": "9f519ea0-0674-11e7-881b-080027182b31", "slide": 0, "twelve": true, "service": 1, "display": false, "blank": false, "isSecure": false, "isAuthorised": true, "version": 2, "theme": false}}
**** display still false but now correct
5. …/api/display/desktop
../api/poll
{"results": {"item": "9f519ea0-0674-11e7-881b-080027182b31", "slide": 0, "twelve": true, "service": 1, "display": true, "blank": false, "isSecure": false, "isAuthorised": true, "version": 2, "theme": false}}
*** display=true it tracks changes from web API only.

** Affects: openlp
     Importance: Undecided
         Status: New

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

Title:
  Web API poll display item only follows web api calls not UI actions

Status in OpenLP:
  New

Bug description:
  Web API poll display item only follows web api calls and ignores UI
  actions. It would help if the initial state was "true" to match the
  desktop display at that point.

  Recreate
  1. Run OpenLP
  ../api/poll
  {"results": {"item": "", "slide": 0, "twelve": true, "service": 0, "display": false, "blank": false, "isSecure": false, "isAuthorised": true, "version": 2, "theme": false}}
  ****would be good if display=true matching the desktop state
  2. Go Live on a service item
  ../api/poll
  {"results": {"item": "9f519ea0-0674-11e7-881b-080027182b31", "slide": 0, "twelve": true, "service": 1, "display": false, "blank": false, "isSecure": false, "isAuthorised": true, "version": 2, "theme": false}}
  ****display still false but now it is correct
  3. Use keyboard ESC to go back to the desktop
../api/poll
  4. {"results": {"item": "9f519ea0-0674-11e7-881b-080027182b31", "slide": 0, "twelve": true, "service": 1, "display": false, "blank": false, "isSecure": false, "isAuthorised": true, "version": 2, "theme": false}}
  ****display still false, should be true
  4. …/api/display/show
  ../api/poll
  {"results": {"item": "9f519ea0-0674-11e7-881b-080027182b31", "slide": 0, "twelve": true, "service": 1, "display": false, "blank": false, "isSecure": false, "isAuthorised": true, "version": 2, "theme": false}}
  **** display still false but now correct
  5. …/api/display/desktop
  ../api/poll
  {"results": {"item": "9f519ea0-0674-11e7-881b-080027182b31", "slide": 0, "twelve": true, "service": 1, "display": true, "blank": false, "isSecure": false, "isAuthorised": true, "version": 2, "theme": false}}
  *** display=true it tracks changes from web API only.

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