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 601908 - context menu of titlebar does not show anymore
context menu of titlebar does not show anymore
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: stickynotes
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-14 16:38 UTC by Oliver Joos
Modified: 2010-07-27 19:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Only a faint, flat rectange instead of a context menu (2.77 KB, image/png)
2009-11-14 16:38 UTC, Oliver Joos
  Details
Fix missing title-bar menu (2.55 KB, patch)
2010-03-23 17:56 UTC, Neil Bird
none Details | Review

Description Oliver Joos 2009-11-14 16:38:52 UTC
Created attachment 147732 [details]
Only a faint, flat rectange instead of a context menu

Upto 2.26.x a right-click into the titlebar of a note opens a context menu. With 2.28.0 only a faint, flat rectange appears. (see attachment)

Meanwhile we can open at least the individual notes properties by double-click
into the titlebar of the note.
Comment 1 Oliver Joos 2010-03-14 01:59:29 UTC
Still occurs in gnome-applets 2.29.5. Please check and set status to NEW.
Comment 2 Neil Bird 2010-03-21 16:02:35 UTC
I believe this is down to the following null-menu definition in stickynotes.ui:

  <object class="GtkMenu" id="stickynote_menu"/>

There was quite a bit if XMl for that menu in the original glade version, but I wouldn't know what the equivalent was for GtkBuilder.
Comment 3 Neil Bird 2010-03-23 17:56:33 UTC
Created attachment 156897 [details] [review]
Fix missing title-bar menu

This patch puts the stickynotes title-bar menu back into the .ui file.

Works for me.
Comment 4 Oliver Joos 2010-03-31 02:12:57 UTC
Thank you, Neil! Works for me [reporter] too.

If the menu was removed by accident I hope your patch is merged asap! If the removal is part of a "less is more" strategy, then I'd propose to include the menu item "Properties" to the context menu of the text region of each note or to add a properties button next to the lock botton. It is not intuitive to doubleclick the titlebar for properties.
Comment 5 Neil Bird 2010-03-31 07:30:07 UTC
I'll reply here, although it's arguably veering OT for bug comments.

I don't think believe it was deliberate, as the code's still looking for that menu.  I think it was purely accidental, as part of the transition from the libglade XML to the GtkBuilder XML.  It may well be that that conversion was done purely automatically at the time and glitched due to a bug in an older version of the conversion tool.

I [re]converted the older glade file with the current version of the tool and then manually copied across the missing bits that pertained to the menu ino the latest .ui file, and fortunately that was good enough.
Comment 6 Gavin Munday 2010-07-13 20:45:39 UTC
I can confirm this bug in gnome 2.30.2.  In earlier versions right clicking on the title bar of a sticky note would bring up a properties menu.  Now when I right click on the title bar I get a small dark horizontal line (or flat rectangle as described above).

Thank you for the tip that double clicking will bring up the properties menu.

I hope this bug will be fixed because right clicking to bring up a context menu is much more intuitive and consistent.
Comment 7 Callum McKenzie 2010-07-27 19:31:36 UTC
Fixed in git master.