! 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 !
Allow popup via command and, optionally, at the pointer position.
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Windows Menu

Comments

Description Darren Salt 2006-07-31 20:45:00 CEST
Useful for desktops other than xfdesktop. (I'm currently using it with
rox-filer, itself hacked to allow commands to be executed on pinboard clicks.)
Comment 1 Darren Salt 2006-07-31 20:46:46 CEST
Created attachment 697 
Window list popup binary (xfce4-popup-windowlist) & support code
Comment 2 Jasper Huijsmans editbugs 2006-08-04 08:47:43 CEST
Hmm, we need to change bugzilla to assign the windowlist bugs to me...

Anyway, I'm not sure what to do with this ;-) On one hand it is a cool feature and for some people it will be very useful. On the other hand, I would like the panel plugins to remain as simple as possible and I'm not entirely convinced about the usefulness for the 'average user' of Xfce (whoever that may be ;-).

I probably won't add it before 4.4.0, but I will certainly consider it for a later release.
Comment 3 Mike Massonnet editbugs 2006-08-04 13:04:24 CEST
Maybe all what you are looking for is xfdesktop -windowlist?
Comment 4 Darren Salt 2006-08-04 17:39:32 CEST
"xfdesktop -windowlist" would work were xfdesktop running. But it isn't, and using that command will start it - and it'll open its window, obscuring the pinboard window which I'm using, but it won't open the menu.

xfce4-popup-windowlist is intended to complement xfce4-popup-menu (which should really, IMO, be in xfce4-panel along with the menu popup).
Comment 5 Darren Salt 2006-08-08 00:08:27 CEST
Created attachment 717 
Make the menu respond properly to keypresses.

This patch doesn't exactly depend on the other one, but it's a good idea *with* it since the menu can be opened via a keybinding.

Bindings are:
  Return or Space == button 1,
  either + Shift  == button 2,
  either + Ctrl   == button 3.

(Menu also works as button 3.)
Comment 6 Jasper Huijsmans editbugs 2006-08-15 19:55:18 CEST
Ok, committed in SVN revision 22782. Thanks a lot.

For the keypresses, I connected to key-press-event and call the other functions without idle calls. Seems to work well for me, but it would be nice if you could confirm that.
Comment 7 Darren Salt 2006-08-15 22:09:35 CEST
It's working so far...

It looks like something else has fixed the problem which made those idle calls appear to be necessary; the keybinding which I'm using to pop up the menu seems to be working properly too...
Comment 8 Darren Salt 2006-08-15 22:28:28 CEST
... ah. Looks like my partial reversion of xfwm4 22670 was the cause.

Bug #2104

Reported by:
Darren Salt
Reported on: 2006-07-31
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

Additional information