Questions tagged [trayicon]

for questions about creating a tray icon for a software application, customising the behaviour of a tray icon, and adding application control or monitoring to a tray icon. For questions which relate the system notification area or system tray in general, use the notification-area or system-tray tag instead.

About

A tray icon is a small, graphical, interactive icon which remains available in the of a graphical desktop environment such as , , , and , to allow for convenient control, monitoring and/or termination of a running software application.

In desktop environments that support a notification area, the area is easily accessible and always visible, so that tray icons and important notices can be seen immediately. For example, in Windows XP and in KDE 4, the system notification area is nestled alongside the clock on the main taskbar. The system notification area is often known as the system tray, though this is a misnomer.

Tray icons may be permanently visible in the system notification area, or the desktop environment may allow automatic or manual hiding of tray icons which belong to applications which are currently inactive or rarely used.

289 questions
1
vote
1 answer

How can I get a window to look like a frame?

It should look like the little box that appears when you click the Action Center, Power, Network, or Sound icon in the tray. It needs to have that glass border without the title bar. It also needs to be a fixed size and not resizable. Thanks to…
Phoenix Logan
  • 1,238
  • 3
  • 19
  • 31
1
vote
1 answer

How to display some text instead of an icon in the system tray using PyQt or PySide?

I simply want to create a digital clock which displays the current time in the system tray. I can draw an icon using QPainter and set it to the QSystemTrayIcon object, but the icon is always sized to 22x22 pixels. How can I achieve this, I know that…
0x3f
  • 13
  • 4
1
vote
1 answer

Tray Icon issue

i have a program which displays tray icon and popups and balloon when some event occurs. The problem arises when i change the image of the try icon no balloon popups when the event occurs what could i be missing? Abdul khaliq
Abdul Khaliq
  • 2,423
  • 12
  • 40
  • 65
1
vote
1 answer

How do I remove tray icon on application uninstall in C#

I have an application with tray icon. I am using notifyicon to do this job. I have created its setup in Visual Studio which installs and uninstall the application. Problem is when I uninstall the program, its tray icon is not removed and even…
Ali
  • 1,801
  • 6
  • 43
  • 58
0
votes
1 answer

How to show icon file in system tray?

I am adding my application in system tray when I close it. But it is not displaying the icon. When I try to show picture file then it works fine but when I try with an icon file it does not work. How can I display an icon instead picture? Image…
Vinay
  • 347
  • 1
  • 7
  • 16
0
votes
1 answer

Restoring window position

I am developing QT application and I have a problem with restoring window from trayicon. Here is a code connected with tray icon : createActions(); createTrayIcon(); setIcon(); trayIcon->show(); connect( trayIcon, …
Anton Giertli
  • 896
  • 2
  • 10
  • 29
0
votes
1 answer

TrayIcon into JFrame, is possible?

I do not want to reinvent the wheel, so I'd like to know if exist some component of notification, like TrayIcon, that I can set the location. Example: When I click over a button, show the notification beside the button, into my project. Thanks,
Helena
  • 741
  • 1
  • 6
  • 5
0
votes
3 answers

Windows - tray icon to all users?

Is it allowed to have some process's icon to be displayed in all user sessions including terminal/multiple local logons, without spawning another process per each session? I don't need to share any windows between session, just the status icon to be…
kagali-san
  • 2,964
  • 7
  • 48
  • 87
0
votes
1 answer

Find out the background color of Windows system tray to select the tray icon for my app

I'm writing a Windows application that displays its tray icon on the Windows system tray (next to the system clock). The problem is that my icon looks great on some backgrounds and looks horrible on others. One would solve this issue by creating a…
ahmd0
  • 16,633
  • 33
  • 137
  • 233
0
votes
1 answer

Is there a way to configure "Settings -> Personalization -> Taskbar -> Turn system icons on or off" programmatically?

I'd like to configure windows settings using Win32 API. Main purpose is to hide system tray icon from taskbar, such as Network Status icon, Volume icon and Audio Recording icon). I tried using Shell_NotifyIconW(), but it can hide "Users"'s icons not…
AleXelton
  • 767
  • 5
  • 27
0
votes
0 answers

How to mix content with template images in Electron for macos

In https://www.electronjs.org/docs/latest/api/native-image#template-image it mentions that "Template images are not intended to be used as standalone images and are usually mixed with other content to create the desired final appearance." May I know…
0
votes
0 answers

How to make Electron tray menu icon sensitive to macos menu bar colour changes in macos?

I understand that right now we can use nativeTheme.shouldUseDarkColors to tell if the user has changed from light to dark mode and vice versa. However, I understand that the menu bar colour is a function of more than just the mode. For instance, in…
0
votes
0 answers

Tray Icon Visibility Setting Resets After WPF App Update

I'm working on a .NET 6.0 WPF application with a tray icon (WinForms). After updating the app via ms-appinstaller, the tray icon's visibility setting in the Taskbar resets, moving it back to the hidden area. The package info (name, publisher,…
Schurigeln
  • 189
  • 1
  • 7
0
votes
0 answers

Tray Icon Settings reset after updating packaged dotnet application

I am working on a dotnet application in C# (donet 6.0, WPF, targeting win 10 2004 and newer), that is wrapped into a Packaging project and pubished via ms-appinstaller. The application should usually run in background and only show some UI, when the…
0
votes
0 answers

TrayIcon shows on one mac but not on another

I've knocked together a simple PyQT5 app that displays a trayicon. On my mac it works: However on my client's mac it doesn't display. (Alas, I do not have a screenshot). I noticed my client has more items on his tray, so my first thought was that…
P i
  • 29,020
  • 36
  • 159
  • 267