Merge lp://qastaging/~suutari-olli/openlp/escape-fixes-1294111-1497637 into lp://qastaging/openlp

Proposed by Azaziah
Status: Superseded
Proposed branch: lp://qastaging/~suutari-olli/openlp/escape-fixes-1294111-1497637
Merge into: lp://qastaging/openlp
Diff against target: 128 lines (+44/-23)
2 files modified
openlp/core/ui/slidecontroller.py (+31/-18)
tests/functional/openlp_core_ui/test_slidecontroller.py (+13/-5)
To merge this branch: bzr merge lp://qastaging/~suutari-olli/openlp/escape-fixes-1294111-1497637
Reviewer Review Type Date Requested Status
Tim Bentley Pending
Review via email: mp+274649@code.qastaging.launchpad.net

This proposal supersedes a proposal from 2015-10-12.

Description of the change

- Escape item does not work unless “Live” has focus. https://bugs.launchpad.net/openlp/+bug/1294111
- Escape item does not work with Impress/PowerPoint. https://bugs.launchpad.net/openlp/+bug/1497637

Focus issue was fixed by moving the escape item
definitions away from set_live_hot_keys to the same
section where definitions for blank to … are located.

-- Upper text EXPLAINED --
Old definition was under set_live_hot_keys and thus,
 it only works when "Live" has focus.
For an example using escape item won’t work while
Service manager or Library has focus.

Whereas Blank to desktop, theme and black work everywhere
within the program. The live_escape definition was moved to
the same place, thus it works everywhere. Live_escape is not
a new feature, it is the default ESC-key behavior and part
of OpenLP core features.

Impress/PowerPoint issue was fixed by
using script to hide them.

test_slidecontroller.py was modified so it is compatible
with the service_item which is used to determine if
Impress/PowerPoint presentations are running.

New bug:
If PowerPoint/Impress presentation is shut with escape_item,clicking on it @ Live manager won’t
send it back to Live, it must be re-sent there.

This may be fixable by modifying:
def slide_selected(self, start=False):
#Starting from line 1073 of slidecontroller.py

Jenkins
https://ci.openlp.io/job/branch-01-pull/1135/console

https://ci.openlp.io/job/Branch-02-Functional-Tests/1058/console

https://ci.openlp.io/view/Branch/job/Branch-03-Interface-Tests/999/console

https://ci.openlp.io/view/Branch/job/Branch-04a-Windows_Functional_Tests/846/console

https://ci.openlp.io/view/Branch/job/Branch-04b-Windows_Interface_Tests/443/console

https://ci.openlp.io/view/Branch/job/Branch-05a-Code_Analysis/566/console

https://ci.openlp.io/view/Branch/job/Branch-05b-Test_Coverage/437/console

To post a comment you must log in.
Revision history for this message
Tim Bentley (trb143) wrote : Posted in a previous version of this proposal

See below.
Should have a new test not just a fix to an existing one.

review: Needs Fixing
2566. By Azaziah

Added back end part of one comment that was previously deleted.

2567. By Azaziah

Merge to trunk on 1/7/2015.

I noticed this branch also seems to be fixing this bug:
https://bugs.launchpad.net/openlp/+bug/1531691

However, escape item still remains buggy with problems related to resuming
video and presentations.

2568. By Azaziah

Merge to trunk on 7.1.2015
I noticed this branch also seems to fix this bug:
https://bugs.launchpad.net/openlp/+bug/1531691

However, escape item still remains buggy with problems
related to resuming Live from video or presentations.

Unmerged revisions

2568. By Azaziah

Merge to trunk on 7.1.2015
I noticed this branch also seems to fix this bug:
https://bugs.launchpad.net/openlp/+bug/1531691

However, escape item still remains buggy with problems
related to resuming Live from video or presentations.

2567. By Azaziah

Merge to trunk on 1/7/2015.

I noticed this branch also seems to be fixing this bug:
https://bugs.launchpad.net/openlp/+bug/1531691

However, escape item still remains buggy with problems related to resuming
video and presentations.

2566. By Azaziah

Added back end part of one comment that was previously deleted.

2565. By Azaziah

Noticed I made one comment duplicate.

2564. By Azaziah

Made 1 line 3 chars shorter to fit 120.

2563. By Azaziah

Improved test for live_escape + Comments + Fixes

2562. By Azaziah

Edited out one comment, removed one empty line on test.

2561. By Azaziah

Reverted some useless changes I noticed.

2560. By Azaziah

Done some cleanup for proper merging part 7.

2559. By Azaziah

Done some cleanup for proper merging part 6.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.