Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Not show baloon message in TrayIcon!
Not show baloon message in TrayIcon! [message #23760] Thu, 19 November 2009 22:03 Go to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Hello All,

Method TrayIcon::Info do not show message for Linux.

For win32 work fine!

I have Ubuntu 9.10

Can anybody help me?
Re: Not show baloon message in TrayIcon! [message #23808 is a reply to message #23760] Mon, 23 November 2009 15:04 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Maybe it will be useful to implement method as in XOSD?
Re: Not show baloon message in TrayIcon! [message #23811 is a reply to message #23808] Mon, 23 November 2009 22:21 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Here:
http://ubuntuforums.org/archive/index.php/t-570702.html
Found an interesting discussion about notify in xlib. but for me it is not sufficient to develop or correct notify message!

Maybe for somebody this discussion will be util!
Re: Not show baloon message in TrayIcon! [message #23817 is a reply to message #23811] Tue, 24 November 2009 14:28 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
tojocky wrote on Mon, 23 November 2009 16:21

Here:
http://ubuntuforums.org/archive/index.php/t-570702.html
Found an interesting discussion about notify in xlib. but for me it is not sufficient to develop or correct notify message!

Maybe for somebody this discussion will be util!



I do not really understand how is that related to our TrayIcon problem...?

Mirek
Re: Not show baloon message in TrayIcon! [message #23821 is a reply to message #23817] Tue, 24 November 2009 21:25 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

luzr wrote on Tue, 24 November 2009 15:28

tojocky wrote on Mon, 23 November 2009 16:21

Here:
http://ubuntuforums.org/archive/index.php/t-570702.html
Found an interesting discussion about notify in xlib. but for me it is not sufficient to develop or correct notify message!

Maybe for somebody this discussion will be util!



I do not really understand how is that related to our TrayIcon problem...?

Mirek


I only Had posted some ideas about notify message!


If For anybody the TrayIcon::Info method is working in linux, please tell me.

With respect, Ion Lupascu.
Re: Not show baloon message in TrayIcon! [message #23822 is a reply to message #23821] Wed, 25 November 2009 00:00 Go to previous messageGo to next message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
tojocky wrote on Tue, 24 November 2009 22:25

luzr wrote on Tue, 24 November 2009 15:28

tojocky wrote on Mon, 23 November 2009 16:21

Here:
http://ubuntuforums.org/archive/index.php/t-570702.html
Found an interesting discussion about notify in xlib. but for me it is not sufficient to develop or correct notify message!

Maybe for somebody this discussion will be util!



I do not really understand how is that related to our TrayIcon problem...?

Mirek


I only Had posted some ideas about notify message!


If For anybody the TrayIcon::Info method is working in linux, please tell me.


With respect, Ion Lupascu.

Hi, I have a patch for it but it's gtk+ only. You have to install libnotify-dev for this to work. Be aware that this patch CtrlLib.upp also(to include libnotify for links).

L.E.: Patch removed, now implemented in TrayIcon

[Updated on: Mon, 25 January 2010 00:06]

Report message to a moderator

Re: Not show baloon message in TrayIcon! [message #23823 is a reply to message #23822] Wed, 25 November 2009 02:37 Go to previous messageGo to next message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
This patch show application icon in notification.
It use fuchsia color for achieving transparency, so no fuchsia in icon. With little changes it may be made to show icon based on context(Info, Warning, Alert).

L.E.: Patch removed. We don't need custom icons, Info, Warning and Alert are enough.

[Updated on: Mon, 25 January 2010 00:08]

Report message to a moderator

Re: Not show baloon message in TrayIcon! [message #23828 is a reply to message #23823] Wed, 25 November 2009 08:14 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Thank you Andrei,

I have installed libnotify!

I will try your patch!
Re: Not show baloon message in TrayIcon! [message #23829 is a reply to message #23823] Wed, 25 November 2009 09:27 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

andrei_natanael wrote on Wed, 25 November 2009 03:37

This patch show application icon in notification.
It use fuchsia color for achieving transparency, so no fuchsia in icon. With little changes it may be made to show icon based on context(Info, Warning, Alert).


Good work Andrei!

It works fine! Thank you!
At Evening I will upload new Google translator version with new future from google and me.
Some new futures are:
1. Now shortcut [Ctrl]+[C]+[C] works in linux(ubuntu) too (thanks to Mirek).
2. With your help GoogleTranslatorDemo will translate in notify window.
3. Add new languages for translate (total 80 languagies)
4. Translit method (non latin chars will write in latin chars).
6. User name and password for proxy.

ADD:
I forgot to add:
I use ubuntu 9.10 with gnome.
Adrei's patch works fine!

[Updated on: Wed, 25 November 2009 09:46]

Report message to a moderator

Re: Not show baloon message in TrayIcon! [message #23831 is a reply to message #23829] Wed, 25 November 2009 10:59 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Good work.

I think I will add this patch to U++, at least for now (but it too needs to adjust .deb packages... Sad

However, I still believe that the trayicon protocol should be able doing that:

http://standards.freedesktop.org/systemtray-spec/systemtray- spec-0.2.html#balloon

Maybe somebody could invest time to investigate.

On related topic, Tip does not work well too. Frankly, there is something weird about trayicons... something related to focus and/or activation and/or z-order. Hopefully I will find time and energy to find out.

Mirek
Re: Not show baloon message in TrayIcon! [message #23834 is a reply to message #23831] Wed, 25 November 2009 14:14 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

luzr wrote on Wed, 25 November 2009 11:59

Good work.

I think I will add this patch to U++, at least for now (but it too needs to adjust .deb packages... Sad

However, I still believe that the trayicon protocol should be able doing that:

http://standards.freedesktop.org/systemtray-spec/systemtray- spec-0.2.html#balloon

Maybe somebody could invest time to investigate.

On related topic, Tip does not work well too. Frankly, there is something weird about trayicons... something related to focus and/or activation and/or z-order. Hopefully I will find time and energy to find out.

Mirek


I found an simple example attached. here is the source address.
full address:
http://www.codase.com/search/call?name=gdk_display_xdisplay
Re: Not show baloon message in TrayIcon! [message #24567 is a reply to message #23834] Sun, 24 January 2010 18:51 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
OK, it is now applied to uppsrc.
Previous Topic: GET KEY STATE for Linux and win32
Next Topic: Please commit with log messages....
Goto Forum:
  


Current Time: Fri Apr 19 15:57:43 CEST 2024

Total time taken to generate the page: 1.15950 seconds