After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666775 - gnote icon isn't showing up on some systray's implementation
gnote icon isn't showing up on some systray's implementation
Status: RESOLVED FIXED
Product: gnote
Classification: Applications
Component: main
0.8.x
Other Linux
: Normal normal
: ---
Assigned To: Aurimas Černius
gnote-maint
: 690671 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-12-23 20:13 UTC by Swift Geek
Modified: 2013-01-08 03:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test program for status icon (385 bytes, text/plain)
2012-03-01 21:02 UTC, Aurimas Černius
  Details
Fix for Xfce4 (2.51 KB, patch)
2012-12-27 20:36 UTC, Aurimas Černius
committed Details | Review

Description Swift Geek 2011-12-23 20:13:49 UTC
gnote icon isn't showing up on some systray's implementation eg. xfce4 (there are more), versions before gnome3 were working fine. I wanna add that the gnote is greatest app for making notes... not only for gnome3 ;).

### spam section ###
So big PLEASE fix that. Think about people which have very small short-term memory... without icon i need to run gnote which takes some time ... and i can forgot something in that time, sometimes very important...  
### end section ###
Comment 1 Hubert Figuiere (:hub) 2011-12-23 20:48:27 UTC
It you run in the shell:

$ gsettings get org.gnome.gnote use-status-icon

what does it says?

It should say "yes" which is the default in master.

If not, do

$ gsettings set org.gnome.gnote use-status-icon false

And please tell us which version you use.
Comment 2 Hubert Figuiere (:hub) 2011-12-23 20:50:50 UTC
(In reply to comment #1)

> $ gsettings set org.gnome.gnote use-status-icon false
> 

Oops I meant run this 

 $ gsettings set org.gnome.gnote use-status-icon true
Comment 3 Swift Geek 2011-12-23 20:55:56 UTC
version 0.8.2
"gsettings get org.gnome.gnote use-status-icon" says "true" ;)
Comment 4 Aurimas Černius 2011-12-26 21:27:03 UTC
In gnote 0.8.2 status icon usage can be toggled in preferences dialog.
What do you get, when you run gnote?
Gnote should either show status icon or open it's main window. What behavior do you experience?
Comment 5 Swift Geek 2011-12-26 21:49:14 UTC
With use-status-icon:
true ) nothing is showing up and no icon in systray
false ) is showing up main window (search) and no icon in systray
Comment 6 Yavod 2012-01-23 19:47:37 UTC
Hi everybody,

I've this same very very very very annoying problem for me since very long time (several months). I use Gnote lots of time during a day.
I waited for new version and bug correction in Debian or Xfce but nothing solved it.

So, what do you need to correct this bug ?

It actually shows that when status icon usage is toggled on :
gsettings get org.gnome.gnote use-status-icon
true

And that when status icon usage is toggled off :
gsettings get org.gnome.gnote use-status-icon
false

Icons status of all others applications I tried have no problem. 

