WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: sce-update select list auto-selects last entry  (Read 1903 times)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
sce-update select list auto-selects last entry
« on: January 23, 2016, 01:28:44 AM »
Think the sce-update script uses 'select', so maybe this is a feature not a bug and it automatically selects the item if only one choice present. When running  sce-update  and selecting SCEs to check from numbered list, when get down to two items, selecting one automatically also selects the last for update checking. Not a really big deal but not really expected behaviour either. User would expect to see that last remaining SCE still on the list, as they may/not want to select it for update check. Just reporting, if not a big deal then don't worry about it. Thanks.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update select list auto-selects last entry
« Reply #1 on: January 23, 2016, 12:56:57 PM »
This is just how the select utility works, but I have added "quit" as an option to the select lists that are in the sce-* utilities.  That way you can get down to one choice, and the quit option works the same as pressing "q".  Will be in next RC.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: sce-update select list auto-selects last entry
« Reply #2 on: January 24, 2016, 12:15:56 AM »
Works well provided user doesn't think 'quit' is the name of an SCE :)
Thanks...

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: sce-update select list auto-selects last entry
« Reply #3 on: January 24, 2016, 12:18:39 AM »
Sorry spoke too soon, 'quit' shows up twice on the list when running  sce-remove  . Maybe it was just better the old way, don't want you to spend too much time on this. Seeing 'quit' on the list also seems kinda odd, might throw off new user. Not sure, up to you. Thanks.

Actually, quit shows up repeatedly, replacing the items that were selected for removal, so now i have three quits. Definitely liked it better the old way, won't be such a squeaky wheel anymore, sorry :)
« Last Edit: January 24, 2016, 12:21:40 AM by nitram »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update select list auto-selects last entry
« Reply #4 on: January 24, 2016, 12:37:19 AM »
I see that there needs to be tested the existance of 'quit' before echoing another quit to the menu.  Either way, will fix.  Having 'quit' in the menu does allow the last option to not be auto selected.
« Last Edit: January 24, 2016, 12:41:17 AM by Jason W »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update select list auto-selects last entry
« Reply #5 on: January 24, 2016, 12:56:41 AM »
"quit" option is in the menu to allow the last selection to not autoseletct.  But fixed as to multiple quit entries.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: sce-update select list auto-selects last entry
« Reply #6 on: January 24, 2016, 03:31:50 AM »
Appears fixed with latest RC, thanks.