[Gambas-user] Popup menus not popping

Charlie Reinl Karl.Reinl at ...2345...
Tue Feb 2 10:21:46 CET 2010


Am Montag, den 01.02.2010, 17:09 -0600 schrieb Bill Richman:
> Of the three you listed, I use gb.gui only.  If I should be using 
> something else, I'd be glad to try it.  I'm running Ubuntu 8.10 
> ("Intrepid") with Gnome 2.24.1 desktop.  Interestingly, when I try to 
> build a simple project to show the menu problem, the menus work 
> (naturally... X-/) but they only remain visible as long as you've got 
> the right mouse-button down.  Before I did brain-surgery on Gambas, my 
> project used to have a hidden menu which would be activated by the 
> iconview1_mouse.down() /mouse.right combination and it would _stay_ 
> visible until you made a selection.  In the attached demonstration 
> project, the menu appears when you right-click on the iconview, but it 
> vanishes if you release the right button.  Also, if you watch the 
> console, the call to "hiddenmenu.popup" returns instantly, even if you 
> keep the right button down.  Is this the intended behavior?  I'm 
> confused.  (Big surprise there, I know...)
> 
> Bill Richman - Lincoln, Nebraska
> Tilter at windmills, maker of pies in the sky, & curmudgeon
> email: bill at ...2350...  web: www.geektrap.com
> 

Salut Bill,

FMain.IconView1_MouseDown.14: Before popup call
FMain.IconView1_MouseDown.16: after popup call
FMain.action_activate.8: action_activate: key = choice1
FMain.IconView1_MouseDown.14: Before popup call
FMain.IconView1_MouseDown.16: after popup call
FMain.action_activate.8: action_activate: key = choice2

this is the output from you test-project on my Ubuntu 8.04.3  LTS.

I get like expected, the popup menu and can choose an entry.
So I think something wired on your box. 


-- 
Amicalement
Charlie





More information about the User mailing list