-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Menulet icon (tray icon) does not support cmd+drag in OS X #3347
Comments
I'm not able to move any tray icon on OSX (Yosemite). Are you 100% sure it's a nwjs issue? |
Menumeters does it, as do most built-in Apple menulets like time machine, bluetooth, wifi, sound, date, battery, etc. |
Although I do agree it seems rare for third party apps. Most of mine (aside from Menumeters) do not have this feature. |
I would also like this feature. |
None of my (many) tray apps offer this functionality, not that I think it's a bad idea. Feels like this should be implemented at the OS level! |
This is not a bug, as there is no public API that supports this. Only OS menubar items (like clock or battery) support this using special private API. Menumeters uses private APIs to achieve this behavior, but I don't think nwjs should go this way as it's very unreliable and would prevent any nwjs app to be submitted to the App Store. |
@ePirat interesting! Good to know. I'll close this issue then. Seems like it would still be possible to implement the feature via an unsupported third party plugin/extension for NW.js, but I definitely agree that the App Store complications mean it should not be part of the main project. This might also be worth mentioning in the official docs somewhere. |
Sorry, I hate to reopen but are you 100% sure that's right? I personally don't know ObjC but our company had an app created which accepts files to be dropped onto a tray menu, in fact we've done it twice. Neither of these are in the App Store but I'm not aware of any private API being used to do it. The two answers to this question seem to indicate that it is possible? http://stackoverflow.com/questions/5663887/drag-and-drop-with-nsstatusitem/6493240 |
This bug is not about file drag and drop but about moving the menu item around by holding cmd and dragging it around. |
Whoops! You're right; a thousand apologies! |
I updated the wiki to reflect this conversation. |
Actual:
Expected:
It should allow repositioning the icon rather than triggering the tray menu.
The text was updated successfully, but these errors were encountered: