Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/etc/rc.d/rc.shutdown: unresponsive Save/No Save' dialog #3986

Open
radky2 opened this issue Mar 25, 2023 · 3 comments
Open

/etc/rc.d/rc.shutdown: unresponsive Save/No Save' dialog #3986

radky2 opened this issue Mar 25, 2023 · 3 comments

Comments

@radky2
Copy link

radky2 commented Mar 25, 2023

@dimkr

My apologies if this issue is partially duplicative of prior issues.

In F96 and vanilla dpup there have been reports of an unresponsive 'Save/No Save' dialog box called by /etc/rc.d/rc.shutdown when the savefile is on USB. This has been reported also for the current F96-CE_3 which has the most recent Woof-CE init (commit 4a23874: search all drives for Puppy files and save when using pmedia=cd).

dialog --timeout 60 --yes-label "$(gettext 'SAVE')" --no-label "$(gettext 'NO SAVE')" --yesno "$(gettext 'Press ENTER key to save session... 
Or, press TAB then ENTER to not save session... 
Or, wait 60 seconds to shutdown without saving session...')" 0 0 >/dev/console

See following link:
https://forum.puppylinux.com/viewtopic.php?p=83207#p83207

I and several other users can't replicate this issue, but there are now several reports where this is an issue (for some users) when saving to USB via rc.shutdown.

Your thoughts are welcome.

@dimkr
Copy link
Contributor

dimkr commented Mar 26, 2023

Is the woof-CE tree used to build F96 available anywhere?

@rizalmart
Copy link
Contributor

rizalmart commented Mar 26, 2023

My apologies if this issue is partially duplicative of prior issues.

In F96 and vanilla dpup there have been reports of an unresponsive 'Save/No Save' dialog box called by /etc/rc.d/rc.shutdown when the savefile is on USB. This has been reported also for the current F96-CE_3 which has the most recent Woof-CE init (commit 4a23874: search all drives for Puppy files and save when using pmedia=cd).

dialog --timeout 60 --yes-label "$(gettext 'SAVE')" --no-label "$(gettext 'NO SAVE')" --yesno "$(gettext 'Press ENTER key to save session... 
Or, press TAB then ENTER to not save session... 
Or, wait 60 seconds to shutdown without saving session...')" 0 0 >/dev/console

See following link: https://forum.puppylinux.com/viewtopic.php?p=83207#p83207

I and several other users can't replicate this issue, but there are now several reports where this is an issue (for some users) when saving to USB via rc.shutdown.

Your thoughts are welcome.

I already encountered that problem. My workaround for that (for now) was show dialog whether the user wants to save this session or not right at bootup. I hope there is a better workaround or fix

@radky2
Copy link
Author

radky2 commented Mar 26, 2023

dimkr wrote:
Is the woof-CE tree used to build F96 available anywhere?


@dimkr

The original Woof-CE focal64 build used to generate F96 is the following:
BUILD_FROM_WOOF='testing;5a3dd4873;2022-11-10 15:52:55 +0000'

The current F96 puppy_fossapup64_9.6.sfs is a manual update of the above Woof-CE build, i.e. jwm_config, ptheme, etc are removed and replaced with JWMdesk and companion apps.

The F96 init is generated by the recent Woof-CE commit 4a23874

However, the unresponsive 'Save/No Save' dialog is not unique to F96.

Also reported, in vanilla dpup

https://forum.puppylinux.com/viewtopic.php?p=62654

and @rizalmart has noted the same issue in his builds (presumably QuickPup64 based on the Woof-CE generated ScPup64 21.04).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants