View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000303 | QElectroTech | Element Editor | public | 2024-05-07 16:50 | 2024-05-09 12:40 |
Reporter | tmjb | Assigned To | |||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Apple M2 | OS | MacOS | OS Version | 14.4 |
Summary | 0000303: Shortcut to close element editor does not work | ||||
Description | To close an element editor window, you have to use the window decoration. Pressing CMD-W, which should be the default to close a window on any Mac-OS application, does not work at all. There is also no menu entry, to close the element editor. The menu entry could be found in the Window Menu, which is not present, when in the element editor. (Translated by DeepL) Pour fermer une fenêtre de l'éditeur d'éléments, vous devez utiliser la décoration de la fenêtre. L'appui sur CMD-W, qui devrait être l'option par défaut pour fermer une fenêtre dans n'importe quelle application Mac-OS, ne fonctionne pas du tout. Il n'y a pas non plus d'entrée de menu pour fermer l'éditeur d'éléments. L'entrée de menu pourrait se trouver dans le menu Fenêtre, qui n'est pas présent lorsque l'on se trouve dans l'éditeur d'éléments. Traduit avec DeepL.com (version gratuite) | ||||
Steps To Reproduce |
(Translated by DeepL)
| ||||
Tags | No tags attached. | ||||
|
There's no command to close the window in QET, but you can open several symbol editors in a row and close them one after the other with CMD-Q. |
|
https://github.com/qelectrotech/qelectrotech-source-mirror/blob/master/sources/editor/ui/qetelementeditor.cpp#L1000 https://github.com/qelectrotech/qelectrotech-source-mirror/blob/master/sources/editor/ui/qetelementeditor.cpp#L1396 |
|
It makes no sense to add a close menu entry that does exactly the same thing as the quit menu command. |
|
Hello Scorpio, thank you for your ongoing strong support. It is very much appreciated! When in the element editor and you open the menu "qelectrotech", the last item is listed as "Quit qelectrotech CMD-Q" (see attachment). "Quit"ing implies every instance of qelectrotech. (At least to me!) There is a difference, between CMD-Q and CMD-W. As given in the menu, CMD-Q is the shortcut for quit. CMD-W, on the other hand, is the shortcut to close the active window. In some cases, pressing CMD-W on the last window will not only delete the window but also terminate the app. For those apps, this behaviour is similar to CMD-Q. Most apps I use, will only delete the window but do not terminate the app itself. The mnemonic of CMD-Q is "Quit" (as is printed in the menu), whilst CMD-W is the mnemonic of "Window". Please have also a look at the Apple support pages, where CMD-W is described as
As long, as the menu say "Quit qelectrotech" I would be to scared to use CMD-Q. The attached screenshot was taken from an element editor. If it would say "Quit QET Element Editor", that would be at least more precise, as CMD-Q in that case indeed does not terminate QET but only the element editor. Therefore, I think, introducing CMD-W would be the right way to go. Juts for comparisaon, I openend TeXStudio, which is also a third party open source app. The "TeXStudio" menu offers as last item "Quit TeXStudio CMD-Q" and within the "File" menu "Close CMD-W", as is shown in the other attachments. Of course, Quit/CMD-Q deletes all windows of TeXStudio, whilst Close/CMD-W will only delete the active window. |
|
In the same way: It is common practise, that the app preferences are presented unter the name of the app and use the keyboard shortcut CMD-,. This is the case, when QET is set up to use english language, see the first attachment. But when using german or french language, it is found under a different menu and the short cut does not work at all. |
|
Maybe a possible patch: Close this editor |
|
|
|
|
|
Way cool! You're the best! |
|
Thanks, i can close this bug? |
|
Yes please! :+1: |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-05-07 16:50 | tmjb | New Issue | |
2024-05-08 12:21 | scorpio810_mantis | Note Added: 0000702 | |
2024-05-08 12:25 | scorpio810_mantis | Note Added: 0000703 | |
2024-05-08 12:28 | scorpio810_mantis | Note Added: 0000704 | |
2024-05-08 18:01 | tmjb | Note Added: 0000705 | |
2024-05-08 18:01 | tmjb | File Added: Bildschirmfoto 2024-05-08 um 17.28.23.png | |
2024-05-08 18:01 | tmjb | File Added: Bildschirmfoto 2024-05-08 um 17.56.01.png | |
2024-05-08 18:01 | tmjb | File Added: Bildschirmfoto 2024-05-08 um 17.56.09.png | |
2024-05-08 18:12 | tmjb | Note Added: 0000706 | |
2024-05-08 18:12 | tmjb | File Added: Bildschirmfoto 2024-05-08 um 18.04.42.png | |
2024-05-08 18:12 | tmjb | File Added: Bildschirmfoto 2024-05-08 um 18.05.12.png | |
2024-05-08 18:12 | tmjb | File Added: Bildschirmfoto 2024-05-08 um 18.05.23.png | |
2024-05-08 18:12 | tmjb | File Added: Bildschirmfoto 2024-05-08 um 18.06.25.png | |
2024-05-08 18:23 | scorpio810_mantis | Note Added: 0000707 | |
2024-05-08 18:26 | scorpio810_mantis | Note Added: 0000708 | |
2024-05-08 19:53 | scorpio810_mantis | Note Added: 0000709 | |
2024-05-08 19:53 | scorpio810_mantis | File Added: Capture d’écran 2024-05-08 à 19.51.21.png | |
2024-05-08 21:09 | tmjb | Note Added: 0000710 | |
2024-05-09 11:04 | scorpio810_mantis | Note Added: 0000711 | |
2024-05-09 12:27 | tmjb | Note Added: 0000712 | |
2024-05-09 12:40 | scorpio810_mantis | Status | new => resolved |
2024-05-09 12:40 | scorpio810_mantis | Resolution | open => fixed |