Bug 261302

Summary: Open KMix near its tray icon
Product: [Applications] kmix Reporter: Kai Uwe Broulik <KaiUweBroulik2>
Component: generalAssignee: Christian Esken <esken>
Status: RESOLVED FIXED    
Severity: wishlist CC: jwork123nl, kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 258951    
Bug Blocks:    

Description Kai Uwe Broulik 2010-12-26 17:21:00 UTC
Version:           unspecified (using KDE 4.5.90) 
OS:                Linux

As someone thought it was a good idea removing that popup volume slider altogether instead of fixing the thing that you couldn‘t double-click the icon to trigger the kmix window, now kmix instantly appears on clicking its tray icon which is especially annoying if you haven‘t got a scroll wheel (notebook!) which makes chaning volume a hard act (when not using Fn-keys).
But then at least open the KMix window where its tray icon is. So, clicking the KMix tray icon would open its window almost right where your mouse is (like the old popup did). At the moment it opens in the top left corner of the screen if you hadn‘t have it opened already.

Reproducible: Always
Comment 1 Christian Esken 2011-01-02 22:11:37 UTC
Fixed in KDE4.6RC2
Comment 2 Christian Esken 2011-01-03 00:18:15 UTC
Worked 2 hours ago. Now its broken without any code change. :-(
Currently the popup never appears. Instead the main window is shown. Have to check this. :-(((
Comment 3 Christian Esken 2011-01-05 22:17:58 UTC
It works again. No code change. Whats going on here?!?
Comment 4 Kai Uwe Broulik 2011-02-10 12:43:04 UTC
Seems fixed in 4.6, the default overall volume slider appears like it used to in 4.5.x :)
Comment 5 John van Spaandonk 2011-07-19 10:26:37 UTC
this is not fixed. The title is: kmix should open near it's tray icon.
For me that means that (like in windows 7), when you choose to open the
kmix window, it should open just above the tray. Not in the top-left
corner. To make it worse, it also does not remember its location, so it 
ALWAYS opens in the top left corner. GRRR.
Using arch linux. Latest everything,  kde 4.6.5
Comment 6 Kai Uwe Broulik 2011-09-22 23:32:56 UTC
It seems when KMix is using the black-and-white icon, the slider opens fine but when (don’t know the circumstance for this though) it uses the classic colored one then the whole mixer window opens (instead of the master volume thing) and this opens as already said in the top left corner.
Comment 7 Christian Esken 2011-11-02 19:57:18 UTC
I have verified that KMix indeed asks the popup to open near the tray icon. Alas, this request is not honored in certain situations and setups. For example I see in the KMix logs:

kmix(7244) KMixDockWidget::activate: moving to QSize(190, 232) 1340 774

This means: move the KMix window to (190, 232) and with size 1340,774. But it does not work. I am completely clueless, as KMix seems to do everything right and I don't know where the issue could be addressed (Window-manager, Style, Plasma, ...).
Comment 8 Christian Esken 2011-11-02 20:05:47 UTC
Oh, I found something. I will try to fix it in KDE4.7 and for KDE4.8.
Comment 9 Christian Esken 2011-11-02 20:11:20 UTC
SVN commit 1262342 by esken:

CCBUGS: 261302
Open KMix near its tray icon instead of (0,0)#
Backport to 4.7 branch.


 M  +2 -1      kmixdockwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1262342
Comment 10 Christian Esken 2011-11-02 20:17:56 UTC
SVN commit 1262344 by esken:

CCBUGS: 261302
Open KMix near its tray icon instead of (0,0)
Backport to 4.6 branch.


 M  +20 -7     kmixdockwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1262344
Comment 11 Christian Esken 2011-11-02 20:19:42 UTC
Also fixed for KDE4.8. Closing bug.