Opened 16 years ago
Closed 14 years ago
#7939 closed Developer Task (Fixed)
JumpPoints don't work when OSD is present
Reported by: | Owned by: | Jim Stichnoth | |
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | MythTV - General | Version: | unknown |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | yes |
Description
JumpPoints don't work properly when some OSD element is displayed while playing a recording or video. More generally, they don't work in a TV playback context when it would require more than one Escape keypress to exit TV playback. For example, pressing Pause and leaving the progress indicator up, or editing the cutlist, or adjusting the timestretch. This is a similar problem to ticket #7322.
This patch fixes the problem by providing a wrapper function around TV::ProcessKeypress() which repeatedly pummels the system with Escape key events until it is beaten into submission and surrenders.
I originally wasn't going to bother with this, until I saw that using MythUI to draw the OSD has been pushed back to 0.24.
Attachments (15)
Change History (36)
by , 16 years ago
Attachment: | tv_jumppoints.patch added |
---|
by , 15 years ago
Attachment: | tv_jumppoints_v2.patch added |
---|
comment:1 by , 15 years ago
by , 15 years ago
Attachment: | tv_jumppoints_v3.patch added |
---|
comment:2 by , 15 years ago
Updated to tv_jumppoints_v3.patch.
- I just noticed that after the libmythui-osd branch merge, jumppoints aren't working during playback while an OSD Dialog is present, such as pressing "m" to bring up the menu. This patch fixes that.
- I reorganized the code to eliminate the wrapper function for TV::ProcessKeypress(), in order to keep the TV class unchanged. I didn't re-indent the old code, to prevent the patch from being dominated by whitespace differences.
by , 15 years ago
Attachment: | tv_jumppoints_v4.patch added |
---|
comment:4 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
by , 15 years ago
Attachment: | tv_jumppoints_v5.patch added |
---|
comment:5 by , 15 years ago
Updated to the v5 patch, which additionally stops executing a playlist when a jumppoint is executed.
by , 15 years ago
Attachment: | tv_jumppoints_v6.patch added |
---|
by , 15 years ago
Attachment: | tv_jumppoints_v7.patch added |
---|
comment:6 by , 15 years ago
The v7 patch makes jump points work correctly when using the new cutlist editor.
follow-up: 8 comment:7 by , 15 years ago
What's the status of this patch? Is it possible to get this checked in on the 0.23.1 fixes branch? This bug is pretty annoying. Thanks!
comment:8 by , 15 years ago
Replying to anonymous:
What's the status of this patch? Is it possible to get this checked in on the 0.23.1 fixes branch? This bug is pretty annoying. Thanks!
Trac is not the place for such comments. Please ask on the mythtv-dev mailing list.
comment:9 by , 15 years ago
Ticket locked: | set |
---|
comment:10 by , 15 years ago
Milestone: | unknown → 0.24 |
---|
Jim - I understand that you're working on a different approach to this issue. I've tentatively set a 0.24 milestone with the more realistic expectation that it will probably get pushed back to 0.25
comment:11 by , 15 years ago
Milestone: | 0.24 → 0.25 |
---|
Bumping to .25 given the proximity of release and likely need to test the forthcoming solution.
by , 15 years ago
Attachment: | tv_jumppoints_v8.patch added |
---|
comment:12 by , 15 years ago
Status: | assigned → accepted |
---|
Jim - v8 of the patch is, as far as I can tell, still the same approach. Are you working on something else?
by , 15 years ago
Attachment: | tv_jumppoints_v9.patch added |
---|
comment:13 by , 15 years ago
For better history tracking, the preferred approach mentioned in comment:10 and comment:12 is http://svn.mythtv.org/trac/ticket/7322#comment:5
See, also, http://www.gossamer-threads.com/lists/mythtv/dev/451835#451835 + http://www.gossamer-threads.com/lists/mythtv/dev/462730#462730 .
comment:14 by , 15 years ago
Oh, and once a proper approach is incorporated, we can remove the hacks currently in MythVideo (#7322) and MythGallery (#8250).
by , 15 years ago
Attachment: | tv_jumppoints_v11.patch added |
---|
Reverted the structure of the patch to use a wrapper function, to simplify the changes.
comment:15 by , 15 years ago
ref https://github.com/MythTV/mythtv/commit/47fbdc86b
Add a couple of additional functions to allow iterating over the screen stacks.
comment:16 by , 14 years ago
Owner: | removed |
---|---|
Status: | accepted → assigned |
comment:17 by , 14 years ago
Owner: | set to |
---|---|
Type: | patch → Developer Task |
comment:18 by , 14 years ago
Milestone: | 0.25 → 0.26 |
---|
comment:19 by , 14 years ago
Make jump points work during playback when the OSD is present.
This works by sending an EXIT_TO_MENU event at the start of jump point execution. Any existing TV playback instance will receive this message and manually shut down playback, including tearing down the OSD.
This is not the fully general solution desired, but it is a big improvement until then.
One issue is that an editing session is not shut down cleanly. That will be addressed in a subsequent commit.
Refs #7939
Branch: master Changeset: 307dac8776d54a5d104da1b8f8c046039ed1d143
comment:20 by , 14 years ago
Exit cutlist edit mode cleanly when executing a jump point.
When the user executes a jump point in the middle of an editing session, make sure the edit session closes cleanly. The work is not explicitly saved, but the auto-save state is retained in the database so that it will be auto-loaded next time the user edits that program.
This makes a slight modification to the MythPlayer class and therefore the binary version is bumped, so be sure to do everything that entails.
Refs #7939.
Branch: master Changeset: 9b5b7b514408f8b25052ee1c0bebc05e676efc1d
comment:21 by , 14 years ago
Milestone: | 0.26 → 0.25 |
---|---|
Resolution: | → Fixed |
Status: | assigned → closed |
Closing as fixed since the original issue in the ticket has been addressed.
See #10407 for the overhaul of the jump point implementation.
by , 14 years ago
Attachment: | tv_jumppoints_0.24.patch added |
---|
Attempted back-port to 0.24. Compiles, but not tested. Combines 307dac8776d54a5d104da1b8f8c046039ed1d143, 343022203cdf6948428187e8f1fb6337ca7b0de0, and the last chunk of 9b5b7b514408f8b25052ee1c0bebc05e676efc1d .
Updated patch to tv_jumppoints_v2.patch after [24623].