Created attachment 160793 [details] bad popup example SUMMARY Live example (screenshots to follow): If you have Firefox playing YT in background, and want to switch to it using the panel icons, there's a popup which previews your window which pops up when you'd hover mouse over Firefox icon. In normal circumstances, this popup is placed above the panel. However, specifically for inactive windows which play sound in background, it is placed on the bottom of your screen, which, given bad enough timing, makes you click on the sound bar and change volume of your program instead of switching to it. This is a bug which persists for years. STEPS TO REPRODUCE 1. Have Firefox play YT 2. alt tab to another window 3. Hover over firefox icon in your panel 4. Wait for ~0.5-1 seconds. 5. Click OBSERVED RESULT When you click, if timing is bad enough, you click on the sound volume widget. Which lowers the volume (or mutes the application). EXPECTED RESULT The position of the sound volume widget should never be "right below your mouse". SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.27.1 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION see two screenshots attached: bad_popup is what happens when there's audio played by an application, good_popup is what should happen (& what happens to active windows playing audio or background windows not playing audio)
Created attachment 160794 [details] good popup example
additional info: popup spawns in correct position, but than decends under your mouse position. I'll try to make a recording on this. When an application has multiple audio sources or when application's current audio source is paused, bug doesn't reproduce.
*** This bug has been marked as a duplicate of bug 463272 ***