Opened 3 months ago

Closed 3 weeks ago

#435 closed enhancement (wontfix)

Add a "Quit" option in popup menu

Reported by: Samir Hawamdeh Owned by:
Priority: normal Milestone: 5.0-2020R1
Component: Window.mui Version: 5.0-nightly build
Severity: minor Keywords:
Cc: OS Platform: All
Blocked By: Blocking:
Release Notes:

Description

Problem

In popup menu there are various usefull options such go to screen, about etc … but along with these we have also a classic iconify option, so i though we probably missing a "quit" one here !
Considering how it currently works also in Window.class gadget when a quit option exist along with iconify, i wonder if a "quit" option could be added also into this MUI popup menu … perhaps just below the "iconify" one

Attachments (1)

popup_menu.jpg (27.6 KB) - added by Samir Hawamdeh 3 months ago.

Download all attachments as: .zip

Change History (5)

Changed 3 months ago by Samir Hawamdeh

Attachment: popup_menu.jpg added

comment:1 Changed 3 months ago by Thore Böckelmann

Do we really need something like this?

The iconify icon in the window title bar can be configured to be invisible. Hence the popup menu entry is an alternative to an otherwise inaccessible function. However, the close gadget of a window is not user configurable and hence a popup menu entry is not required.

comment:2 Changed 3 months ago by Samir Hawamdeh

True, however still some very specific case when this eventuality may happen :-)
For example programs supporting certain kiosk mode implementations and so on

According to the documentation even MUI itself can eventually hide the close gadget by settings false the MUIA_Window_CloseGadget attribute

So yes, while it's certain not a common case, in rare case it might be usefull

comment:3 Changed 3 months ago by Thore Böckelmann

The close gadget exists to close a window, not to quit an application. It might be used for that purpose in the most cases, but not in every case. Sometimes it is required to have a window without a close gadget, i.e. a simple yes/no requester. And such a window usually has no popup menu either.

From my point of view there are enough ways to quit an application already. We don't need yet another one.

comment:4 Changed 3 weeks ago by Thore Böckelmann

Component: undefinedWindow.mui
Milestone: future release5.0-2020R1
Priority: undecidednormal
Resolution: wontfix
Status: newclosed

Having thought about this request once more I finally came to the conclusion not to implement it. Not because it would be hard or complicated to do it, but simply because a the popup menu would be the wrong place for a "Quit" option.

If the application developer decides to omit the close button for certain windows then this decision is done due to a specific purpose/intention and is nothing that is done globally and for each and every window. Furthermore it is the application developer's decision how the application is to be terminated, either by closing a window, by choosing "Quit" from an application specific menu, by clicking a specific button, by what ever.

The (user configurable) popup menu provides access to global GUI related stuff, which must be seen from a bigger scope than just "how can I quit an application". This is stuff that the application developer should not care about how to implement it. It is simply there and has no relevance to how the application itself works.

However, providing a possibility to quit the application DOES interfere with how the application works and hence is something that the application developer itself decides how to implement.

You mention a kiosk mode. In this mode there is window border at all to access, because it would allow to escape from the kiosk mode, which is definitely NOT desireable. Also terminating the application by simply clicking a button or menu entry is not intended in kiosk mode.

Note: See TracTickets for help on using tickets.