Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#13046 closed Bug Report - General (Fixed)

Bugs in mythui settings

Reported by: Peter Bennett Owned by: Peter Bennett
Priority: minor Milestone: 29.0
Component: MythTV - User Interface Library Version:
Severity: medium Keywords:
Cc: John, Pilkington, <J.Pilk@…> Ticket locked: no

Description (last modified by Peter Bennett)

New MythUI settings has a few bugs. Those marked ### are serious in that they prevent essential functionality (show stoppers). I hope to fix at least all the show stoppers for version 29. If anybody sees other bugs please log them here. (F) indicates items for which I have a fix ready for commit.

Setup

  • Master backend Host name can be updated. Should be by check box only. (Fixed 420a1ea)
  • ### Cannot delete capture card, after confrming delete it is still there. (Fixed 420a1ea) Also does not have menu, only D option. (Fixed 420a1ea)
  • After adding capture card name the list is not refreshed.
  • Capture cards prompt for save even if not changed.
  • Cannot create recording profile group. It allows you to key a name but never saves it. (Old system is the same). Change to disallow adding or deleting of recording profile groups. (Fixed 420a1ea)
  • ### Cannot delete recording profile. It does not respond to D, or to M for menu (Fixed 420a1ea)
  • After deleting recording profile the list is not refreshed. (Fixed 420a1ea)
  • After adding new video source name, the list is not refreshed.
  • Video source delete works from menu. D does nothing. (Fixed 420a1ea)
  • ### Create new storage group does not prompt for the group name and creates it with a garbage name. (Fixed 420a1ea)
  • Storage Directory Delete works from D, no menu.

Frontend

  • Initial frontend with no backend running and no config.xml invokes old DB setup page. (Fixed 7d2be78)
  • New startup screen invokes old DB setup page. (Fixed 7d2be78)
  • playback group list not refreshed after update (Already Fixed)
  • playback group changing name creates a new entry. (Already Fixed)
  • ### Cannot delete playback group. It does not respond to D, no menu (Fixed 420a1ea)
  • Channel group: when adding a new one does not show in the list. (Fixed 420a1ea)
  • Channel group does not save channels unlss you first add channel group, exit and go back in. (Fixed 420a1ea)
  • Channel group deletion is weird. (Fixed 420a1ea)
  • New playback group not saved unless you change something in it (Fixed 420a1ea)
  • If you invoke a Jump Point while in setup with some value changed but not yet saved, you are asked whether you want to exit MythTV.

General

  • Some pages prompt to save before exit even if there is no change. Others do not prompt and save anyway. Consistency needed. (Fixed 6869ba6), except for cases specifically noted above.
  • Delete is inconsistent. Sometimes it uses Menu Delete and sometimes it uses Delete button. (Fixed 420a1ea), except for cases specifically noted above.

Suggestions

  • When adding a new entry, eg storage group, it should preferably go in and edit that entry immediately instead of just leaving you in the list.
  • Escape handling is not intuitive, I think it should go back 1 level not exit completely.
  • Maybe there should be a Finish button that will finish and save so as to avoid always prompting for "do you want to save" on exit.

Attachments (1)

20170702_channelscan.patch (12.3 KB ) - added by Peter Bennett 8 years ago.
Channel scan improvement patch.

Download all attachments as: .zip

Change History (40)

comment:1 by Peter Bennett, 8 years ago

Status: newaccepted

comment:2 by Peter Bennett, 8 years ago

Description: modified (diff)

comment:3 by Peter Bennett <pbennett@…>, 8 years ago

In 420a1ea81b512c6c37e71b7d0a168b832c1a9fc9/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:4 by Peter Bennett, 8 years ago

Description: modified (diff)

comment:5 by Peter Bennett <pbennett@…>, 8 years ago

In 6869ba6beca5c8cadf01249453260a272f6e9020/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:6 by Peter Bennett, 8 years ago

Description: modified (diff)

comment:7 by Peter Bennett <pbennett@…>, 8 years ago

In fd8f137e7d1fc2c0b7e761c449e24ccd0a8da1ac/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:8 by Peter Bennett <pbennett@…>, 8 years ago

In 5cd39f1a8fc57f7b37c28fb8f719394963727da7/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:9 by Stuart Auchterlonie <stuarta@…>, 8 years ago

In 67b918c5983a36f7919453148ae2096d231a42af/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:10 by Peter Bennett <pbennett@…>, 8 years ago

In 7d2be781fee67bb2da2bd7c1c16bcf670e2e4e40/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:11 by Peter Bennett, 8 years ago

Description: modified (diff)

comment:12 by Peter Bennett, 8 years ago

Description: modified (diff)

comment:13 by Stuart Auchterlonie, 8 years ago

The way the scan setup pages work is counter intuitive, as you have to go "back" to "accept" the configuration you have setup in order to perform a scan.

