Giter Site home page Giter Site logo

Comments (16)

xavierzwirtz avatar xavierzwirtz commented on June 30, 2024 1

This would be nice on Windows as well. At this point, if you are away from your computer when a message is received there is no indication that you should check Riot for new messages.

from element-desktop.

HammyHavoc avatar HammyHavoc commented on June 30, 2024 1

Is there anybody currently working on this?

from element-desktop.

mvintila avatar mvintila commented on June 30, 2024

I see that the feature is called "notification badges" and it seems to be present. However, this does not work at all on Ubuntu 16.04 with default Unity.

Probably the scope of this bug is just Ubuntu/Unity.

from element-desktop.

TheLastProject avatar TheLastProject commented on June 30, 2024

from element-desktop.

kykc avatar kykc commented on June 30, 2024

I second this, there's no notification of unread messages if I've missed Desktop Notification popup for some reason. No blinking for attention and no unread message count badge on taskbar

  • Platform: Desktop
  • OS: Windows 10
  • Version: 0.9.7 as chrome app in separate window

from element-desktop.

croulibri avatar croulibri commented on June 30, 2024

On Debian 8 with KDE dekstop, there is no notification of unread message either with the Riot desktop app (from I start using Riot in 6 months ago until the current 0.9.10).

The icon of systray is not displaying properly, we can only see the top left corner of the Riot icon, leaving a kind of "blurred pink and green square" as icon :-(

from element-desktop.

t3chguy avatar t3chguy commented on June 30, 2024

@croulibri the broken tray icon is an issue with libappindicator and electron

from element-desktop.

t3chguy avatar t3chguy commented on June 30, 2024

Though with the latest version there is now a notifications count in the tray icon, so I believe this may be able to be closed.

from element-desktop.

TheLastProject avatar TheLastProject commented on June 30, 2024

I'd still much prefer the demand_attention flag. I constantly miss the tray icon thing for Telegram as well, and I'd prefer to go back to completely disabling tray icons.

from element-desktop.

t3chguy avatar t3chguy commented on June 30, 2024

@TheLastProject I do not see a way to do this with Electron, nothing in the docs seems to mention it

from element-desktop.

TheLastProject avatar TheLastProject commented on June 30, 2024

https://github.com/electron/electron/blob/master/docs/tutorial/desktop-environment-integration.md#flash-frame-windows seems to be what you're looking for

from element-desktop.

t3chguy avatar t3chguy commented on June 30, 2024

@TheLastProject That is Windows only and already in use in the latest version.

from element-desktop.

syhe avatar syhe commented on June 30, 2024

@t3chguy mattermost/desktop#200 makes me believe that this is not Windows-only.

from element-desktop.

t3chguy avatar t3chguy commented on June 30, 2024

The previous link no longer includes flash frame (which mentioned it as Windows specific) and it is now in https://github.com/electron/electron/blob/a67c992c3699a60c1bec3e2b23b3033591d8bcf3/docs/api/browser-window.md#winflashframeflag and seems to no longer be windows specific

from element-desktop.

syhe avatar syhe commented on June 30, 2024

Seems like a documentation error.

The page you referenced was copied from the Wiki in 2013 and never included a hint that this function was Windows-only.

The tutorial that was referenced earlier got the flashFrame(true) section in 2016 and said it was Windows-only from the start.

Then there ist electron/electron#10258 from 2017 where someone found out it was not supported under OS X.

I tried searching the Electron / Chromium code bases but could not find the platform specific implementations of flashFrame() and since when they have been there.

It's confusing that there is a PR in Mattermost from July 2016 that says it support Linux, whereas the Tutorial, saying it's Windows-only, was added in October 2016.

I guess one is supposed to just test it and hope it works at this point?

from element-desktop.

Pointedstick avatar Pointedstick commented on June 30, 2024

It would be nice to have this feature because when your unread notification count appears as a badge on the app icon itself, then you could disable the System Tray icon without losing any functionality (once element-hq/element-web#8904 is implemented, that is!).

Telegram now supports this and it's really nice. I have Telegram pinned to my KDE Plasma Task Manager and the pinned app icon itself shows the notification unread count. And I don't have an unnecessary tray icon cluttering up my system tray.
screenshot_20190223_103432

Here's how Telegram does it:

from element-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.