Bug 459921

Summary: Latte dock shows firefox window shortly if before opening apps with multiple instances
Product: [Unmaintained] lattedock Reporter: kankefengjing
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screen recording of the bug

Description kankefengjing 2022-10-02 17:23:45 UTC
SUMMARY
Latte dock shows firefox windows shortly before opening apps with multiple instances if there are *multiple* firefox over *multiple* virtual desktops; to clarify, this bug *does not* show up when:
    1. There is only one firefox instance
    2. Or there are multiple firefox instances but they are all on the same virtual desktop
    3. Or when we try to open an app with only one instance on the current virtual desktop
    4. This bug does not show up when we use other web browsers, it only happens when there are firefox on multiple virtual desktop

STEPS TO REPRODUCE
1. Open virtual firefox on desktop 1
2. Open another firefox instance on virtual desktop 2
3. Open two instances of an arbitrary app on desktop 1
4. Minimize all windows to show the desktop
5. Click on the icon of the arbitrary app

OBSERVED RESULT
Firefox window shows up shortly before showing previews of the app we clicked.

EXPECTED RESULT
Firefox window does not show up shortly before showing previews of the app we clicked.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux / KDE Plasma 5.25.5
KDE Plasma Version: KDE Plasma 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Comment 1 kankefengjing 2022-10-02 17:28:45 UTC
Created attachment 152547 [details]
Screen recording of the bug