You should go forward to configure and start a scan. ie. setup1 -> next -> setup2 -> next -> overview -> start

I also don't know that we need scan configuration and start scanning to be separate items that you have to come "back" to.

comment:14 by Peter Bennett, 8 years ago

Stuart

The attached patch eliminates the extra page with just "scan configuration" and "scan", and adds the Scan to the scan configuration so you just go down on the page to get to scan. Let me know if this is better. I could only do minimal testing since I do not get any DVB reception here.

Peter

by Peter Bennett, 8 years ago

Attachment: 20170702_channelscan.patch added

Channel scan improvement patch.

comment:15 by Stuart Auchterlonie, 8 years ago

Peter,

This patch is a distinct improvement. Lets get it committed.

There's still a few bits i'd like to work on with this.

  • The status bars for scan progress / snr / signal strength

are too wide, the results of the scan don't have enough room to be printed other than "Transpo...", where it used to say something like "transport blah complete, found x services"

I'm tempted to shrink them to a circle (at least snr & sig strength) whose colour represents the state.

Additionally on a big scan (ie. dvb-s2) the most recent ones are off the bottom of the screen. (ie. the results list doesn't scroll up)

  • With the scan existing transports option, the checkbox for

"scan other detected services" has disappeared. Was this intentional?

Regards Stuart

comment:16 by Peter Bennett <pbennett@…>, 8 years ago

In f4f98f97dabd8e93d28cc5c3e2e6f42a92c3f3f9/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

in reply to:  15 comment:17 by Peter Bennett, 8 years ago

Replying to stuarta:

This patch is a distinct improvement. Lets get it committed.

Done

There's still a few bits i'd like to work on with this.

  • The status bars for scan progress / snr / signal strength

are too wide, the results of the scan don't have enough room to be printed other than "Transpo...", where it used to say something like "transport blah complete, found x services"

Yes I noticed that, did you try different themes? I have not looked at the theming of the new setup.

I'm tempted to shrink them to a circle (at least snr & sig strength) whose colour represents the state.

Additionally on a big scan (ie. dvb-s2) the most recent ones are off the bottom of the screen. (ie. the results list doesn't scroll up)

Hopefully these can be fixed with a theme change. I will take a look.

  • With the scan existing transports option, the checkbox for

"scan other detected services" has disappeared. Was this intentional?

I don't know. I will take a look and see where it went.

comment:18 by Peter Bennett <pbennett@…>, 8 years ago

In b543220037b794387f8241c41261dac5175b1990/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

in reply to:  15 comment:19 by Peter Bennett, 8 years ago

Replying to stuarta:

  • The status bars for scan progress / snr / signal strength

are too wide, the results of the scan don't have enough room to be printed other than "Transpo...", where it used to say something like "transport blah complete, found x services"

I Reduced the size of the progress bars and increased the size of the results button list.

I'm tempted to shrink them to a circle (at least snr & sig strength) whose colour represents the state.

I was not tempted :)

Additionally on a big scan (ie. dvb-s2) the most recent ones are off the bottom of the screen. (ie. the results list doesn't scroll up)

I reduced the height of the list so it fits. Now when the scan is complete you can scroll upward with the arrow keys.

  • With the scan existing transports option, the checkbox for

"scan other detected services" has disappeared. Was this intentional?

I don't know what that is. I ran the mythtv-setup version 0.28 and went to Input Connections, [DVB:/dev/dvb/...] , Scan Configuration , Scan for channels If I select Scan Type = "Scan of all existing transports" there are only 2 checkboxes "Ignore signal timeout" and "Search new transports". The same two options are in the new setup page

comment:20 by Peter Bennett, 8 years ago

John Pilkington reports a segfault in transport editor.

https://lists.gt.net/mythtv/dev/609283#609283

I recreated the error and I will look into it.

Last edited 8 years ago by Peter Bennett (previous) (diff)

comment:21 by Peter Bennett, 8 years ago

Cc: John Pilkington <J.Pilk@…> added

comment:22 by Peter Bennett <pbennett@…>, 8 years ago

In 7a1ab5001cb0f9576a913f012fcda773590d6c95/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:23 by Peter Bennett, 8 years ago

Please try the transport editor again and see if it is ok now.

in reply to:  23 comment:24 by Jonatan Lindblad, 8 years ago

Replying to pbennett:

Please try the transport editor again and see if it is ok now.

Thanks, I missed that you could reproduce it and was just starting to look into it.

comment:25 by J.Pilk@…, 8 years ago

Having already done a successful scan with the previous build, I started mythtvsetup and went straight to the Channel Editor > Video source dvb > Edit Transports

Certainly the main page is OK (and I have a Snapshot of it). Deleting and adding Multiplexes (!) looks as if it works too.

Thank you.

comment:26 by J.Pilk@…, 8 years ago

I now have 29pre520 from the 'buntu xenial PPA running on a ~2007 HP nc6320 laptop, 4.8x kernel with HWE stack. dmesg shows some i915 issues but mostly it works.

The initialisation of my USB DVB tuners was hit-and-miss. A twin-af9015 device now seems ok but I haven't had success with a PCTV-290e.

UI comment: The boxes for setting the tuning timeouts are too small for the values I wanted - although the actual values were updated. I was using a 1024x576 window.

in reply to:  26 comment:27 by Peter Bennett, 8 years ago

Replying to J.Pilk@…:

The initialisation of my USB DVB tuners was hit-and-miss. A twin-af9015 device now seems ok but I haven't had success with a PCTV-290e.

I don't think this is a setup issue. Perhaps a driver or hardware problem.

UI comment: The boxes for setting the tuning timeouts are too small for the values I wanted - although the actual values were updated. I was using a 1024x576 window.

This may be an issue with your theme. Using the default theme (MythCenter) and a 1024x576 window, there is space for a tuning timeout of 65000 (the maximum) with room to spare. What theme are you using?

comment:28 by J.Pilk@…, 8 years ago

Agreed. I'll see what happens with another kernel, when convenient. I see the i915 issues are in a /gpu/drm/i915/ branch :-(

It had occurred to me (later) that it might be the theme: MythCenter-wide, slightly patched. I'll investigate. Thanks.

comment:29 by Peter Bennett <pbennett@…>, 8 years ago

In c80482ff3c61ffecc9df5de6cff9f8712fced9ae/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:30 by paulh, 8 years ago

In mythtv-setup pressing Configure in Listing Grabber does nothing.

Error in the log is:- XMLParseBase: Unable to load window 'terminal' from 'standardsetting-ui.xml'

Using MythCenter-wide theme.

comment:31 by Peter Bennett <pbennett@…>, 8 years ago

In bccb8c98eba7d76b7fd206e91114ccfe0b6e2f6d/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:32 by Roger Siddons, 8 years ago

IIRC in 28 settings were only created in the database when the user changed them from their default value. New, unchanged settings wouldn't exist so would use the default value specified by the code reading them, ie GetSetting(name, default)

In 29 any absent setting is created upon entry to a settings screen containing it (it's deemed to have changed because undefined != default value). Simply entering, then exiting the screen will cause the db updates. There is no UI pop-up/indication.

This could lead to subtle behavioural changes, depending solely on whether the user has navigated the setting screens. A new install/new setting will use the GetSetting() default initially. After viewing a related setting screen the default defined by the setting screen will be used instead. Usually the various defaults are identical but that's not guaranteed.

Probably not an issue but worth noting.

comment:33 by J.Pilk@…, 8 years ago

That may explain the difficulty that I have reported, eg in Comment 26 and the user list, in identifying my DVB-T/T2 usb tuners. I have just gone through the process again on a laptop running 'buntu 29-fixes and PCTV-290e. After 'deleting all', the tuner 'type' was shown, but no tuner identifier string. On going round again there didn't seem to be a problem. Earlier efforts on a different box with more tuners, and attempting to define the multirec value for each before going on to the next, provoked my 'Clunky' post on 'users.'

in reply to:  32 comment:34 by Peter Bennett, 8 years ago

Replying to rsiddons:

In 29 any absent setting is created upon entry to a settings screen containing it (it's deemed to have changed because undefined != default value). Simply entering, then exiting the screen will cause the db updates. There is no UI pop-up/indication.

When there is a change, or a deemed change, when you escape or left arrow out of the screen, you get a pop-up asking if you want to save the changes or discard them. Have you found a case where this is not done? Perhaps in that case we should add it.

comment:35 by Jonatan Lindblad <jlindblad@…>, 8 years ago

In 38de2d093157302c57119c183bc544e22b8a29cc/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:36 by Jonatan Lindblad <jlindblad@…>, 8 years ago

In b9dec4387e64eac67b426bd02c9ddb74ad694e09/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:37 by J.Pilk@…, 8 years ago

I just updated my laptop (comment 33) to today's build of 'buntu 29-fixes (v29.0-14-geea73b7) and re-ran mythtv-setup.real. The DVB-T/T2 usb tuner was identified immediately and scans completed as intended. Thank you!

But I did at first forget to set the multirec value, which lurks offscreen in

Input connections > > Interactions between inputs > Max recordings, and defaults to 1

comment:38 by Peter Bennett, 8 years ago

Resolution: Fixed
Status: acceptedclosed

I am closing this ticket, which was a catch-all for bugs in the new settings. If anybody finds another bug please open a specific ticket for the bug.

comment:39 by Peter Bennett, 7 years ago

Owner: changed from Peter Bennett to Peter Bennett
Note: See TracTickets for help on using tickets.