Skip to content

How to implement tray application icon flashing and new message list in Walis v2 #4752

@victory-zz

Description

@victory-zz

Description

Image Image How to implement the icon flashing of the tray and hover the mouse over the application icon on the tray to display the unread message list, and click on the message to perform the corresponding operation, similar to chat applications such as WeChat and Enterprise WeChat. After receiving a new message, the tray icon flashes and the unread message list is displayed when the mouse hovers over the application

To Reproduce

  1. Simulate sending messages
  2. Tray T chart flashing (taskbar flashing has been implemented)
  3. Hover the mouse over the tray application to display a list of unread messages (as shown in the figure)
Image

Expected behaviour

A practical solution to meet my needs mentioned above

Screenshots

No response

Attempted Fixes

No response

System Details

wails doctor
DEB | Using go webview2loader 
Wails CLI v2.5.1 

 SUCCESS  Done.

# System

OS           | Windows Server 2019 Datacenter
Version      | 1809 (Build: 17763)
ID           | 
Go Version   | go1.19.7
Platform     | windows
Architecture | amd64

# Wails

Version | v2.5.1 

# Dependencies

Dependency | Package Name | Status    | Version      
WebView2   | N/A          | Installed | 142.0.3595.94
Nodejs     | N/A          | Installed | 18.12.1
npm        | N/A          | Installed | 8.19.2
*upx       | N/A          | Available | 
*nsis      | N/A          | Available | 
* - Optional Dependency

# Diagnosis

Your system is ready for Wails development!
Optional package(s) installation details:  
  - upx : Available at https://upx.github.io/
  - nsis : More info at https://wails.io/docs/guides/windows-installer/

 ♥   If Wails is useful to you or your company, please consider sponsoring the project:

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions