Skip to content

Dialogs switch the stack to an incorrect window #712

Closed
@sitepodmatt

Description

@sitepodmatt

(1) Issue/Bug Description
When using window stacking, popos changes active stack window when a IntelliJ IDEA based product in a stack application launches a dialog (such as Settings)

(2) Steps to reproduce (if you know):

Create a popos stack
Add a Jetbrain's IntelliJ IDEA (could also be a variant such as WebStorm, Rider, CLion, PyCharm, PhpStorm or RubyMine, DataGrip, AppCode or Android Studio)
Add another app such as Firefox.
Do an action that launches a dialog from the IntelliJ such as opening settings (File -> Settings) popos shell needlessly switches the stack to the wrong window.

(3) Expected behavior: No switching of my stack

(4) Distribution (run cat /etc/os-release): Pop!_OS 20.10

(5) Gnome Shell version: 3.38.1

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally):

1.0.0160468824220.10~d1d2b0e

(7) Where was Pop Shell installed from: apt-get install popos-desktop

I found this #407 but it doesn't explain why the stack is changing active window, unless it's expecting the dialog to open as part of the stack and trying to focus it but it isn't there??

Perhaps it should only refocus the stack if a window is actually added to the stack, as the modal appears correctly in all other manners?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions