1080linebooks / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

FIle | Close shortcut does not work #835

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Open a new project
2. In the File main menu see the menu item Close has a shortcut (on Mac) of 
command-W.
3. Press command-W and see that a) the Window menu flashes and b) nothing 
happens -- the file remains open.

What is the expected output? What do you see instead?

What I expect is that the shortcut to close the file would be shift-command-W, 
and that when I press shift-command-W the file will close (that is, will do 
exactly the same as using menu item File > Close).

What version of the product are you using? On what operating system?

0.3.4 on OS X 10.6.7

Original issue reported on code.google.com by d8v3h...@gmail.com on 2 Apr 2011 at 1:52

GoogleCodeExporter commented 9 years ago
In addition to the comments above this feature would be v useful for scripting 
the program to batch process a number of documents.

Original comment by pbartonh...@gmail.com on 16 Jun 2011 at 9:12

GoogleCodeExporter commented 9 years ago

Original comment by Strahinja.Markovic@gmail.com on 21 Jul 2011 at 9:42

GoogleCodeExporter commented 9 years ago
Mac-specific issue. File->Close should be removed from the menu.

Since Sigil uses a single-document GUI model, File->Close doesn't actually mean 
anything, as each instance of Sigil can have one, and only one, document open. 
I'm guessing that, on the Mac, selecting File->Close from the menu has exactly 
the same result as File->New and that the option shouldn't even appear.

I don't see how this would impact scripting GUI commands, since File->Close is 
essentially meaningless and you should be scripting File->Save, File->Open 
instead. 

Original comment by CajK...@gmail.com on 10 Aug 2011 at 3:50

GoogleCodeExporter commented 9 years ago
OS X uses a slightly different document model than Windows. The close button is 
there to close the window it self in case multiple are open without quitting 
Sigil completely. The issue is the Cmd+W short cut is also mapped to the Close 
Tab action.

Original comment by john@nachtimwald.com on 10 Aug 2011 at 10:39

GoogleCodeExporter commented 9 years ago

Original comment by john@nachtimwald.com on 10 Aug 2011 at 11:00