Bug 473106 - Hovering over inactive window's widget which plays sound places the popup into an unfortunate location
Summary: Hovering over inactive window's widget which plays sound places the popup int...
Status: RESOLVED DUPLICATE of bug 463272
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.27.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-07 12:26 UTC by Mike Krutov
Modified: 2023-08-07 13:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
bad popup example (36.43 KB, image/png)
2023-08-07 12:26 UTC, Mike Krutov
Details
good popup example (48.94 KB, image/png)
2023-08-07 12:27 UTC, Mike Krutov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Krutov 2023-08-07 12:26:57 UTC
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)
Comment 1 Mike Krutov 2023-08-07 12:27:14 UTC
Created attachment 160794 [details]
good popup example
Comment 2 Mike Krutov 2023-08-07 12:33:45 UTC
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.
Comment 3 Patrick Silva 2023-08-07 13:06:07 UTC

*** This bug has been marked as a duplicate of bug 463272 ***