Page 1 of 1

Icons do not display properly in system tray

Posted: Sun Jan 24, 2010 7:24 am
by SteveTX
I am calling a 16x16 w/alpha png image to the system tray using the following code:

Code: Select all

put the id of image "xbblue.png" into theID
   set the icon to theID 
It displays the icon, but the alpha does not blend properly, and using larger sizes result in warped images. I have the file available in a .ico format with multiple embedded sizes inside (thanks to Microangelo), why can't i just use the .ico file and have it rendered properly, including alpha? How can that be done?

Re: Icons do not display properly

Posted: Sun Jan 24, 2010 6:37 pm
by SteveTX
This needs to be addressed. It looks like runrev can't handle using icon files for icons (lol). Will need to check to see why PNG is treated like 8-bit instead of 24-bit.

Re: Icons do not display properly in the system tray

Posted: Sat Feb 13, 2010 4:07 am
by SteveTX
Bump. I have been playing around a little bit more. The alpha channel is treated like a Windows TrueColor render. 100% transparent pixels are indeed transparent, but those with alpha (translucent) are displayed in matte. This is true with both 24-bit PNG and TIFFs with transparency. Resized larger images with XP-color mode appear to be downmixed to 256 colors, even under Vista.

Has anyone been able to make a system tray icon that displays properly with edges that blend into the system tray?

Can alphaData translucency be applied to images displayed in the system tray?

Re: Icons do not display properly in system tray

Posted: Sat Feb 13, 2010 12:59 pm
by BvG
"the icon" is still flagged as "unsuported", and your problems are some of the reasons why that is. I don't know if RunRev will ever fix it, but meanwhile, for "seamless" taskbar support, i suggest buying the low cost sstray, by sonsothunder software:

sstray page

Re: Icons do not display properly in system tray

Posted: Sat Feb 13, 2010 11:19 pm
by RRobert
You could also write a small Systray Add-On via AutoIt, Tapir for Mac OS X and Python on Linux.

Robert

Re: Icons do not display properly in system tray

Posted: Sun Dec 05, 2010 11:41 pm
by SteveTX
Using a 3rd party solution for each individual build isn't acceptable and is antithetical to the primary reason for using runrev. It isn't possible to take runrev serious as an application language if it can't properly support absolutely essential interface components like system tray icons. I might be willing to sponsor this bug fix, who should I contact?

Re: Icons do not display properly in system tray

Posted: Mon Dec 06, 2010 11:04 am
by glpunzi
BvG wrote:"the icon" is still flagged as "unsuported", and your problems are some of the reasons why that is. I don't know if RunRev will ever fix it, but meanwhile, for "seamless" taskbar support, i suggest buying the low cost sstray, by sonsothunder software:

sstray page
This makes me think,about runrev will not solve it,because there are a 3rd party (commercial) addon.

Uhmmm

Re: Icons do not display properly in system tray

Posted: Tue Dec 07, 2010 5:31 am
by SteveTX
If it were an addon, that would be fine. The reality is that it is a piece of crap software built for windows 95 and has nothing to do with runrev, and it doesn't work for linux or mac either. Is ANYONE at runrev listening? how can you not have built this essential thing into the codebase yet!?

Re: Icons do not display properly in system tray

Posted: Tue Dec 07, 2010 7:00 am
by paul_gr
Get the doc below and see p11 "Status Icon Support"

http://www.runrev.com/downloads/livecod ... -4_5_2.pdf

This explains what is replacing the unsupported icon and iconMenu...

Paul

Re: Icons do not display properly in system tray

Posted: Tue Dec 07, 2010 12:27 pm
by Klaus
Dear Steve,

1. I have been using MetaCard/Revolution/Livecode for crossplatform development
since 1999 and never have missed this feature. So one could argue if this is in fact essential or not!

2. "sstray" works for "Windows 95" up to "Vista" as the webpage states and calling it "a piece of crap"
right away is definitvely not a sign of a good education!

So please stick with the common netiquette and calm down, OK?


Best from germany

Klaus

Re: Icons do not display properly in system tray

Posted: Tue Dec 07, 2010 8:00 pm
by paul_gr
I understand SteveTX's frustration, and frustration makes us say things we might regret.

I'm primarily a Windows user that considers system tray support extremely important. I have tried SStray before but it failed if the boot drive was not C:\

I've been using Rev since 2006 and have ported a number of apps/utilities to Mac, but getting a professional looking and working trayicon on Windows is one of the issues keeping me on Windows using Visual Studio and C#/C++.

Paul

Re: Icons do not display properly in system tray

Posted: Tue Dec 07, 2010 11:55 pm
by Klaus
Hi Paul,

did you write to Ken Ray, the creator of SSTRAY?
He is a very nice person and will surely help you and may even update his SSTRAY software!

At least worth a try (as always!) :)


Best

Klaus

Re: Icons do not display properly in system tray

Posted: Thu Dec 16, 2010 8:28 pm
by qberty
It's been years since SysTray received an update. Not that it needs one :P

Re: Icons do not display properly in system tray

Posted: Wed Mar 02, 2011 12:00 am
by SteveTX
No, I meant what I said. And statusIcon still doesn't support alpha transparency, only 8bit. Welcome back to Windows 95...