Skip to content
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

Feature request: Tray notifications and taskbar progress #971

Closed
timonsku opened this issue Aug 11, 2013 · 9 comments
Closed

Feature request: Tray notifications and taskbar progress #971

timonsku opened this issue Aug 11, 2013 · 9 comments

Comments

@timonsku
Copy link

Let me first say that I absolutely love this project. Its exactly what I was searching for months and fullfills nearly all my wishes for a HTML5 desktop app runtime. Keep it going!

I did a few projects with node-webkit now and noticed two things that I think would be a great addition.
Firstly, tray notifications. I think all three plattforms support this in some way. In windows its the speech bubbles, programms in the tray can open to notify the user about a certain event (like a software update or finished download). I know debian and ubuntu have also a notification feature and I know that OSX has notifications aswell. In addition to that the taskbar highlighting feature to request user interaction present in all 3 plattforms would be a cool thing aswell. On windows its the orange blinking, on OSX the jumping of the icon and on Linux the shaking of the icon.

Another thing that I find to be usefull is the possiblity to show the progress of an applications task (for example a download) in the taskbar icon. On windows its the progressing coloring of the "bar" on OSX its a little blue bar within the icon and on Ubuntu and the like its a small colored bar aswell (to be seen in the software update tool f.e.).

Those features would enhance the feel of an native application even more in my opinion.

@ChristianWeyer
Copy link

Is this actively being tracked (or even worked on)?

@timonsku
Copy link
Author

Doesn't look like it.
I would have started something but this goes beyond my expertise.

@felixlemaignen
Copy link

I'm also very interested by the progress bar functionality.

@trevorlinton
Copy link

I've implemented a patch for native notifications, and am taking a look at implementing status bar progress.

You can find the patch on my repo at:
trevorlinton@a2f73c4
trevorlinton@c655c21
trevorlinton@b334aaa

Status bar progress open issue:
trueinteractions#70

@timonsku
Copy link
Author

Awesome! I will try that out on windows and ubuntu (if I get node-webkit compiled by myself)

@jtg-gg
Copy link
Member

jtg-gg commented Aug 6, 2014

I've just made a pull request for these feature
#2175

@timonsku
Copy link
Author

timonsku commented Aug 6, 2014

This awesome! Can't wait for the next release. I was planning to make an app in the next weeks that can really use exactly that.

Are text-bubble style notifications also possible? Really not sure if thats actually a windows only thing.

Though the "number thingie" is a really great feature aswell, haven't actually seen that in any windows app so far.

@rogerwang
Copy link
Member

You can try this feature now for the live build: http://dl.node-webkit.org/live-build/

@PTS93 the notification feature is released with 0.10.1 and progress bar is in git and live build.

@timonsku
Copy link
Author

timonsku commented Aug 7, 2014

Oh awesome, I didn't know there were daily builds. I will test those new features thoroughly on all platforms.

On another note, I would like to modify the windows implementation so you could add a optional parameter to the function call for the progress bar status flag. See http://msdn.microsoft.com/en-us/library/windows/desktop/dd391697%28v=vs.85%29.aspx
Or maybe @jtg-gg wants to add that him/herself.
Though is that the "good way" to do it? To have an optional parameter that doesn't do anything on some platforms?
I'm not exactly familiar with native multi-platform development.

E: Just saw in the code that you can even set an RGB value for the bar on OSX, surely good to have that broken out aswell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants