Menu and shortcut issues (OS X) #38
Comments
We definitely need to create a separate menu for OSX.
I didn't know (sentence case is the convention in my native language). I will fix this. |
I worked on some improvements related to this issue on the develop branch. I don't own a mac so I could not try it. If someone could give my some feedback this would be very helpful.
=> Those should be fixed now.
=> See dedicated issue: #50
Actually they are not: "Close Document" is supposed to clear the content and keep the window open. I also added the "window" menu on OSX and used the Does this fix this issue? |
This issue is now fixed in the develop branch.
Mostly fixed in the develop branch. Looking through the menus I only notice File>Export as HTML>Default template still in sentence case.
Ah, OK. I didn't notice that I guess. I don't know of any apps that bind ⌘W to clearing the current window. Once #32 is fixed, I might suggest reconsidering this.
I don't see the Window menu, just Abricotine, File, Edit, Format, Insert, Table, View, and Help. Right now looking at menu-window.json there doesn't appear to be any items under it, which may be why it isn't displaying (I'm not that familiar with Electron, but this seems like reasonable behavior). |
@nloveladyallen Thanks for your feedback!
It's because you kept the old default template in your config. You need to reset your config to see this change.
Most of the time (at least on Linux and Windows) Ctrl+W closes the current view/document/tab/window. Actually, at the very beginning my idea was to design things as if Abricotine supported tabs, in order to facilitate tab feature development that would happen later. This is why Ctrl+W is closing the doc (kind of closing the current tab). But I admit this isn't really clear and we can reconsider it now.
Ok... I bet this was supposed to be populated automatically with some OSX specific stuff, but obviously this is not the case. Is there any convention about a "Window" menu in OSX? |
OK, yes, that fixed it. Maybe auto-rename "Default template" to "Default Template" for users with pre-existing configs upgrading?
As with anything, it differs slightly from app to app (even Apple's own apps), but here's the general convention (taken from Finder)
Comparing the Atom menu file and the menus in Atom, it seems the the last one is auto-populated, but the others must be put in the file. |
Done: 4f719b9 I think I'm going to give up the Window menu because I don't know OSX enough to develop it. But if someone want to work on it, he/she will be welcome. I'm closing this issue since most fixes are done on the develop branch. @nloveladyallen thanks for your help again. |
Functions like New, Open, Save, etc. that by convention are in the File menu are in the Abricotine menu on OS X.
Functions like About, Preferences, Quit, etc. that by convention are in the application menu are completely scattered: About is in the Help menu (like Windows), Preferences are in the Edit menu, and Quit apparently does not exist.
Preferences is normally tied to ⌘, instead of strikethrough. Quit (which doesn't exist in Abricotine) is normally tied to ⌘Q instead of Close Window. Close Window and Close Document, tied to ⌘Q and ⌘W respectively, appear to be completely identical. (See #32 for more about Close Window/Quit.)
Functions currently use mostly sentence case instead of title case, as is convention on OS X and Windows.
The text was updated successfully, but these errors were encountered: