! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Add xfce-menu remote popup and shortcut
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Olivier Fourdan editbugs 2006-06-30 08:36:05 CEST
This has been asked on the ML several times, add the ability to popup xfce panel menu using a shortcuts.

The following patch implements a client message in the panel-menu module and a minimalist program that sends that message to the running menu.

There is a drawback, though, since you cannot popup two menus at the same time for obvious keyboard/mouse grab issues, that means that only one panel-menu should be running per screen. The patch also checks for that.

At last, it also include a patch for the shortcut plugin so that the munu can be triggered using ctrl+esc.

That would be great if that could be in beta2.
Comment 1 Olivier Fourdan editbugs 2006-06-30 08:41:57 CEST
Created attachment 635 
Implements a client message in the panel-menu module
Comment 2 Olivier Fourdan editbugs 2006-06-30 08:42:25 CEST
Created attachment 636 
Add the corresponding shortcut
Comment 3 Olivier Fourdan editbugs 2006-06-30 16:19:25 CEST
Created attachment 637 
Implements a client message in the panel-menu module

Better patch, the check for grab was breaking popup with the regular button.
Comment 4 Stefan Stuhr 2006-06-30 20:18:07 CEST
I have two panel menu items in the same panel - will this patch prevent me from continuing this?
Comment 5 Olivier Fourdan editbugs 2006-07-01 06:24:54 CEST
(In reply to comment #4)
> I have two panel menu items in the same panel - will this patch prevent me from
> continuing this?

Yes. 
Comment 6 Olivier Fourdan editbugs 2006-07-01 07:00:44 CEST
Ok, to reduce the impact, I'll commit a slightly different version that doesn't prevent several menus to be used. Just the first one will popup on command.
Comment 7 Brian J. Tarricone (not reading bugmail) 2006-07-11 19:57:29 CEST
I think you committed this, so let's close it.

Bug #1971

Reported by:
Olivier Fourdan
Reported on: 2006-06-30
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
2 users

Version

Attachments

Additional information