GNOME Bugzilla – Bug 601908
context menu of titlebar does not show anymore
Last modified: 2010-07-27 19:31:36 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.
Still occurs in gnome-applets 2.29.5. Please check and set status to NEW.
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.
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.
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.
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.
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.
Fixed in git master.