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

Rework Shutdown #87

Closed
alphamodh0 opened this issue Dec 11, 2021 · 15 comments
Closed

Rework Shutdown #87

alphamodh0 opened this issue Dec 11, 2021 · 15 comments

Comments

@alphamodh0
Copy link

Why put in the System Menu the options: Shut Down, Restart and Log Out if all the options will appear again?

It seems to me that it should be possible to do without confirmation, or to put a single option called "Session", because all three options do the same.
System Menu:
Menu Off
Response of three options:
Screen

@probonopd probonopd changed the title Power Menu. Rework Shutdown Dec 11, 2021
@probonopd probonopd transferred this issue from helloSystem/hello Dec 11, 2021
@probonopd
Copy link
Member

Also, maybe instead of using a separate Shutdown application we should probably do this inside Menu. (But then, how would we bring up the dialog if it is triggered not by the Menu but e.g., by the power button? Maybe a separate application is not the worst idea after all.)

@alphamodh0
Copy link
Author

Maybe we can use the off dialogue only when the button is pressed.

@probonopd
Copy link
Member

We also need to ask the user for confirmation when one of the menu items were chosen. Otherwise it would log out without giving the user a chance to rethink this potentially dangerous action, as all changes to unsaved documents will be lost.

@alphamodh0
Copy link
Author

We also need to ask the user for confirmation when one of the menu items were chosen. Otherwise it would log out without giving the user a chance to rethink this potentially dangerous action, as all changes to unsaved documents will be lost.

Then we must implement the system that have "Guindows" and "MakOS" where they warn if the user has not saved a document or is executing a task that can be destroyed by the restart.

@probonopd
Copy link
Member

I don't know how to implement this.

@kettle-7
Copy link

Have one menu item saying 'leave' or something?

@kettle-7
Copy link

Oh, that, might have to dig into the kde code

@alphamodh0
Copy link
Author

Oh, that, might have to dig into the kde code

Should be there. 👍🏼.

@probonopd
Copy link
Member

probonopd commented Dec 12, 2021

Not sure I'd even want that:

  • The code is would become more complex and all applications (including those running via the Linuxulator) would need to support that protocol (probably via D-Bus, which the Linuxulator currently does not support)
  • It makes it harder to "just shut down now" without further questions asked

@kettle-7
Copy link

afaik it sends a close button signal and checks which windows are still open

@louies0623

This comment was marked as abuse.

@louies0623

This comment was marked as outdated.

@louies0623
Copy link

If the bottom three options lead to the same window, then merge it and change it to "Leave"

@probonopd
Copy link
Member

Works as designed, to make it easier for switchers from the Mac.

@helloSystem helloSystem deleted a comment from louies0623 Aug 1, 2023
@louies0623
Copy link

louies0623 commented Aug 3, 2023

Maybe I used a proprietary screen, it doesn't matter there are open source ones here.
Selection_001

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

4 participants