Before last update, I could see icon status of Gnote but I've to change the size of status icon in Xfce each time I opened a user session. And, icon status of Gnote was too big in height into the notification area.
Since last update, totally dissapeared :-(

Ready for tests ?

Gnote : 0.8.2
Debian Wheezy regularly updated
Xfce4 : 4.8.0.3
Comment 7 Aurimas Černius 2012-01-23 21:18:07 UTC
> Icons status of all others applications I tried have no problem. 

Can you list the applications, which work fine?
Does Rhythmbox show tray icon?


> Before last update, I could see icon status of Gnote but I've to change the
> size of status icon in Xfce each time I opened a user session. And, icon status
> of Gnote was too big in height into the notification area.
> Since last update, totally dissapeared :-(
[...]
> Gnote : 0.8.2

Was the update from Gnote 0.7.x to 0.8.x?
In addition to this, it would be nice to try to write Gtk3 application, that shows tray icon.
Comment 8 Yavod 2012-01-24 01:28:11 UTC
Hi,

First, I've changed lots of things in my bugzilla account, regarding to privacy on line. Including my nickname, which was just an email address, awful !!!! :-O

Thanks for your answer Aurimas Černius.

So, I'm gonna answer your questions in order :

In notification area, vlc works fine (qt), Jdownloader works fine. 
It's the only apps I regularly see in the notification area since few months, excepted Gnote after manually modification size of the icon status just after login (and Tomboy before Gnote, Tomboy was bugging too and show exactly the same result).

I've just tested, so Rhythmbox (2.90.1~git20111117.f101562-1) doesn't show anything in the systray.
I've checked if there's no option to disable this in its configuration. But I've found nothing.

Then :
My last update was from gnote 0.8.1-1 -> 0.8.2-1

By last :
I've tried quodlibet (2.3.2-1), nautilus, liferea (1.6.5-1.2+b1), k3b, iceowl, iceweasel, icedove, the gimp, xsane, totem, brasero (3.2.0), but nothing appeared in tray icon, even during they run. 
But, pidgin (2.10.1-1), amule (2.3.1-1), gajim (0.14.4-2) stay in systray even after I manually close them.
Transmission (2.33-2) was in systray during his execution.

If you know an app in Gtk3 you'ld like to specifically being tested, just ask me. I'll do my best. I'll be pleased to test it for you and solve this fu***** bug.

Very pleased to hearing from you.
Yavod
Comment 9 Yavod 2012-02-04 08:44:40 UTC
Hello,

So, does someone have news about this problem ?
Comment 10 Yavod 2012-03-01 01:48:44 UTC
Hello,

Is there someone here ?

If you need more information, I'm ready !! ready to help you in order to solve this bug.

A response would be very rewarding and appreciatied or is it the problem of free software ?? Everybody messes it !!!!!

Hello !!!!!!!!!
Comment 11 Hubert Figuiere (:hub) 2012-03-01 02:18:45 UTC
(In reply to comment #10)
> Hello,
> 
> Is there someone here ?
> 
> If you need more information, I'm ready !! ready to help you in order to solve
> this bug.
> 
> A response would be very rewarding and appreciatied or is it the problem of
> free software ?? Everybody messes it !!!!!
> 
> Hello !!!!!!!!!

You can also contribute a fix. This what is good with Free Software.

People work on their own time.
Comment 12 Aurimas Černius 2012-03-01 21:02:02 UTC
Created attachment 208818 [details]
Test program for status icon

Here's a GTK+ program, that shows a status icon.
Compile it with this command:
gcc -o staticon `pkg-config --cflags gtk+-3.0` staticon.c `pkg-config --libs gtk+-3.0`

Does it work correctly? Is status icon visible?
Comment 13 Swift Geek 2012-03-01 21:08:56 UTC
Yep ;)
It's showing empty window and logut icon in systray. After closing tray icon is destroyed properly.
Consider testing some pop-up menu if possible ;)
Thanks
Comment 14 Mikele 2012-05-06 10:29:47 UTC
I confirm this bug.

When I launch the Gnote application the systray icon is not properly shown:
http://postimage.org/image/7fn50c9az/

If I uncheck and then check the "Use Status Icon" box, the systray icon is properly shown:
http://postimage.org/image/4bpc5rypd/

Gnote 0.8.3 - Ubuntu Precise 12.04 - Linux kernel 3.2.0-24-generic i686 - Gnome Classic
Comment 15 Aurimas Černius 2012-12-23 19:01:42 UTC
*** Bug 690671 has been marked as a duplicate of this bug. ***
Comment 16 laspanding 2012-12-24 10:06:23 UTC
This bug still not fixed ? It have been a long time .
I'm using gnote 3.6.1 under XFCE 4.10 (Xubuntu 12.10), gnote tray icon still not here.
Could anybody confirm the bug?I don't know whether it is too hard to fix it.
Comment 17 egor 2012-12-24 12:14:55 UTC
Mate 1.4.2 with gnote 3.6.1 still have this bug.
Comment 18 Aurimas Černius 2012-12-27 20:36:46 UTC
Created attachment 232298 [details] [review]
Fix for Xfce4

I've installed Xfce on virtual machine and I get this bug.
I looks like status icon is not made visible when created. The only way I can make it visible is to set it invisible and then visible again, and to do this after timeout.
I have tested this patch on Xfce on Fedora 17. Can someone test it elsewhere and on other desktop (such as Mate, which is also reported to be affected).

This patch is for git master, I haven't tried to apply it for 3.6. I'll backport it, if it works.
Comment 19 egor 2012-12-28 17:18:46 UTC
In Mate I have error message with latest git (with or withoit patch):

(gnote:31418): GLib-GIO-ERROR **: Settings schema 'org.gnome.gnote' is not installed

Maybe because I have not gnome installed.
I'll take a look on this later.
Comment 20 Hubert Figuiere (:hub) 2012-12-28 17:48:33 UTC
(In reply to comment #19)
> In Mate I have error message with latest git (with or withoit patch):
> 
> (gnote:31418): GLib-GIO-ERROR **: Settings schema 'org.gnome.gnote' is not
> installed
> 
> Maybe because I have not gnome installed.
> I'll take a look on this later.

You need to have gsettings installed and running. While this is a gnome 3 core technology, it part of glib runtime.
Comment 21 Aurimas Černius 2012-12-30 19:04:46 UTC
I've committed this fix to master and 3.6 branch. Will be in next releases soon.
Thank you for your bug report.
Comment 22 laspanding 2013-01-01 15:10:56 UTC
I confirm the change is also working on MATE. But there is a new problem (only on MATE) - the tray icon take place twice the width as normal icons.(There are blanks beside the icon) 
It's not a big problem but make the looking not so good.
Comment 23 laspanding 2013-01-08 03:44:55 UTC
No, It's not working on MATE when you first enter the system. You have to re-login and then the icon shown up.