WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
sce-update select list auto-selects last entry
« on: January 22, 2016, 10:28:44 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update select list auto-selects last entry
« Reply #1 on: January 23, 2016, 09:56:57 AM »
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 23, 2016, 09:15:56 PM »
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 23, 2016, 09:18:39 PM »
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 23, 2016, 09:21:40 PM by nitram »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update select list auto-selects last entry
« Reply #4 on: January 23, 2016, 09:37:19 PM »
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 23, 2016, 09:41:17 PM by Jason W »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-update select list auto-selects last entry
« Reply #5 on: January 23, 2016, 09:56:41 PM »
"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, 12:31:50 AM »
Appears fixed with latest RC, thanks.