! 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 !
keeps opening a new property window
Status:
RESOLVED: FIXED
Priority:
Very Low
Severity:
enhancement
Product:
Xfce4-mixer
Component:
Panel Plugin

Comments

Description Lionel Le Folgoc 2009-08-16 18:04:55 CEST
(bug originally reported at https://bugs.launchpad.net/bugs/379007)

"
I encountered this unexpected behavior on xfce4-mixer applet on XFCE running Ubuntu.

 If you press on the mixer applet icon, a its property window will appear. Doing the same again, will open a NEW property window even when a similar window is already open.

It's not a show stopper, but the behavior is not what I expected: displaying or activating the previous property window instead.
"

I don't know if this is easily feasible though, since the applet dialog is only spawning a given command…

Thanks!
Comment 1 WorBlux 2011-11-23 23:30:14 CET
I looked into doing that, but is seems you require a external dependency or some C code to hook into window manager properties. Came up with a quick workaround

make a script


#!/usr/sh
for line in `pgrep -x xfce4-mixer`
do kill $line -15
done
xfce4-mixer

Then change the panel properties to launch the script instead of the mixer directly. If will kill all running instances of the mixer and then launch one.
Comment 2 Guido Berhoerster 2012-09-28 12:28:57 CEST
Fixed in commit 88fb4e4474e507575b5b7bf6b4486a04cf573e0f.

Bug #5676

Reported by:
Lionel Le Folgoc
Reported on: 2009-08-16
Last modified on: 2012-09-28

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

Additional information